Skip to content

Repository files navigation

Routine Manager

中文 | English

Routine Manager screenshot

中文

Routine Manager 是一个轻量级桌面日程管理工具。它会在桌面上显示一个置顶悬浮窗,用来查看当前事项、剩余时间、下一项安排和当天日程概览。

功能

  • 置顶悬浮窗展示当前日程状态
  • 当前事项倒计时
  • 下一项安排提示
  • 今日事项概览
  • 内置日程编辑面板
  • 日程保存到本地 schedule.txt
  • 支持无命令行窗口启动

快速启动

推荐双击以下任意文件启动:

start_silent.vbs
RoutineOrbit.pyw

也可以在项目目录执行:

py -3 app.py

日程格式

日程保存在 schedule.txt。格式为先写星期标题,再写具体时间段和事项:

周一:
07:30-08:30 健身
10:00-12:00 Web3
14:00-16:00 Agent开发

保存后,悬浮窗会自动同步更新。

项目结构

app.py                # 桌面悬浮窗和编辑面板
routine_core.py       # 日程解析、当前状态计算、倒计时格式化
schedule.txt          # 本地日程数据
RoutineOrbit.pyw      # 无控制台窗口启动入口
start_silent.vbs      # Windows 静默启动脚本
run.bat               # 命令行启动脚本
test_routine_core.py  # 核心逻辑测试
assets/screenshot.png # 项目截图

测试

py -3 -m pytest -q

English

Routine Manager is a lightweight desktop schedule manager. It shows an always-on-top floating window for the current task, remaining time, next item, and today's routine overview.

Features

  • Always-on-top floating routine window
  • Countdown for the current item
  • Next item preview
  • Today overview
  • Built-in schedule editor
  • Local schedule storage in schedule.txt
  • Silent startup without a command prompt window

Quick Start

Double-click either file to start:

start_silent.vbs
RoutineOrbit.pyw

You can also run it from the project directory:

py -3 app.py

Schedule Format

Schedules are stored in schedule.txt. Start with a weekday header, then add time ranges and item names:

周一:
07:30-08:30 Workout
10:00-12:00 Web3
14:00-16:00 Agent development

After saving, the floating window syncs immediately.

Repository Structure

app.py                # Floating desktop window and editor panel
routine_core.py       # Schedule parsing, active-state calculation, countdown formatting
schedule.txt          # Local schedule data
RoutineOrbit.pyw      # Startup entry without a console window
start_silent.vbs      # Windows silent startup script
run.bat               # Command-line startup script
test_routine_core.py  # Tests for core logic
assets/screenshot.png # Project screenshot

Tests

py -3 -m pytest -q

About

一个轻量级桌面日程管理工具,用悬浮窗展示当前事项、倒计时和下一项安排。

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages