Note
This repository is a port of titech-login, originally created by @Kanagu09.
This is a Google Chrome extension that automatically signs you into the Tokyo Tech Portal.
Please use it at your own risk.
Follow these steps to set up and use this project:
- Clone this repository.
git clone git@github.com:kaiiy/tokyotech-login.git
cd tokyotech-login
- Copy the example configuration file and fill it with your matrix information:
cp config.ts.example config.ts
config.ts:
const USER_DATA = {
ID: "",
MATRIX: [
["", "", "", "", "", "", "", "", "", ""],
["", "", "", "", "", "", "", "", "", ""],
["", "", "", "", "", "", "", "", "", ""],
["", "", "", "", "", "", "", "", "", ""],
["", "", "", "", "", "", "", "", "", ""],
["", "", "", "", "", "", "", "", "", ""],
["", "", "", "", "", "", "", "", "", ""],
],
} as const;
export { USER_DATA };
- Install dependencies and build the project:
yarn install && yarn build
- Install the extension:
- Open Google Chrome.
- Go to
chrome://extensions/
. - Turn on Developer mode.
- Click "LOAD UNPACKED" and select the
tokyotech-login
directory. - When you access
https://portal.nap.gsic.titech.ac.jp
, it will automatically sign you in.