{"id":41293931,"url":"https://github.com/o-mago/spotify-status","last_synced_at":"2026-01-23T04:02:57.672Z","repository":{"id":45755168,"uuid":"314955481","full_name":"o-mago/spotify-status","owner":"o-mago","description":"Slack App for sharing what you are listening on Spotify with others through Slack Status","archived":false,"fork":false,"pushed_at":"2023-10-25T15:59:24.000Z","size":4157,"stargazers_count":32,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T00:30:51.699Z","etag":null,"topics":["go","golang","hacktoberfest","slack","spotify"],"latest_commit_sha":null,"homepage":"","language":"Go","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/o-mago.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-11-22T04:00:11.000Z","updated_at":"2024-03-13T13:40:24.000Z","dependencies_parsed_at":"2022-07-26T15:18:11.568Z","dependency_job_id":"6b489008-23f8-4d3d-8e2f-20884cef596f","html_url":"https://github.com/o-mago/spotify-status","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/o-mago/spotify-status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-mago%2Fspotify-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-mago%2Fspotify-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-mago%2Fspotify-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-mago%2Fspotify-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/o-mago","download_url":"https://codeload.github.com/o-mago/spotify-status/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-mago%2Fspotify-status/sbom","scorecard":{"id":700218,"data":{"date":"2025-08-11","repo":{"name":"github.com/o-mago/spotify-status","commit":"33ddbf7f582b1765f8ad201d2cb3004591d758bf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/lint.yml:8","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/o-mago/spotify-status/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/o-mago/spotify-status/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/o-mago/spotify-status/lint.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating cgr.dev/chainguard/wolfi-base to cgr.dev/chainguard/wolfi-base@sha256:1fd981aa0bcefd8da87ce55a9ae907862fcb6835c658fdb284867117fb0268ce","Warn: containerImage not pinned by hash: Dockerfile.dev:1: pin your Docker image by updating golang:1.21-alpine to golang:1.21-alpine@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"25 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2606 / GHSA-7jwh-3vrq-q3m8 / GHSA-mrww-27vc-gghv","Warn: Project is vulnerable to: GO-2024-2605 / GHSA-m7wr-2xf7-cm9p","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0236 / GHSA-h86h-8ppg-mxmh","Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T05:03:00.850Z","repository_id":45755168,"created_at":"2025-08-22T05:03:00.851Z","updated_at":"2025-08-22T05:03:00.851Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28679564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T03:51:37.438Z","status":"ssl_error","status_checked_at":"2026-01-23T03:51:13.517Z","response_time":59,"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":["go","golang","hacktoberfest","slack","spotify"],"created_at":"2026-01-23T04:01:37.358Z","updated_at":"2026-01-23T04:02:57.664Z","avatar_url":"https://github.com/o-mago.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify Status for Slack\nThis slack app allows you to share your musical taste with your coworkers inside Slack, by allowing the app to connect to your spotify account\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/o-mago/spotify-status/assets/23153316/6f47a25a-a574-4de9-9581-4d395e4ab168\" alt=\"Spotify Status working\"/\u003e\n\u003c/p\u003e\n\n## Built and running with:\n- Go\n- Docker\n- Fly.io\n- New Relic\n- Slack API\n- Spotify API\n\n## Go external libs\n- [google/uuid](https://github.com/google/uuid)\n- [new-relic/go-agent](https://github.com/newrelic/go-agent)\n- [robfig/cron/v3](https://github.com/robfig/cron)\n- [slack-go](https://github.com/slack-go/slack)\n- [zmb3/spotify](https://github.com/zmb3/spotify)\n- [gorm](https://gorm.io/index.html)\n\n## Application layers\n\nThere are 3 main layers:\n- handlers: only call exported services.\n- services: call unexported services and repositories\n- repositories: communicate with database (and eventually other repos)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/o-mago/spotify-status/assets/23153316/adac1b5c-e5d3-4fff-a40f-8a4b30d78047\" alt=\"Application layers\"/\u003e\n\u003c/p\u003e\n\n\n\n## Folders structure\n\n📦src\u003cbr\u003e\n ┣ 📂app_error\u003cbr\u003e\n ┣ 📂crypto\u003cbr\u003e\n ┣ 📂domain\u003cbr\u003e\n ┣ 📂handlers\u003cbr\u003e\n ┣ 📂repositories\u003cbr\u003e\n ┃ ┣ 📂db_entities\u003cbr\u003e\n ┣ 📂services\u003cbr\u003e\n ┣ 📂static\u003cbr\u003e\n ┃ ┣ 📂completed\u003cbr\u003e\n ┃ ┣ 📂home\u003cbr\u003e\n ┗ 📜server.go\u003cbr\u003e\n \n`app_error`: custom application errors\n\n`domain`: entities from application business rules\n\n`handlers`: api handlers\n\n`repositories`: database related, including queries\n\n`db_entities`: database entities, a mirror from the schema\n\n`services`: where all the logic is applied to make the magic happen\n\n`static`: UI files\n\n`completed`: UI for the completed page (after the user accepted everything)\n\n`home`: UI for the homepage\n\n## Medium (outdated)\nhttps://medium.com/@alexandre.cabral/building-a-slack-app-for-spotify-with-go-64ff71959bd1\n\n### Run locally\n`docker compose up`\n\n### Deploying\nFirst, setup your fly.io account, database and new relic, then:\n```\nfly launch\n\nfly auth login\n\nfly secrets set \u003csecret\u003e\n\nfly deploy\n```\n\n### Running app\n[https://spotify-status-slack.fly.dev](https://spotify-status-slack.fly.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-mago%2Fspotify-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fo-mago%2Fspotify-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-mago%2Fspotify-status/lists"}