Development
Requirements
- Rust (stable)
- Bun
Build & Run
cd theme-studio
bun install --frozen-lockfile
bun run build
cd ..
cargo run
Tests
bunx --cwd theme-studio @biomejs/biome check .
cargo test
theme-studio/dist is generated locally and in CI. It is not committed.
Project Structure
src/app.rs: state, cache, settings, key handlingsrc/ui.rs: TUI rendering and modalssrc/toggl.rs: API clientsrc/storage.rs: token, cache, quota, configsrc/grouping.rs: grouping and summaries
Local Config
~/.toggl2tsc.json
Contains theme and target hours.