8000 GitHub - rossvz/wrap: Personal habit tracker with analytics · GitHub
[go: up one dir, main page]

Skip to content
rossvzPublic

About

Personal habit tracker with analytics

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Habit Tracker (Rails)

A Hotwire-first habit tracker focused on time spent (duration), not just completion.

Features

  • Habits: CRUD for habits (name, description, active, color)
  • Daily logs: one log per habit per day, tracking duration_minutes (+ optional notes)
  • Dashboard analytics: totals for today / week / month / all-time, plus per-habit rollups
  • UI: neobrutalist styling (bold colors, thick borders, big shadows)

Requirements

  • Ruby (Rails 8.1)
  • SQLite

Setup

bundle install
bin/rails db:prepare

Run (development)

bin/dev

Then visit http://localhost:3000.

Test

bin/rails test

Production

The app runs at wrap.rossvz.com on the home Linux server through Cloudflare Tunnel. The server checks for tested main commits daily at 4 AM Eastern. Run bin/deploy-latest to check and deploy sooner. See the deployment guide for logs, manual deployment, and backups.

Notes

  • Logs are unique per (habit_id, logged_on) so logging the same day will update that day’s entry.

About

Personal habit tracker with analytics

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0