A tool that helps me manage my time tracking records.
It is specific to tools that are used at Hanaboso however there is some interesting logic that can be used elsewhere (like an algorithm for counting working hours in any given year).
- Renders a big table with all the tracking records and some stats on top of that (like how many hours one has already done this year).
- A tool for copying timesheets from Jira (with plugin Clockwork) to Hanaboso Timesheeter.
- Simple http server on Deno.
- uhtml-ssr library for templating based on tagged tamplate literals
- Temporal polyfill for playing with dates
- Running on Deno Deploy.
Install Deno.
Before running locally create a file params.json
based on params.json.sample
with your values.
You can perform a dry run by adding --dry-run
flag:
deno run -A --unstable local.ts --dry-run
A server can be started (with autoreload)
make dev
Or deploy it to Deno Deploy.
Its main route expects a POST request with the same object that is in
params.json.sample
.
This request can be called e.g. every day from a cron job.
Its main route expects a GET request which will return a page full of data from Timesheeter. Expects credentials from HTTP Basic auth.