{"id":13674822,"url":"https://github.com/Erick2280/cordscrobbler","last_synced_at":"2025-04-28T14:32:21.667Z","repository":{"id":40711421,"uuid":"284401933","full_name":"Erick2280/cordscrobbler","owner":"Erick2280","description":"🎵 Last.fm scrobbler for songs played by bots on your Discord server","archived":false,"fork":false,"pushed_at":"2024-01-09T10:55:50.000Z","size":629,"stargazers_count":24,"open_issues_count":5,"forks_count":9,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-11-11T14:43:02.617Z","etag":null,"topics":["bot","discord-server","hacktoberfest"],"latest_commit_sha":null,"homepage":"","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/Erick2280.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":"2020-08-02T06:05:24.000Z","updated_at":"2024-06-07T20:40:16.000Z","dependencies_parsed_at":"2024-11-11T14:34:55.281Z","dependency_job_id":"fd2391ff-b378-45bf-a8ee-c75933b039a1","html_url":"https://github.com/Erick2280/cordscrobbler","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erick2280%2Fcordscrobbler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erick2280%2Fcordscrobbler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erick2280%2Fcordscrobbler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erick2280%2Fcordscrobbler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erick2280","download_url":"https://codeload.github.com/Erick2280/cordscrobbler/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251330427,"owners_count":21572284,"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":["bot","discord-server","hacktoberfest"],"created_at":"2024-08-02T11:01:03.199Z","updated_at":"2025-04-28T14:32:21.298Z","avatar_url":"https://github.com/Erick2280.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cp\u003e\n\t\u003cimg width=\"256\" src=\"./assets/icon-and-name.svg\" alt=\"Cordscrobbler\"/\u003e\n\u003c/p\u003e\n\u003cp\u003eLast.fm scrobbler for songs played by other bots on your Discord server.\u003c/p\u003e\n\n![Build status](https://github.com/Erick2280/cordscrobbler/workflows/build/badge.svg)\n\n\u003cp\u003e\n    \u003ca href=\"https://discord.com/oauth2/authorize?client_id=739266400476201061\u0026permissions=2147994688\u0026scope=bot\" target=\"_blank\" rel=\"noreferrer\"\u003e\n        \u003cimg width=\"400\" src=\"./assets/add-to-your-server-button.svg\" alt=\"Add to your server\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n---\n\n_Looking for **discord2lastfm**? Discord does not accept bots that include \"discord\" in the name, so the bot is now \"Cordscrobbler\"._\n\n## How it works\n\nThis bot scrobbles songs played by other bots on your Discord server to Last.fm. It will automatically scrobble if the user is on the same audio channel as the bot, on any server that this bot is added to.\n\nTo enable it for you, you'll need to send a message to the bot with `-cords register` and log in with your Last.fm account.\n\n## Supported integrations\n\n- [Chip Bot](https://chipbot.gg/)\n- [Hydra Bot](https://hydra.bot/)\n- [Jockie Music](https://jockiemusic.com/)\n- [Tempo Bot](https://tempobot.net/)\n- [Groovy Bot (out of service)](https://groovy.bot/)\n- [Rythm Bot (out of service)](https://rythmbot.co/) (requires additional configuration)\n\n## Adding to your server\n\nJust [click here to add to your server](https://discord.com/oauth2/authorize?client_id=739266400476201061\u0026permissions=2147994688\u0026scope=bot) :)\n\n## Running from source\n\nThis project uses [discord.js](https://discord.js.org/) and needs [Node.js](https://nodejs.org) LTS to be installed on your machine.\n\nFirst, install the project dependencies running:\n\n    npm install\n\nThen, on the project root folder, create a new `.env` file and copy the contents of the `.env.template`.\n\nReplace the following fields:\n- `\u003cyour-discord-bot-token\u003e`: The Discord token for your bot, which can be obtained from the [Discord developer portal](https://discordapp.com/developers/applications). \n- `\u003cyour-spotify-app-client-id\u003e` and `\u003cyour-spotify-app-client-secret\u003e`: Tokens from your Spotify integration, which can be obtained on the [Spotify developer dashboard](https://developer.spotify.com/dashboard/applications). This bot uses the Spotify API to look for track information.\n- `\u003cyour-lastfm-api-key\u003e` and `\u003cyour-lastfm-shared-secret\u003e`: The tokens from Last.fm API, which can be obtained on the [Last.fm create API account form](https://www.last.fm/api/account/create).\n- `\u003cservice-account-key-file-base64\u003e`: A service account key file encoded in base64 from a Firebase project. This bot uses Firebase Firestore to store user data.\n- `\u003cyour-firebase-database-url\u003e`: The Firebase Database URL from a Firebase project.\n- `\u003cyour-topgg-token\u003e`: The token from top.gg API, to post bot usage statistics. It is optional, and statistics are only sent when `NODE_ENV` is set to `production`.\n\nRemember to keep these tokens in a safe place.\n\nYou can also change the bot prefix by replacing `-cords `.\n\nFinally, to start the bot, run:\n\n    npm run build\n    npm start\n\nAlternatively, you can run `npm run watch` while testing to automatically reload on file changes.\n\n## Contact\n\nIf you find any problems during the bot usage, please [open an issue](https://github.com/Erick2280/cordscrobbler/issues) here on GitHub. PRs are welcome too!\n\nFeel free to [join the Cordscrobbler Discord server](https://discord.gg/yhGhQj6cGa). Feedbacks are appreciated!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErick2280%2Fcordscrobbler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FErick2280%2Fcordscrobbler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErick2280%2Fcordscrobbler/lists"}