jerryshell / timebank

⏰ Timebank is a time recording and statistics tool.

Home Page:https://timebank.jerryshell.eu.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timebank

Timebank is a time recording and statistics tool.

Web UI: https://github.com/jerryshell/timebank-web

timebank_core -- Basic structures and functions
timebank_csv  -- Convert csv_data/%Y-%m-%d.csv to timebank.sqlite
timebank_db   -- Database access layer
timebank_http -- HTTP API

HTTP API

See doc/http-api.md

About time_index

Timebank divides 24 hours of the day into 48 time clips, each of which is 30 minutes.

# Python code
time_index = hh * 2 + mm // 30

Example:

00:00-08:30 => (0+0, 16+1) => (0, 17)
10:30-17:00 => (20+1, 34+0) => (20, 34)
18:00-24:00 => (36+0, 48+0) => (36, 48)

How to use restart.sh

You first need to put the timebank_http binary and restart.sh in the same directory.

./restart.sh timebank_http

LICENSE

GNU Affero General Public License v3.0

About

⏰ Timebank is a time recording and statistics tool.

https://timebank.jerryshell.eu.org

License:GNU Affero General Public License v3.0


Languages

Language:Rust 97.3%Language:Shell 2.4%Language:Batchfile 0.3%