{"id":51457014,"url":"https://github.com/hyprlab/garage-logbook","last_synced_at":"2026-07-06T01:02:55.211Z","repository":{"id":349325077,"uuid":"1201894689","full_name":"hyprlab/garage-logbook","owner":"hyprlab","description":"A self-hosted car maintenance tracker. Built with Claude Code","archived":false,"fork":false,"pushed_at":"2026-07-04T14:12:30.000Z","size":628,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-04T15:27:50.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://viibeware.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyprlab.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-05T10:05:17.000Z","updated_at":"2026-07-04T14:12:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hyprlab/garage-logbook","commit_stats":null,"previous_names":["viibeware/garage-logbook","hyprlab/garage-logbook"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/hyprlab/garage-logbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprlab%2Fgarage-logbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprlab%2Fgarage-logbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprlab%2Fgarage-logbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprlab%2Fgarage-logbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyprlab","download_url":"https://codeload.github.com/hyprlab/garage-logbook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprlab%2Fgarage-logbook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35174071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-07-06T01:02:52.579Z","updated_at":"2026-07-06T01:02:55.074Z","avatar_url":"https://github.com/hyprlab.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Garage Logbook\n\nGarage Logbook tracks your vehicle's service history from an elegantly simple, self-hosted web interface. It has image and document upload support (think pictures of repairs or receipt PDFs), role-based authentication, CSV import and export for existing maintenance records, and a performant dark-mode interface running in a Docker container for easy deployment.\n\nBuilt and maintained by [Hyprlab](https://hyprlab.co)\n\n---\n\n## Features\n\n- **Multi-User Support** — Each user has their own garage with isolated vehicles and maintenance records\n- **Vehicle Management** — Add, edit, and delete vehicles with year, make, model, VIN, purchase date, and photo\n- **Maintenance Records** — Log repairs, maintenance, upgrades, and inspections with date, mileage, vendor, cost, notes, and photo galleries\n- **PDF Receipts** — Upload PDF documents (receipts, invoices, estimates) to any maintenance record\n- **Dashboard** — At-a-glance stats for total vehicles, service records, and money spent with configurable time ranges\n- **Search \u0026 Sort** — Live search across vehicles and maintenance records with multiple sort options\n- **CSV Import \u0026 Export** — Import maintenance records from CSV files with field mapping and dry-run preview, or export all records for any vehicle\n- **Duplicate Records** — Quickly duplicate an existing maintenance record as a starting point\n- **Role-Based Access** — Two user roles with enforced permissions:\n  - **Admin** — Full access to all users' data, user management, and all features\n  - **Editor** — Configurable per-user permissions (see below)\n- **Granular Permissions** — Admins can toggle individual capabilities for each editor:\n  - Add / Edit / Delete vehicles\n  - Add / Edit / Delete maintenance records\n  - Import CSV / Export CSV\n- **First-Login Security** — Default admin account is forced to change password on first login\n- **Image Gallery** — Upload multiple photos per maintenance record with a lightbox viewer\n- **Light \u0026 Dark Theme** — Toggle between light and dark mode in Settings, saved per-user\n- **Per-User Settings** — Each user can customize their dashboard preferences and theme\n- **Mobile Responsive** — Works on desktop, tablet, and mobile\n- **Docker Ready** — Ships as a Docker image with persistent volume storage\n\n---\n\n## Requirements\n\n- Docker and Docker Compose\n\nThat's it. Everything else is handled by the container.\n\n---\n\n## Quick Start\n\n### 1. Create a project directory\n\n```bash\nmkdir ~/garage-logbook \u0026\u0026 cd ~/garage-logbook\n```\n\n### 2. Download the compose file and environment template\n\n```bash\ncurl -O https://raw.githubusercontent.com/hyprlab/garage-logbook/main/docker-compose.yml\ncurl -O https://raw.githubusercontent.com/hyprlab/garage-logbook/main/.env.example\n```\n\nOr create the files manually:\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003edocker-compose.yml\u003c/strong\u003e\u003c/summary\u003e\n\n```yaml\nservices:\n  garage-logbook:\n    image: hyprlab/garage-logbook:latest\n    container_name: garage-logbook\n    restart: unless-stopped\n    ports:\n      - \"${APP_PORT:-5000}:5000\"\n    volumes:\n      - garage-data:/data\n    env_file:\n      - .env\n    healthcheck:\n      test: [\"CMD\", \"python\", \"-c\", \"import urllib.request; urllib.request.urlopen('http://localhost:5000/login')\"]\n      interval: 30s\n      timeout: 5s\n      retries: 3\n      start_period: 10s\n\nvolumes:\n  garage-data:\n    driver: local\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e.env.example\u003c/strong\u003e\u003c/summary\u003e\n\n```bash\n# Garage Logbook — Environment Configuration\n# Copy this file to .env and update the values below.\n#\n#   cp .env.example .env\n#\n\n# ─── REQUIRED ──────────────────────────────────────────\n# Session encryption key. Generate one with:\n#   python3 -c \"import secrets; print(secrets.token_hex(32))\"\n# or:\n#   openssl rand -hex 32\nSECRET_KEY=CHANGE-ME-replace-with-a-random-string\n\n# ─── OPTIONAL ──────────────────────────────────────────\n# Port the app is accessible on (default: 5000)\nAPP_PORT=5000\n\n# Database path inside the container (typically no need to change)\nDATABASE_PATH=/data/garage_logbook.db\n\n# Upload folder inside the container (typically no need to change)\nUPLOAD_FOLDER=/data/uploads\n```\n\n\u003c/details\u003e\n\n### 3. Create your environment file\n\n```bash\ncp .env.example .env\n```\n\n### 4. Generate a secret key and update the .env file\n\nGenerate a key:\n\n```bash\npython3 -c \"import secrets; print(secrets.token_hex(32))\"\n```\n\nOpen `.env` in your editor and replace the `SECRET_KEY` placeholder with the generated value:\n\n```\nSECRET_KEY=your-generated-key-here\n```\n\nYou can also change the port here if `5000` is already in use:\n\n```\nAPP_PORT=8080\n```\n\n### 5. Start the application\n\n```bash\ndocker compose up -d\n```\n\n### 6. Log in\n\nOpen your browser to `http://localhost:5000` (or whatever port you configured).\n\n| | |\n|---|---|\n| **Username** | `admin` |\n| **Password** | `admin` |\n\nYou will be prompted to set a new password on first login.\n\n---\n\n## Updating\n\nWhen a new version is released:\n\n```bash\ndocker compose pull\ndocker compose up -d\n```\n\nYour data is stored in a Docker volume and is not affected by updates. Your `.env` file remains untouched.\n\n---\n\n## Configuration\n\nAll configuration is managed through the `.env` file. The `.env.example` file documents every available option.\n\n| Variable | Required | Description | Default |\n|---|---|---|---|\n| `SECRET_KEY` | **Yes** | Flask session encryption key | — |\n| `APP_PORT` | No | Port the app is accessible on | `5000` |\n| `DATABASE_PATH` | No | Database path inside the container | `/data/garage_logbook.db` |\n| `UPLOAD_FOLDER` | No | Upload path inside the container | `/data/uploads` |\n\n\u003e **Note:** The `.env` file contains your secret key and should not be committed to version control or shared publicly.\n\n### Running behind a reverse proxy\n\nIf you're running behind Nginx, Caddy, Nginx Proxy Manager, or similar, point the proxy to the port specified in `APP_PORT` (default `5000`). No additional configuration is needed in the app itself.\n\n---\n\n## Multi-User Support\n\nEach user has their own isolated garage. Vehicles and maintenance records created by one user are not visible to other users.\n\n**Admin users** can see all vehicles and records across every user, with owner labels displayed on each car card. This makes it easy to manage a shared instance where multiple household members or team members each track their own vehicles.\n\nTo create additional users, go to **Settings → Users → Add User** (admin only).\n\n---\n\n## User Roles \u0026 Permissions\n\nGarage Logbook uses two roles. The viewer role has been removed in favor of granular permission toggles on the editor role.\n\n### Admin\n\nFull, unrestricted access to everything: all vehicles and records across all users, user management, import, export, and all CRUD operations.\n\n### Editor\n\nAccess is limited to the user's own vehicles and records. Admins can configure exactly what each editor is allowed to do by toggling individual permissions:\n\n| Permission | Default | Description |\n|---|---|---|\n| Add vehicles | ✓ | Create new vehicles |\n| Edit vehicles | ✓ | Modify existing vehicles |\n| Delete vehicles | ✓ | Remove vehicles and all associated records |\n| Add records | ✓ | Create maintenance records |\n| Edit records | ✓ | Modify existing records |\n| Delete records | ✓ | Remove maintenance records |\n| Import CSV | — | Import records from CSV files |\n| Export CSV | ✓ | Export records to CSV files |\n\nPermissions are configured per-user from **Settings → Users → Edit**.\n\n---\n\n## Backup \u0026 Restore\n\n### Backup\n\n```bash\ndocker compose stop\ndocker run --rm \\\n  -v garage-logbook_garage-data:/data \\\n  -v $(pwd):/backup \\\n  alpine tar czf /backup/garage-logbook-backup.tar.gz -C /data .\ndocker compose up -d\n```\n\nThis creates `garage-logbook-backup.tar.gz` in your current directory containing the database and all uploaded images and documents.\n\n### Restore\n\n```bash\ndocker compose stop\ndocker run --rm \\\n  -v garage-logbook_garage-data:/data \\\n  -v $(pwd):/backup \\\n  alpine sh -c \"rm -rf /data/* \u0026\u0026 tar xzf /backup/garage-logbook-backup.tar.gz -C /data\"\ndocker compose up -d\n```\n\n---\n\n## Building from Source\n\nIf you prefer to build the Docker image yourself rather than pulling from Docker Hub:\n\n```bash\ngit clone https://github.com/hyprlab/garage-logbook.git\ncd garage-logbook\ncp .env.example .env\n# Edit .env and set your SECRET_KEY\n```\n\nUpdate `docker-compose.yml` to use `build: .` instead of `image: hyprlab/garage-logbook:latest`, then:\n\n```bash\ndocker compose up -d --build\n```\n\n### Running without Docker\n\nGarage Logbook can also run directly on a Linux system with Python 3.10+:\n\n```bash\ngit clone https://github.com/hyprlab/garage-logbook.git\ncd garage-logbook\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n\nexport SECRET_KEY=$(python3 -c \"import secrets; print(secrets.token_hex(32))\")\npython app.py\n```\n\nThe app will be available at `http://localhost:5000`. The database and uploads will be stored in the project directory.\n\n---\n\n## Project Structure\n\n```\ngarage-logbook/\n├── app.py                    # Flask application\n├── requirements.txt          # Python dependencies\n├── Dockerfile                # Container build instructions\n├── docker-compose.yml        # Compose configuration\n├── .env.example              # Environment variable template\n├── .github/\n│   └── workflows/\n│       └── release.yml       # Auto-create GitHub releases on tag push\n├── static/\n│   ├── css/style.css         # Stylesheet (dark + light themes)\n│   ├── js/app.js             # Frontend JavaScript\n│   ├── garage-logbook_logo.svg\n│   ├── hyprlab_logo.png\n│   └── favicon.png\n└── templates/\n    ├── index.html            # Main application template\n    └── login.html            # Login page\n```\n\n---\n\n## License\n\nGarage Logbook is free software, licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0)**. You are free to use, study, share, and modify it under the terms of that license. Because the AGPL covers network use, if you run a modified version of Garage Logbook as a service accessible over a network, you must also make the corresponding source code available to its users.\n\nSee the [LICENSE](LICENSE) file for the full text.\n\n---\n\n## About\n\nGarage Logbook is developed by [Hyprlab](https://hyprlab.co)\n\nCurrent version: **0.2.1**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyprlab%2Fgarage-logbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyprlab%2Fgarage-logbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyprlab%2Fgarage-logbook/lists"}