Details

Browse code changes, explore activity, and understand when history updates.

What you can do

  • Browse commits by day, week, month, year, or all history.
  • Jump to the latest period or step backward and forward through history.
  • Filter by change type and search commit messages or hashes.
  • Compare matching commits, active periods, and the busiest hour or day.
  • Hover or focus chart bars for counts, and select them to drill down from a week, month, year, or all-history view.
  • See all-history insights above the filters: commits per active day, the busiest day, the longest streak, the share made after midnight, a 12-month change-type mix, the most-touched areas, and a weekday-by-time rhythm.
  • Start with 10 timeline entries, load 10 more at a time, and share the current filters through the page URL.

What to know

  • History is uploaded from Git after checks pass on pushes to main.
  • History and API responses use five-minute caches.
  • Expired data refreshes when requested, so cached responses can temporarily lag behind an import.
  • The homepage total and explorer can temporarily differ because their caches refresh separately.
  • Failed refreshes can retain older data; failed fresh API reads return an error that can be retried.

Reading the activity

  • Dates and hourly buckets use Jakarta time (WIB).
  • Daily views show active hours and the peak hour; wider ranges show active days and the busiest day.
  • Charts and summary totals include every matching commit, even when only 10 timeline entries are visible.
  • Counts describe recorded commits, not the size or effort of each change.
  • Messages without a recognized commit prefix appear under Other.
  • History covers the whole monorepo: HaritsSR, Harimaki (formerly Haris Lab, from May 2021), and shared packages. Tool histories show only HaritsSR commits.
  • Insights ignore the filters. Areas come from the scope in subjects like feat(Timer), so commits without one are not counted, and differences in capitalization are merged.

How it works

Git history is imported into a separate database, then cached on the server. Your selected filters determine the summaries, chart, and timeline; changing them updates the URL and requests matching results.

Commit history data flow diagram
Rendering diagram…

Storage and access

  • A separate Turso database stores Git hashes, author dates, commit subjects, and the app each commit belongs to.
  • Pages only read history; production imports add, update, and remove records to match Git.
  • The history query loads all records before filtering, while the homepage count has its own query.
  • Runtime reads use Turso without a local JSON fallback.

Cache layers

Commit cache layers and freshness
LayerFresh forStores
Home count24 hoursOne total, cached separately from the history.
Shared history24 hoursCommit records used by the explorer, reviews, tool changelogs, and API.
Browser and CDN5 minutesThe response for each filtered API URL.

Server data is shared across the explorer, dated reviews, tool changelogs, and API. Browser and CDN hits can delay a request reaching the server cache.

Import and recovery

  • Each Vercel production build imports Git history before rendering, so a deploy of main publishes its commits. The build needs a full clone (VERCEL_DEEP_CLONEset to true); if the import fails, the deploy continues with the stored history.
  • Use bun run sync:commits --dry-run to validate without database access.
  • Production imports also remove records for commits that rewritten history dropped; local imports keep them unless run with --prune. Each deployment caches history separately, so a new deploy shows the fresh import, while a local import appears within 24 hours.
  • API responses allow another five minutes of stale data during revalidation; failed fresh reads return an uncached 503.
  • The explorer debounces filter changes and supports Back and Forward without polling on a timer.