Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Nex Discord Activity pi

    4

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

    Free

    1 installSecurity scanned
    nex-discord-activity-pi

    nex-discord-activity-pi

    Example session with this skill installed

    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.

    • Read your context and instructions
    • Compiled the nex-discord-activity-pi

    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.

    to provision the system user and firewall. See DISCORD-SETUP.md

    Connects securely to your tools. The creator never sees your data.

    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

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    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

    1 install

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free to download with an account

    Listed3 months ago
    Updated1 month ago

    What's inside

    Frequently Asked Questions