{"id":29458355,"url":"https://github.com/nmdra/booktrack-cli","last_synced_at":"2025-09-10T16:36:55.626Z","repository":{"id":303917804,"uuid":"1015453750","full_name":"nmdra/Booktrack-CLI","owner":"nmdra","description":"A simple command-line tool to track your books using SQLite and Go.","archived":false,"fork":false,"pushed_at":"2025-07-10T05:06:48.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-10T14:18:51.407Z","etag":null,"topics":["cobra-cli","golang","goreleaser","sqlc","sqlite3"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nmdra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T14:21:48.000Z","updated_at":"2025-07-10T05:05:45.000Z","dependencies_parsed_at":"2025-07-10T14:19:18.905Z","dependency_job_id":"4ec56ce0-c325-43de-8095-3fc83661c7a7","html_url":"https://github.com/nmdra/Booktrack-CLI","commit_stats":null,"previous_names":["nmdra/booktrack-cli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nmdra/Booktrack-CLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmdra%2FBooktrack-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmdra%2FBooktrack-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmdra%2FBooktrack-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmdra%2FBooktrack-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmdra","download_url":"https://codeload.github.com/nmdra/Booktrack-CLI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmdra%2FBooktrack-CLI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265222996,"owners_count":23730327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cobra-cli","golang","goreleaser","sqlc","sqlite3"],"created_at":"2025-07-13T23:37:17.445Z","updated_at":"2025-07-13T23:37:30.330Z","avatar_url":"https://github.com/nmdra.png","language":"Go","readme":"# Booktrack CLI\n\nA simple command-line tool to track your books using SQLite and Go.\n\n---\n\n## Features\n\n- Add books with title, author, and optional year\n- Stores data in a local SQLite database (`books.db`)\n- Built using Go, Cobra (CLI), and sqlc (type-safe SQL)\n\n---\n\n## Installation\n\n```bash\ngit clone https://github.com/nmdra/Booktrack-CLI.git\ncd Booktrack-CLI\nmake build\n````\nThis generates the binary at `./bin/booktrack-cli`.\n\n\n## 🛠️ Usage\n\n### 1. Initialize the database (run once)\n\n```bash\n./bin/booktrack-cli initdb\n```\n\nThis creates the required table in `books.db`.\n\n---\n\n### 2. Add a new book\n\n```bash\n./bin/booktrack-cli add --title \"Morning Star\" --author \"Pierce Brown\" --year 2016\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmdra%2Fbooktrack-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmdra%2Fbooktrack-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmdra%2Fbooktrack-cli/lists"}