A real-time dashboard built with [Astro](https://astro.build) that visualizes time tracking data from a Bitfreedom code API. Displays time worked across issues, pull requests, and date ranges using interactive ApexCharts.
## Features
- **Summary stats**: Time worked today, this week, and this month
- **Weekly area chart**: Hours tracked over the last 14 days
- **Monthly area chart**: Hours tracked over the last 30 days
- **Issue breakdown**: Horizontal bar chart of time spent by issue
- **PR breakdown**: Horizontal bar chart of time spent by pull request
- **Distribution donut**: Ratio of time on issues vs. pull requests
- **Dark theme**: Purple-accented responsive UI
## Tech Stack
- [Astro](https://astro.build) — static site framework
The `since` parameter defaults to the start of the current week (Monday). The API returns time entries with `created`, `time` (in seconds), and optional `issue` objects containing `id`, `number`, `title`, and `pull_request` flags.
Since `bun build` outputs a static site to `./dist/`, the dashboard can be deployed to any static hosting service (Netlify, Vercel, GitHub Pages, etc.). Make sure the `PUBLIC_ACCESS_TOKEN` environment variable is configured in your hosting platform.