Skip to content

Minimalist Go CLI app for logging daily habits, moods and activities — powered by SQLite and built for simplicity. Use it to log your gym sessions, prayers, readings, whatever — straight from the terminal, no cloud required.

Notifications You must be signed in to change notification settings

CBYeuler/trackr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trackr

Trackr is a minimalist command-line application for logging daily activities, moods, habits, or anything else worth tracking. It uses Go and SQLite to store data locally and securely.

Features

  • Add entries with a category and a value
  • Automatically timestamps each log
  • Local SQLite database (no network dependency)
  • Modular code structure for easy extension

Example Usage

go run main.go add mood 7
go run main.go add prayer "Read John 3"
go run main.go add gym "push day"

Project Structure

trackr/
├── cmd/        # Cobra CLI commands
│   ├── add.go
│   └── root.go
├── db/         # SQLite logic
│   └── db.go
├── models/     # Data models
│   └── log.go
├── go.mod
├── main.go
├── README.md

Installation

Clone the repo

git clone https://github.com/CBYeuler/trackr.git
cd trackr

Install dependencies

go mod tidy

Build or run the app

go run main.go add test "test entry"

Note: This project uses github.com/mattn/go-sqlite3, which requires CGO. To run on Windows, install TDM-GCC and ensure CGO_ENABLED=1. Alternatively, switch to modernc.org/sqlite for a CGO-free build.

Planned Features:

trackr list: list logs by category or date

trackr export: export logs to markdown or CSV

Weekly summaries and filtering

TUI/ASCII visualizations

Optional encryption suppor

License This project is open source and available under the MIT License.

About

Minimalist Go CLI app for logging daily habits, moods and activities — powered by SQLite and built for simplicity. Use it to log your gym sessions, prayers, readings, whatever — straight from the terminal, no cloud required.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages