Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake Spotify Discord Rich Presence

A simple Discord Rich Presence client that displays fake Spotify status. This is a toy project for educational purposes.

Prerequisites

  • Node.js (v18 or higher recommended)
  • Bun (recommended) or npm
  • A Discord Application with Rich Presence enabled

Setup

  1. Clone the repository

  2. Install dependencies:

    bun install
    # or
    npm install
  3. Create a Discord Application:

  4. Configure environment variables:

    cp .env.example .env
    # Edit .env and add your Discord Client ID
  5. Run the script:

    bun run rpc-server.js
    # or
    node rpc-server.js

Code Quality

To lint the code:

bunx oxlint .

To format the code:

bunx prettier --write .

How It Works

The script randomly selects songs from a curated list and displays them as "Now Playing" on Discord. Each song has a random duration between 2-4 minutes, and the status updates automatically when the "song" ends.

Security Notes

This project now uses discord-rpc-revamp, a maintained fork of the abandoned discord-rpc package. While not officially maintained by Discord, it is actively maintained by the community and has zero dependencies.

For production use, you may also consider:

  • Discord Social SDK (official but requires OAuth2 and is designed for C++/native games)

License

MIT - See LICENSE file for details.

About

A simple Discord Rich Presence client that displays fake Spotify status. This is a toy project for educational purposes.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages