{"id":15146497,"url":"https://github.com/augbog/slack-soundcloud-pulse","last_synced_at":"2026-02-06T20:32:06.971Z","repository":{"id":73215022,"uuid":"85553510","full_name":"augbog/slack-soundcloud-pulse","owner":"augbog","description":"A Slack App that will crawl a specific Soundcloud User and post stats of how their tracks are doing into a channel.","archived":false,"fork":false,"pushed_at":"2019-04-01T16:31:47.000Z","size":295,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T14:27:48.887Z","etag":null,"topics":["slack","slackapi","slackbot","soundcloud","soundcloud-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/augbog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-20T08:41:09.000Z","updated_at":"2025-02-09T15:32:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f26fcb4-31bc-493b-8f63-dbb5809e3739","html_url":"https://github.com/augbog/slack-soundcloud-pulse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/augbog/slack-soundcloud-pulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Fslack-soundcloud-pulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Fslack-soundcloud-pulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Fslack-soundcloud-pulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Fslack-soundcloud-pulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augbog","download_url":"https://codeload.github.com/augbog/slack-soundcloud-pulse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Fslack-soundcloud-pulse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29175225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T20:14:21.878Z","status":"ssl_error","status_checked_at":"2026-02-06T20:14:21.443Z","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":["slack","slackapi","slackbot","soundcloud","soundcloud-api"],"created_at":"2024-09-26T12:01:56.239Z","updated_at":"2026-02-06T20:32:06.959Z","avatar_url":"https://github.com/augbog.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Soundcloud Pulse\nA Slack App that will crawl a specific Soundcloud User and post stats of how their tracks are doing into a channel.\n\n\u003cimg src=\"https://raw.githubusercontent.com/augbog/slack-soundcloud-pulse/master/soundcloud-pulse-example.png\" alt=\"Slack Soundcloud Pulse example post\" /\u003e\n\n## Set up\n\n1. Create `config.json` in `config/` and supply these values. You can also duplicate and create a `config.test.json` if you wish to test into a different webhook.\n\n```\n{\n  \"SOUNDCLOUD_USER_ID\": \"\",\n  \"CLIENT_ID\": \"\",\n  \"APP_VERSION\": \"\",\n  \"SLACK_WEBHOOK_URL\": \"\"\n}\n```\n\n2. If you need help obtaining these values, go into the Network tab when you visit your Soundcloud profile and you should be able to find a request that makes such a call (filter by `api-v2.soundcloud.com`). These calls will have the parameters `client_id` and `app_version` passed. See the image below\n\n\u003cimg src=\"https://raw.githubusercontent.com/augbog/slack-soundcloud-pulse/master/request-example.png\" alt=\"Network tab request images find client_id and app_version\" /\u003e\n\n3. Set up your Webhook URL in your Slack team. You can do this by going to [Your Apps](https://api.slack.com/apps), creating a new App, and then adding a new Incoming Webhook.\n4. Run `npm install` in this repository.\n5. Assuming you have done all the steps above, run `npm run start` and you should send a Slack message to the channel you chose when setting up your Webhook URL above.\n6. If you wish to have this run on a weekly or monthly basis, you can set up a cron job and have it run the command. My crontab file looks like below and you can access via `sudo crontab -e` and will run Monday 8 AM every week\n\n```\nNODE_PATH=/home/pi/.npm/lib/node_modules\nPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n0 8 * * 1 /usr/local/bin/npm start --prefix /home/pi/slack-soundcloud-pulse \u003e/dev/null 2\u003e\u00261\n```\n\n## Troubleshooting and other Notes\n* The `client_id` value gets refreshed every so often so you may need to verify you have the right `client_id`. I have not pinpointed how often this refresh happens but it seems every few months it can refresh.\n* Make sure you specify `NODE_PATH` and `PATH` in your crontab in order for it to run. See [here](https://stackoverflow.com/a/27823675/1168661)\n* If you need to verify your cron job is working, you can do a `grep CRON /var/log/syslog` and see if your job is running.\n* Sometimes it's nice to be able to test and send Slack attachment results to a test Slack channel. I have created an issue to do this see issue #4.\n\n## Helpful links\n* [Soundcloud API guide](https://developers.soundcloud.com/docs/api/reference)\n* [Slack Attachment Message Builder](https://api.slack.com/docs/messages/builder)\n* [Crontab Generator](https://crontab-generator.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugbog%2Fslack-soundcloud-pulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugbog%2Fslack-soundcloud-pulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugbog%2Fslack-soundcloud-pulse/lists"}