Skip to content

hac-ohmygod0193/E3_HW_Reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E3 HW Reminder

Star My Repo if you think it is useful, THX

Demo Result

Turn annoucement on the website

image

Into Line Notification

image

Source of Inspiration

Too Lazy to login E3 to Check hw announcement lol.

Getting Start

Clone all files to your

git clone https://github.com/hac-ohmygod0193/auto-e3.git
pip install -r requirements.txt

Here you need to paste your own secret key to enable the power of E3 HW Reminder image

Setup Gemini APi secret token

  1. Go to Groq.com to apply your api key.

  2. Folow the instructions.

  3. generate groq api key .

  4. Copy the API key and keep it private. Do not publish or share the API key publicly.

  5. New Repository secrets Name called GROQ_API_KEY and paste the API key to Secret below

Setup Line Notify Token secret token

  1. Follow this website to get the token as Secret
  2. New Repository secrets Name called LINE_NOTIFY_TOKEN and paste the API key to Secret below

Set up E3p cookie secret token

  1. Login to your E3 first
  2. Press F12, Click Network and press F5 to refresh your page.
  3. Then Click the same icon web as below image
  4. Scroll down to the Requests Headers part and find the Cookie as below. image
  5. New Repository secrets Name called LINE_NOTIFY_TOKEN and paste the Cookie you find to Secret below.

Deploy scheduled bot with Github Actions

  1. Create a .github/workflows directory in your repository on GitHub if this directory does not already exist.
  2. In the .github/workflows directory, create a file named actions.yml. For more information, see "Creating new files."
  3. Copy my actions.yml here
image
  1. You can set up your desired running schedule by changing this line - cron: 0 6 * * * # run every day at 6:00. For more crontab settings , see here

Reference

Send LINE Notifications using Python Line Notfiy Bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages