DEV Community

Cover image for Stray: Keep Your Discord Account Online 24/7
Sarthak
Sarthak

Posted on

Stray: Keep Your Discord Account Online 24/7

Ever wanted your Discord account to stay online 24/7, rocking a sleek custom Rich Presence or an automated custom status, without needing to leave your primary machine running all night?

To keep Stray as lightweight as possible, I didn't want to bundle a massive external Discord library. Instead, Stray utilizes the optimized base connection logic inspired by the ghost-selfbot repository as its foundation. By isolating and extracting only the critical connection architecture and WebSocket payload functions, Stray remains lightning-fast, highly efficient, and hyper-focused on doing exactly one job perfectly: Keeping your session alive and your status active.

⚠️ Critical Safety & Usage Notes
* Discord ToS Warning: Operating custom presence scripts or selfbots on personal user accounts explicitly violates the Discord Terms of Service. Using this project carries a permanent risk of account restriction or suspension. Use entirely at your own risk.
* Token Security: Your Discord Account Token grants full control over your profile. Stray locally encrypts your credentials using robust AES-256-GCM symmetric encryption, but you must ensure your self-hosted environment stays completely secure. Never share your token layout or environment secrets.
Enter fullscreen mode Exit fullscreen mode

🛠️ Key Features

  • Active Device Spoofing: Pretend you are logged in from a Mobile Android client, Desktop app, Web browser, or Xbox console layout.
  • Ultra-Low Latency: Features a near-zero memory footprint with an ultra-fast gateway handshake engine.
  • Interactive Visualizer: Includes a beautifully responsive live preview dashboard to customize and see your profile presence updates in real-time.

🤝 Get Involved & Support

Stray is free and open-source under the PolyForm Noncommercial License. Whether you want to expand the basic core presence features or help polish the Next.js Dashboard UI, your contributions are incredibly welcome!
If you like the concept or end up deploying it for your own profile, please consider dropping a ⭐ on the repository—it significantly helps other developers discover the ecosystem!

Top comments (0)