{"id":22120364,"url":"https://github.com/maxpleaner/bandcamp_labels","last_synced_at":"2026-01-05T00:49:53.708Z","repository":{"id":84577014,"uuid":"83823907","full_name":"MaxPleaner/bandcamp_labels","owner":"MaxPleaner","description":"A website which lists record labels on bandcamp","archived":false,"fork":false,"pushed_at":"2017-03-05T19:09:24.000Z","size":1342,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T12:15:24.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://maxpleaner.github.io/bandcamp_labels","language":"HTML","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/MaxPleaner.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}},"created_at":"2017-03-03T17:29:44.000Z","updated_at":"2017-03-04T01:08:54.000Z","dependencies_parsed_at":"2023-03-11T07:01:27.126Z","dependency_job_id":null,"html_url":"https://github.com/MaxPleaner/bandcamp_labels","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fbandcamp_labels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fbandcamp_labels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fbandcamp_labels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fbandcamp_labels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxPleaner","download_url":"https://codeload.github.com/MaxPleaner/bandcamp_labels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245220448,"owners_count":20579784,"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":[],"created_at":"2024-12-01T14:23:04.464Z","updated_at":"2026-01-05T00:49:53.682Z","avatar_url":"https://github.com/MaxPleaner.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"### What it is\n\nA website indexing the labels on bandcamp.\n\n### How it's built\n\nTo get the search results from bandcamp, I'm using the `bandcamp-scraper` npm tool\nwith coffeescript.\n\nThis coffeescript is called by ruby in order to get a listing of labels.\nMarkdown pages are then build for each label, which plug into my\n[static](http://github.com/maxpleaner/static) website generator.\nThe result of this is a static website that can be deployed to github pages or\nwherever. \n\n### How to use\n\n1. The first step is to clone the repo.\n2. Run `npm install` and `bundle` to get the dependencies\n3. Run `bundle exec rake get_labels[metal]` to create markdown pages for the metal\nlabels. You can substitute `metal` for your own query, like `electroacoustic` or\n`plunderphonics` (I don't know if there are actually any results for these). \n4. Run `ruby gen.rb` to compile the markdown pages into a static website.\n5. Either open `dist/index.html` from your browser, or run `ruby webrick.rb` then\nvisit `http://localhost:8000` in your browser.\n6. Create a new github repo and point your origin to it. Then run the `push_dist_to_gh_pages`\nscript and voila, you have a public website. \n\n### Other notes\n\nThis repo is already seeded with the contents of the site as visible\n[here](http://maxpleaner.github.io/bandcamp_labels). So there are 1k+ markdown\nfiles in `source/markdown`, each representing a single label. `dist/index.html`\ncontains a contatenated index of all these. \n\nTo seed this many listings, I started with my favorite genres then went through\nthe 1000 most popular words in the english language.\n`rake seed_most_common_words` does this.\n\nTo seed even more labels, it's possible to run `rake seed_random` which queries\nrandom words from the dictionary on a loop.\n\n_Caveat_ The reason these inefficient seeding methods are used (searching random\nwords and scanning the results for labels) is that bandcamp doesn't offer an API\nor even a good HTML page for searching labels, nevermind labels by genre. The\nsearch page that is used to seed shows artists and labels in the same list. \nEach request only shows 15 items, so the number of labels indexed per request is quite low.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fbandcamp_labels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxpleaner%2Fbandcamp_labels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fbandcamp_labels/lists"}