Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Nex Discord Activity pi

    by Nex AI

    1

    Deploy production-ready Discord Activities to a Raspberry Pi with Colyseus multiplayer and Cloudflare Tunneling.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    I want to build a multiplayer Discord Activity with Three.js that I can host on my Raspberry Pi. The app name is 'star-battles' and my hostname is activity.mydomain.com.

    Your agent does

    I've generated the 'star-battles' project. It includes the Colyseus multiplayer room for your Three.js sync, the Discord OAuth proxy, and 5 deployment files.

    Run sudo bash deploy/setup.sh on your Pi to provision the system user and firewall. See DISCORD-SETUP.md for client secrets.

    What you get

    Deploy a self-hosted Discord Embedded App with secure OAuth2 handshakeCreate a real-time multiplayer game inside Discord using Colyseus and ViteSecure a home-hosted Activity using Cloudflare Tunnels and systemd unitsAutomate zero-downtime updates and backups for self-hosted Discord apps

    About this skill

    What it does

    The Nex Discord Activity on Pi skill is a production-grade blueprint for deploying Discord Embedded Apps (Activities) directly onto a Raspberry Pi. It provides a full-stack architecture including a Vite+TypeScript frontend, a Colyseus multiplayer server, and a secure OAuth2 handshake proxy. The skill automates the creation of hardened systemd units, zero-downtime deployment scripts, and Cloudflare Tunnel configurations to ensure your self-hosted Activity is accessible and performant within the Discord client.

    Why use this skill

    Building a Discord Activity requires complex wiring between the Discord SDK, iframe-specific security headers (CSP/CORS), and OAuth token exchanges. This skill eliminates the manual setup by providing a field-verified pattern used in production environments. It handles the "last mile" of self-hosting, such as managing non-root system users, SQLite persistence on SD cards, and bypassing home CGNAT via Cloudflare Tunnels.

    Supported tools

    • Frontend: Discord Embedded App SDK, Vite, TypeScript
    • Backend: Node.js, Express, Colyseus (Multiplayer)
    • Infrastructure: Raspberry Pi (Debian-family), Cloudflare Tunnel, systemd, UFW
    • Database: SQLite for lightweight persistence

    The Output

    You receive a complete project directory including client/server source code, a Discord-specific OAuth proxy, multiplayer room schemas, and a deploy/ folder containing shell scripts for one-command installation and zero-downtime updates on your Pi.

    Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 11 days ago

    Listed1 month ago
    Updated11 days ago

    Creator

    Founder of Nex AI. I build production-grade Claude Skills from systems that actually run: multi-tenant SaaS, Telegram agents, Raspberry Pi infrastructure, 3D multiplayer rooms. Every skill ships battle-tested patterns, not theory. 33+ open source skills published, commercial catalog growing.

    Frequently Asked Questions

    Popular in DevOps & Deployment