Useful Tools (repository) is a collection of small tools that I built for my own day-to-day use.
Each tool is an independent project in its own folder, with its own stack, its own README and its own tests.
There is no shared build system: you run each tool from inside its own folder.
Time Tracker App
An offline-first personal time tracker that runs only locally. All the data is in one SQLite file. It has a live timer, Today, Week and Month views, period reports with charts and a written summary, and exports to HTML, Markdown, PDF and CSV, plus a raw database backup. FastAPI, SQLite and React.
Project page: Time Tracker App
Code: time-tracker-app
Webpage Time Limiter
A userscript that tracks the time I spend on time-sink sites and nudges me past a daily limit. Each site has its own limit. The counter for the current site is always visible: dim below half of the limit, more opaque as it climbs. It keeps 14 days of per-site totals for the trend. It targets Tampermonkey on Chrome and Userscripts.app on Safari. Plain JavaScript, plus a small Tkinter settings app.
Project page: Webpage Time Limiter
Code: webpage-time-tracker-app
SQL to draw.io
Turns a PostgreSQL DDL dump into a draw.io entity-relationship diagram. It parses the CREATE TABLE statements and the foreign keys with sqlglot. Each table becomes a real draw.io table shape, and each foreign key becomes a crow’s-foot edge anchored to the column rows, not only to the table boxes.
Code: tool-sql-to-drawio
HTML to EPUB and PDF to EPUB
Two converters that share one internal model, one writer and one validator contract. html2epub converts clean HTML into an EPUB 3: it sanitizes the markup, splits chapters at the headings and builds the table of contents. pdf2epub extracts the text and the structure of a machine-readable PDF. Both are deterministic: the same input and configuration always give a byte-identical EPUB. They are text-first, not visual-fidelity converters. There is also a browser extension for one-click page to EPUB.
Code: tool-html-to-epub and tool-pdf-to-epub