{"id":19274103,"url":"https://github.com/sbstjn/discogs-collection","last_synced_at":"2026-05-08T15:13:15.821Z","repository":{"id":137670803,"uuid":"92443431","full_name":"sbstjn/discogs-collection","owner":"sbstjn","description":"Export your Discogs.com collection value to CloudWatch Metrics","archived":false,"fork":false,"pushed_at":"2017-06-04T03:35:22.000Z","size":405,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T22:02:39.042Z","etag":null,"topics":["aws","cloudwatch","css","discogs","lambda","serverless"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/sbstjn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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-05-25T20:51:39.000Z","updated_at":"2021-06-01T19:18:21.000Z","dependencies_parsed_at":"2024-05-05T12:00:08.486Z","dependency_job_id":null,"html_url":"https://github.com/sbstjn/discogs-collection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbstjn/discogs-collection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbstjn%2Fdiscogs-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbstjn%2Fdiscogs-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbstjn%2Fdiscogs-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbstjn%2Fdiscogs-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbstjn","download_url":"https://codeload.github.com/sbstjn/discogs-collection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbstjn%2Fdiscogs-collection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271766573,"owners_count":24817556,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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":["aws","cloudwatch","css","discogs","lambda","serverless"],"created_at":"2024-11-09T20:45:04.247Z","updated_at":"2026-05-08T15:13:15.751Z","avatar_url":"https://github.com/sbstjn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚡️ Discogs Collection Info\n\n[![CircleCI](https://img.shields.io/circleci/project/github/sbstjn/discogs-collection.svg)](https://circleci.com/gh/sbstjn/discogs-collection)\n[![license](https://img.shields.io/github/license/sbstjn/discogs-collection.svg)](https://github.com/sbstjn/discogs-collection/blob/master/LICENSE.md)\n[![Coveralls](https://img.shields.io/coveralls/sbstjn/discogs-collection.svg)](https://coveralls.io/github/sbstjn/discogs-collection)\n\nCrawl the value of your [Discogs](https://discogs.com) Collection with AWS Lambda and log `maximum`, `minimum`, and `median` collection values, as well as the number of items in your collection to custom CloudWatch metrics. \n\n![Discogs.com Collection Value](/cloudwatch.png)\n\nAdditionally, this creates an HTTP endpoint `/last` that returns the most recent item in your library.\n\n```json\n{\n  \"artist\": \"Lakman\",\n  \"title\": \"Aus Dem Schoß Der Psychose\",\n  \"year\": 2016\n}\n```\n\n## Install\n\n```bash\n$ \u003e yarn install\n```\n\n## Configure\n\nMake sure to update your Discogs username in `serverless.yml` or set the `USERNAME` environment variable before you deploy your functions.\n\n## Deploy\n\nFirst [create an access token](https://www.discogs.com/de/settings/developers) for accessing the Discogs API, then use [Serverless](https://serverless.com) to deploy everything:\n\n```bash\n$ \u003e TOKEN=YOUR_DISCOGS_ACCESS_TOKEN yarn deploy \u0026\u0026 yarn invoke\n```\n\n## Usage\n\n[Serverless](https://serverless.com) will configure a CloudWatch Schedule that triggers the AWS Lambda function every 10 minutes per default. Just update the `serverless.yml` configuration and deploy your updated interval.\n\n```yaml\nevents:\n  - schedule: rate(10 minutes)\n```\n\n## License\n\nFeel free to use the code, it's released using the [MIT license](https://github.com/sbstjn/discogs-collection/blob/master/LICENSE.md).\n\n## Contributors\n\n- [Sebastian Müller](https://github.com/sbstjn)\n\n## Contribution\n\nYou are more than welcome to contribute to this project! 😘\n\nTo make sure you have a pleasant experience, please read our [code of conduct](CODE_OF_CONDUCT.md). It outlines core values and believes and will make working together a happier experience.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbstjn%2Fdiscogs-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbstjn%2Fdiscogs-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbstjn%2Fdiscogs-collection/lists"}