Skip to content

1812z/sleepy

Repository files navigation

sleepy

Are you online/sleeping? / 个人在线状态监测

灵感由 Bilibili UP @ WinMEMZ 而来: site here, 并部分借鉴了代码。

文档尚未完成

如有 Bug / 建议 请 issue

部署

理论上全平台通用, 安装了 Python 即可 (开发环境: Debian linux)

  1. Clone 本仓库 (建议先 Fork)
git clone https://github.com/wyf9/sleepy.git
# or:
git clone git@github.com:wyf9/sleepy.git
  1. 安装依赖
cd sleepy
./install_lib.sh
# or:
.\install_lib.bat
# 也可自行安装: See requirements.txt
  1. 编辑配置文件

先启动一遍程序:

python3 server.py

确定无报错后使用 Ctrl+C 退出, 并编辑目录下生成的 data.json 文件 (实例请查看 example.jsonc)

  1. 启动程序即可
python3 server.py

About

What are you doing?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.5%
  • HTML 9.5%
  • CSS 3.1%
  • Other 0.9%