NoNormalCreeper / school-countdown

A simple countdown webpage.

Home Page:http://175.178.117.197:5901/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

School Countdown

其实我在2021年暑假就已经用Discord机器人实现了这个功能,但是当时我一直想着弄成QQ机器人,但由于各种原因没有实现,很遗憾。

现在(2022.2),QQ机器人又受到了疼讯的种种限制,所以我只好想到了网页版的这个方法。

Build

1. Build Python environment

  • Download the package and install Python version>=3.8.

  • Run autoinstall.py to install modules required.

2. Run the server

Method 1

python3 main.py

Method 2 (Especially for Windows)

Run run.bat to run the server.

Quite easy, isn't it?

Contribution

Contributions are welcome, including but not limited to improvements, new features, document and code improvements, and problem and error reporting.

Todo

  • Fix known bugs
    • When the date input are illegal, the content displayed will become NaN.
    • Sometimes there are problems with the page layout.
  • More animes
    • Floating animation of each element when entering the page.
    • Fade animation when closing the card of "adjust school start time".
  • Reconstruct
    • Rewrite the whole server logic in JS and run in front-end completely, taking place of Jinja server.

About

A simple countdown webpage.

http://175.178.117.197:5901/

License:GNU General Public License v3.0


Languages

Language:HTML 57.1%Language:JavaScript 23.8%Language:CSS 12.6%Language:Python 6.4%Language:Batchfile 0.0%