{"id":17565262,"url":"https://github.com/codewhiteweb/revolt-spotify-rpc","last_synced_at":"2025-04-12T14:11:37.969Z","repository":{"id":116898676,"uuid":"591937341","full_name":"CodeWhiteWeb/Revolt-Spotify-RPC","owner":"CodeWhiteWeb","description":"A simple , single file RPC for auto updating status on revolt.chat from spotify via last.fm","archived":false,"fork":false,"pushed_at":"2023-01-23T07:05:38.000Z","size":16945,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T08:47:39.575Z","etag":null,"topics":["revolt-api","revolt-bot","revolt-chat","revolt-rpc","revoltjs","rpc","spotify-rpc"],"latest_commit_sha":null,"homepage":"","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/CodeWhiteWeb.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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://codewhiteweb.thedev.id/donate"]}},"created_at":"2023-01-22T12:14:15.000Z","updated_at":"2024-08-07T07:35:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"88a279c6-15f1-4867-b20c-c854a44e1a93","html_url":"https://github.com/CodeWhiteWeb/Revolt-Spotify-RPC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWhiteWeb%2FRevolt-Spotify-RPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWhiteWeb%2FRevolt-Spotify-RPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWhiteWeb%2FRevolt-Spotify-RPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWhiteWeb%2FRevolt-Spotify-RPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWhiteWeb","download_url":"https://codeload.github.com/CodeWhiteWeb/Revolt-Spotify-RPC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248578872,"owners_count":21127713,"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":["revolt-api","revolt-bot","revolt-chat","revolt-rpc","revoltjs","rpc","spotify-rpc"],"created_at":"2024-10-21T14:10:27.509Z","updated_at":"2025-04-12T14:11:37.963Z","avatar_url":"https://github.com/CodeWhiteWeb.png","language":"JavaScript","funding_links":["https://codewhiteweb.thedev.id/donate"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Revolt Spotify RPC\n\n![image](https://user-images.githubusercontent.com/79645854/213982771-2c1a1132-6009-4b6b-82e8-b7f6a321298e.png)\n\nDisplay what you are listening in spotify on Revolt.chat as status\n\n![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)\n![GitHub license1](https://img.shields.io/github/languages/top/CodeWhiteWeb/Revolt-Spotify-RPC)\n![GitHub license](https://img.shields.io/github/issues-pr-closed-raw/CodeWhiteWeb/Revolt-Spotify-RPC)\n![GitHub license2](https://img.shields.io/github/languages/code-size/CodeWhiteWeb/Revolt-Spotify-RPC)\n![GitHub license31](https://img.shields.io/github/issues/CodeWhiteWeb/Revolt-Spotify-RPC)\n![GitHub license3](https://img.shields.io/github/issues-pr/CodeWhiteWeb/Revolt-Spotify-RPC)\n![GitHub license4](https://img.shields.io/github/contributors/CodeWhiteWeb/Revolt-Spotify-RPC)\n\n\u003c/div\u003e\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/CodeWhiteWeb/Revolt-Spotify-RPC\n```\n\nGo to the project directory\n\n```bash\n  cd Revolt-Spotify-RPC\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nfill the `.env` file with required things\n\nStart the server\n\n```bash\n  npm run start\n```\n\n## .ENV (environment variables)\n\nTo run this project, you will need to add the following environment variables to your `.env` file\n\n```\nspotify_username=Your Spotify Username here\napi_key=Your last.fm api key here\nuser_token=Your Revolt User Token Here\n```\n\n### to get last.fm api follow the step\n\n- #### create your account - https://last.fm\n- #### connect you spotify account\n- Go to Last.fm and log in.\n- Hover over your profile image in the top-right.\n- Click Settings.\n- Click Applications.\n- Click Connect, next to Spotify Scrobbling.\n- Continue to allow access to your Spotify account.\n- #### Create an api account https://www.last.fm/api/account/create ( fill fields with random things, it doesn't matter)\n\n### to get revolt.chat user token follow the step\n\n- #### go to app.revolt.chat (revite) and open console from developer tools ( shortcut keys - f12 or Ctrl + Shift + I)\n- #### paste the following -\n\n```js\nwindow.state.auth.sessions.get(controllers.client.getReadyClient().user._id)\n  .session.token;\n```\n\n- #### copy it without `' '`\n\nFill all the required fields in `.env` file and run\n\n## Screenshots\n\n![App Screenshot](image/demo.png)\n\n## Author\n\n- [@CodeWhiteWeb](https://www.github.com/CodeWhiteWeb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewhiteweb%2Frevolt-spotify-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewhiteweb%2Frevolt-spotify-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewhiteweb%2Frevolt-spotify-rpc/lists"}