English | 简体中文
A Github Action that can help you sign in GlaDOS automatically with telegram notice.
Thanks @GithubGaoYang for Chinese version.
-
Apply for a bot on telegram at BotFather and remember its
TOKEN
:- You can follow the guidance provided by BotFather.
- Remember: start a chat with your bot.
-
Get your telegram
CHAT_ID
at RawDataBot:- Touch the start button and RawDataBot will send you a message, find the
from
orchat
section and then find yourid
in it.
- You can delete this bot after finishing configuration.
- Touch the start button and RawDataBot will send you a message, find the
-
Get your cookie when you check in GLaDOS:
- Open the sign in page on GLaDOS.
- Press
F12
on your keyboard (for some laptop users, it may beFn
+F12
) to open developer tools. - Choose
Network
tab and press theSign in
button on the website.
- Click one record and choose
Header
tab, scroll down and you can see yourcookie
inRequest Header
section. - Remember: COPY THE VALUE OF YOUR COOKIE WITHOUT ITS NAME!!!
-
Fork this repository (Need a Github account):
- Remember: make ANY changes in your FORKED REPOSITORY, NOT THE ORIGINAL ONE!!!
-
Enter the Settings Page of the repository
-
Enter
Secrets and variables
->Actions
inSecurity
- Add three
New Repository Secret
:BOT_TOKEN
,CHAT_ID
andCOOKIE
- You can run this Github Action manually by pressing
Run Workflow
button onAction
page. - And the Action will always run at 12:20 p.m. and 18:20 p.m.(GMT+8:00) automatically.