Skip to content

XuHg-zjcn/time-manager

Repository files navigation

time-manager


features

force close network by time algh.
face detect when eye close to screen sound and gtk notify warning
CLI and GUI (will add web UI)
plot date-time 2d in terminal UNICODE or pyqtgraph GUI.
sklearn cluster and show name in pyqtgraph plot
auto collect data from linux wtmp, chrome and firefox browser. (will add more)
show current running tasks on terminal
show tasks in QTableView
5 modes select tasks in datetime 2d view
task generator by cron expression
preview task generator

future works

dt2d plot zoom into a day
scatter event plot
curve plot
color between two curve
show image into dt2d plot
write notice, commit each day
calendar and clock view, week block DT2DPlot view
show day and festival on DT2DPlot x-axis
use event instead task browser collector, generate task in other module
browser collector auto filter already records(part finally)
cache cluster result to database, use less cpu.
auto run collect in system crontab
split sqlite TABLE 'task' to 'plans' and 'real_record'
filter tasks
notify to gnome-shell
food expiration date
things place and WMS system
multi-client sync
add web UI
chrome and firefox plugin
auto classify things use NLP


Data Flow Diagram

      +---------- raw data -------[filter]----------+
      |                                             v
+------------+         ./``````````\.        +--------------
| collector  |       ./`  analyzer  `\.      |   recorder
|            | --->  |   threshold    | ---> |
|brow cam mic|       `\.   NLP CV   ./`      | sqlite ffmpeg
+------------+         `\.________./`        +--------------
                          |            ._%          ^
                 warnings |         ._/ commit      |
                          v      _./                v
                     +-------------+         +-------------+
                     |   notify    |         |     UI      |
                     | sound gnome |         |             |
                     | email commd |         | CLI GUI Web |
                     +-------------+         +-------------+

collects

name stat desc
chrome OK visit time
firefox OK visit time
linux wtmp OK boot and shutdown
git no git commit time
IDE no
walk step no Android phone
x(t) signal no any physical quantity

analyzer

name input output stat desc
eyes screen image OK MTCNN Face detection
screen time event no
web time event no
web NLP text no
web image image no

recoder

name dtype desc
sqlite hybrid
ffmpeg video
auto sync

notify

sound, gnome-shell, other device, email, run command.

name time-level stat desc
sound 1s-15s OK
gnome-shell 5s-10min no
other device >5min no
email >1day no
run command 0 no
commit after notify, you can commit.

UI

name CLI GUI Web(NotImp) desc
date-time 2d unicode pyqtgraph image per year
custom plot plt, pg simple use

project folders struct

name desc
collectors collector data from browsers, linux wtmp, cameras ...
analyzers analyzer data from collectors or other analyzers
recorders save data to disk, and auto sync
notify notify to user
UI CLI, GUI, Web...
programs can direct run
my_libs libraries, not include UI
user_data

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages