Skip to content

FHYQ-Dong/GLaDOS-singnin-pub

Repository files navigation

GLaDOS-Bot-Action-with-Telegram-Notice

English | 简体中文

A Github Action that can help you sign in GlaDOS automatically with telegram notice.

Thanks @GithubGaoYang for Chinese version.

Usage

Preparation

  1. Apply for a bot on telegram at BotFather and remember its TOKEN:

    • You can follow the guidance provided by BotFather.

    1 2

    • Remember: start a chat with your bot.

    3

  2. Get your telegram CHAT_ID at RawDataBot:

    • Touch the start button and RawDataBot will send you a message, find the from or chat section and then find your id in it.

    4

    • You can delete this bot after finishing configuration.
  3. Get your cookie when you check in GLaDOS:

    • Open the sign in page on GLaDOS.

    5

    • Press F12 on your keyboard (for some laptop users, it may be Fn+F12) to open developer tools.
    • Choose Network tab and press the Sign in button on the website.

    6

    • Click one record and choose Header tab, scroll down and you can see your cookie in Request Header section.
    • Remember: COPY THE VALUE OF YOUR COOKIE WITHOUT ITS NAME!!!

    7

Configuration

  1. Fork this repository (Need a Github account):

    • Remember: make ANY changes in your FORKED REPOSITORY, NOT THE ORIGINAL ONE!!!

    8

  2. Enter the Settings Page of the repository

  3. Enter Secrets and variables -> Actions in Security

9

  1. Add three New Repository Secret: BOT_TOKEN, CHAT_ID and COOKIE

10

11

12

Action

  • You can run this Github Action manually by pressing Run Workflow button on Action page.
  • And the Action will always run at 12:20 p.m. and 18:20 p.m.(GMT+8:00) automatically.

13

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages