{"id":49308521,"url":"https://github.com/rtuszik/discogsdash-rs","last_synced_at":"2026-04-26T11:01:27.381Z","repository":{"id":353784160,"uuid":"1218208541","full_name":"rtuszik/discogsdash-rs","owner":"rtuszik","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-25T13:51:08.000Z","size":359,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T15:22:31.153Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtuszik.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-22T16:35:42.000Z","updated_at":"2026-04-25T13:42:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rtuszik/discogsdash-rs","commit_stats":null,"previous_names":["rtuszik/discogsdash-rs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rtuszik/discogsdash-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fdiscogsdash-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fdiscogsdash-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fdiscogsdash-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fdiscogsdash-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtuszik","download_url":"https://codeload.github.com/rtuszik/discogsdash-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fdiscogsdash-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32294591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-04-26T11:01:26.786Z","updated_at":"2026-04-26T11:01:27.369Z","avatar_url":"https://github.com/rtuszik.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DiscogsDash\n\nSelf-hosted dashboard for your Discogs collection. Tracks collection value over time and other statistics over time.\n\nSingle static Rust binary, Leptos-rendered HTML, Postgres storage.\n\n## Install using Helm\n\nThe chart is published as an OCI artifact to GitHub Container Registry on every\nrelease. Install it directly — no `helm repo add` required (Helm 3.8+):\n\n```bash\nhelm install discogsdash oci://ghcr.io/rtuszik/discogsdash-rs/discogsdash \\\n  --version 0.1.0 \\\n  --set secrets.databaseUrl='postgres://user:pass@host:5432/discogsdash' \\\n  --set secrets.discogsToken='your_discogs_token' \\\n  --set config.DISCOGS_USERNAME='your_handle'\n```\n\nPick a version from the [releases page](https://github.com/rtuszik/discogsdash-rs/releases).\n\nIn production prefer a pre-existing Secret managed by your secrets stack:\n\n```bash\nhelm install discogsdash oci://ghcr.io/rtuszik/discogsdash-rs/discogsdash \\\n  --version 0.1.0 \\\n  --set secrets.existingSecret=discogsdash-secrets \\\n  --set config.DISCOGS_USERNAME='your_handle'\n```\n\nTo install from the working tree (e.g., when iterating on the chart locally),\npoint `helm install` at `./charts/discogsdash` instead of the OCI URL.\n\nThe Secret must contain keys `DATABASE_URL` and (optionally) `DISCOGS_TOKEN`. See\n`charts/discogsdash/values.yaml` for ingress, HTTPRoute, autoscaling, probe, and\nresource knobs.\n\n## Running with Docker Compose\n\n```bash\n# copy example env variables\ncp .env.example .env\n\ndocker compose up -d\n```\n\n## Running from source\n\n```bash\nexport DATABASE_URL=postgres://user:pass@host/discogsdash\nexport DISCOGS_USERNAME=your_handle\nexport DISCOGS_TOKEN=your_token\n# Optional: SYNC_CRON_SCHEDULE, 6-field cron (sec min hour dom mon dow)\ncargo run --release -p discogsdash-server\n```\n\nConfig is done via environment variables:\n\n| Var                  | Required | Default        | Purpose                       |\n| -------------------- | -------- | -------------- | ----------------------------- |\n| `DATABASE_URL`       | yes      | —              | Postgres connection string    |\n| `DISCOGS_USERNAME`   | for sync | —              | Your Discogs handle           |\n| `DISCOGS_TOKEN`      | for sync | —              | Personal access token         |\n| `SYNC_CRON_SCHEDULE` | no       | `0 0 0 * * *`  | Schedule for automatic syncs  |\n| `BIND_ADDR`          | no       | `0.0.0.0:3000` | Where the HTTP server listens |\n\n## Architecture\n\n```\ncrates/\n├── core         pure domain: types, currency parser, dashboard aggregation\n├── db           sqlx + migrations (Postgres)\n├── discogs      reqwest client: retry/backoff, pagination\n├── sync         orchestrator\n├── scheduler    tokio-cron-scheduler driving periodic syncs\n└── server       Axum HTTP + Leptos SSR views + apexcharts\n```\n\n## Testing\n\nUnit tests run without any infra:\n\n```bash\ncargo test --workspace\n```\n\nDB and end-to-end tests run against a Postgres pointed at by `TEST_DATABASE_URL`:\n\n```bash\nTEST_DATABASE_URL=postgres://ddtest:ddtest@localhost:5432/discogsdash_test \\\n  cargo test --workspace -- --test-threads=1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtuszik%2Fdiscogsdash-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtuszik%2Fdiscogsdash-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtuszik%2Fdiscogsdash-rs/lists"}