{"id":49339272,"url":"https://github.com/subdavis/bandcamp-sync-flask","last_synced_at":"2026-04-27T03:02:06.353Z","repository":{"id":350547705,"uuid":"1111182508","full_name":"subdavis/bandcamp-sync-flask","owner":"subdavis","description":"Sync bandcamp purchases straight to your server (Lidarr, Navidrome, whatever)","archived":false,"fork":false,"pushed_at":"2026-04-25T20:15:12.000Z","size":1127,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T22:19:56.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://subdavis.com/posts/2025-12-navidrome-bandcamp/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subdavis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-12-06T12:43:22.000Z","updated_at":"2026-04-25T20:15:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/subdavis/bandcamp-sync-flask","commit_stats":null,"previous_names":["subdavis/bandcamp-sync-flask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/subdavis/bandcamp-sync-flask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fbandcamp-sync-flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fbandcamp-sync-flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fbandcamp-sync-flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fbandcamp-sync-flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subdavis","download_url":"https://codeload.github.com/subdavis/bandcamp-sync-flask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subdavis%2Fbandcamp-sync-flask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32320683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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-04-27T03:02:05.375Z","updated_at":"2026-04-27T03:02:06.347Z","avatar_url":"https://github.com/subdavis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BandcampSync Web Interface\n\nA simple Flask web interface for running [BandcampSync](https://github.com/meeb/bandcampsync/) with real-time log streaming. Designed to run well alongside [beets-flask](https://github.com/pSpitzner/beets-flask)\n\n| Web                                  | Mobile                      |\n| ------------------------------------ | --------------------------- |\n| ![Screenshot](./docs/screenshot.png) | ![Phone](./docs/phone.jpeg) |\n\n## Setup\n\n1. Install dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n1. Create your configuration file:\n\n   ```bash\n   cp config.example.json config.json\n   # Edit config.json with your settings\n   ```\n\n1. Run the web interface with your config:\n\n   ```bash\n   python app.py config.json\n   ```\n\n1. Open http://127.0.0.1:5000 in your browser\n\n## Docker\n\n`docker pull ghcr.io/subdavis/bandcamp-sync-flask`\n\nSee [docker-compose.yml](./docker-compose.yml)\n\n## Configuration\n\nCreate a `config.json` file with your BandcampSync settings:\n\n```json\n{\n  \"cookies\": \"your_bandcamp_session_cookies_string_here\",\n  \"directory\": \"~/Music/Bandcamp\",\n  \"format\": \"flac\",\n  \"ignore_file\": \"~/ignores.txt\",\n  \"ignore_patterns\": \"artist1 artist2\",\n  \"temp_dir\": \"/tmp/bandcampsync\",\n  \"notify_url\": \"http://example.com/webhook\"\n}\n```\n\n**Required fields:**\n\n- `cookies`: Your Bandcamp session cookies string (not a file path)\n- `directory`: Path to your music directory\n\n**Optional fields:**\n\n- `format`: Audio format (default: \"flac\")\n- `ignore_file`: Path to file with ignore patterns\n- `ignore_patterns`: Space-separated list of artists to ignore\n- `temp_dir`: Temporary download directory\n- `notify_url`: URL to notify when sync completes\n\n## Wait, _another_ service to run?\n\nIt idles around 24M of RAM usage. That's about all you can ask for with Python/Flask.\n\n## Limitations\n\n- Only one sync job can run at a time\n- Jobs run in separate processes for isolation\n- Logs are kept in memory (last 1000 lines)\n- The interface is designed for personal use, not multi-user scenarios. It relies on having a single worker thread because of the use of global variables.\n- Configuration is loaded once at startup - restart the app to pick up config changes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubdavis%2Fbandcamp-sync-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubdavis%2Fbandcamp-sync-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubdavis%2Fbandcamp-sync-flask/lists"}