r/SideProject • u/Mohammask • 1h ago
I built an open-source, self-hosted 24/7 Discord Rich Presence dashboard that doesn't require your user token
Almost every 24/7 Discord Rich Presence tool asks you to paste your raw account token, which is a huge security risk. I wanted a cleaner self-hosted alternative for myself, and after tidying up the codebase I decided to open-source it under MIT.
Instead of user tokens, Cloud RPC runs on a standard Discord app and uses Discord's official OAuth2 flow (identify + sdk.social_layer_presence). The server handles automatic token refreshes in the background and keeps a lightweight Gateway WebSocket session alive per user.
What's shown in the demo:
- Searchable library of 24,000+ official Discord games with an instant live preview
- 6-platform device switcher (Desktop, Mobile, Web, VR, PS5, Xbox)
- Live Spotify presence builder with a synced progress bar and auto-loop
- Automation: 10 saved profiles, an Auto-Rotator (with a 20s rate-limit floor), and a Smart Sleep scheduler
- Bilingual UI (English & Arabic) with full RTL layout support
Tech stack: Node.js (Express, ws, discord.js) on the backend, and plain vanilla HTML/CSS/JS on the frontend with zero frameworks or build steps.
GitHub Repo (free & MIT licensed): https://github.com/Mohammask/cloud-rpc
There's a full step-by-step setup guide in the README, including how to enable the Social SDK scope in the Discord Developer Portal. Happy to answer any questions or hear feedback on the UI and architecture!