nex-discord-activity-pi
by Nex AI
Deploy production-ready Discord Activities to a Raspberry Pi with Colyseus multiplayer and Cloudflare Tunneling.
- Deploy a self-hosted Discord Embedded App with secure OAuth2 handshake
- Create a real-time multiplayer game inside Discord using Colyseus and Vite
- Secure a home-hosted Activity using Cloudflare Tunnels and systemd units
$19
· or 95 creditsSecure checkout via Stripe
Included in download
- Deploy a self-hosted Discord Embedded App with secure OAuth2 handshake
- Create a real-time multiplayer game inside Discord using Colyseus and Vite
- terminal, network, env_vars automation included
Sample input
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.
Sample output
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.
nex-discord-activity-pi
by Nex AI
Deploy production-ready Discord Activities to a Raspberry Pi with Colyseus multiplayer and Cloudflare Tunneling.
$19
· or 95 creditsSecure checkout via Stripe
Included in download
- Deploy a self-hosted Discord Embedded App with secure OAuth2 handshake
- Create a real-time multiplayer game inside Discord using Colyseus and Vite
- terminal, network, env_vars automation included
- Instant install
Sample input
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.
Sample output
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.
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.
Use Cases
- Deploy a self-hosted Discord Embedded App with secure OAuth2 handshake
- Create a real-time multiplayer game inside Discord using Colyseus and Vite
- Secure a home-hosted Activity using Cloudflare Tunnels and systemd units
- Automate zero-downtime updates and backups for self-hosted Discord apps
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/nex-discord-activity-pi -o /tmp/nex-discord-activity-pi.zip && unzip -o /tmp/nex-discord-activity-pi.zip -d ~/.claude/skills && rm /tmp/nex-discord-activity-pi.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
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
Learn More About AI Agent Skills
More Premium Skills
Multi-Agent Orchestration Master Library
Transform Claude Code into a coordinated multi-agent system. Battle-tested tmux orchestration patterns, YAML task queues, event-driven communication, and parallel worker management for 8+ agents.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
consumer-motivation-analyzer
Go beyond surface-level feedback to uncover the psychological drivers and hidden motivations behind buyer behavior.
Bounty Security Pattern Master Library — 399 Vulnerability Patterns
A premium library of 399 vulnerability patterns and DeFi attack vectors for AI-driven bug hunting and security audits.