{"id":15645379,"url":"https://github.com/tylergaw/wax-tracks","last_synced_at":"2025-03-29T23:13:14.767Z","repository":{"id":211209804,"uuid":"670456801","full_name":"tylergaw/wax-tracks","owner":"tylergaw","description":"Some type of data creator/storer for wax.tylergaw.com","archived":false,"fork":false,"pushed_at":"2024-12-27T17:01:56.000Z","size":164,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T23:11:11.686Z","etag":null,"topics":["discogs-api","openai","vinyl-records"],"latest_commit_sha":null,"homepage":"https://wax.tylergaw.com/","language":"JavaScript","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/tylergaw.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":"2023-07-25T05:19:13.000Z","updated_at":"2024-12-27T17:01:59.000Z","dependencies_parsed_at":"2024-01-06T17:39:46.195Z","dependency_job_id":"a7e2301e-a694-4f1c-8934-56440de06365","html_url":"https://github.com/tylergaw/wax-tracks","commit_stats":null,"previous_names":["tylergaw/wax-tracks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylergaw%2Fwax-tracks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylergaw%2Fwax-tracks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylergaw%2Fwax-tracks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylergaw%2Fwax-tracks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylergaw","download_url":"https://codeload.github.com/tylergaw/wax-tracks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254109,"owners_count":20747948,"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":["discogs-api","openai","vinyl-records"],"created_at":"2024-10-03T12:06:59.682Z","updated_at":"2025-03-29T23:13:14.746Z","avatar_url":"https://github.com/tylergaw.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wax Tracks\n\nThis fetches, enriches, and stores vinyl collection data for [wax.tylergaw.com](https://wax.tylergaw.com/).\n\nThe front-end repo for this is [github.com/tylergaw/wax](https://github.com/tylergaw/wax)\n\n## Project overview\n\n- node.js `\u003e=20.6.0`: This uses node features that aren't available in earlier versions\n- OpenAI: Used to enrich collection data. Right now, only for determining machine and human readable vinyl color/pattern\n\n## Local setup\n\n## Testing\n\nRun all tests once:\n\n```sh\nyarn test\n```\n\nRun tests and watch for changes:\n\n```sh\nyarn test:watch\n```\n\n## Available scripts\n\nEverything is done through scripts in package.json\n\n### Fetch, enrich, upload, rebuild\n\nThis is likely what you want. This runs everything needed to fetch latest collection from Discogs, enrich the data with OpenAI, upload the JSON files to S3, and rebuild the site in Netlify.\n\n```sh\nyarn update\n```\n\n### Fetch\n\nFetch Discogs collection and prompt to ask if you want all pages:\n\n```sh\nyarn fetch\n```\n\nFetch Discogs collection and skip prompt to ask if you want all pages:\n\n```sh\nyarn fetch:skipPrompt\n```\n\n### Enrich\n\n**This depends on the output file from `fetch`**. Uses OpenAI to enrich the collection data. Right now, this only tries to determine machine and human-readable color of the vinyl based on the descriptions available.\n\n```sh\nyarn enrich\n```\n\n### Upload\n\nUploads the generated JSON file(s) to an S3 bucket.\n\n```sh\nyarn upload\n```\n\n### Rebuild\n\nRebuilds the Netlify site via web hook.\n\n```sh\nyarn rebuild\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylergaw%2Fwax-tracks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylergaw%2Fwax-tracks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylergaw%2Fwax-tracks/lists"}