🚨 Under active development! Things may not work.
A starter to build web applications on Reddit's developer platform
- Devvit: A way to build and deploy immersive games on Reddit
- Vite: For compiling the webView
- Three.js: For 3D animations and physics
- Express: For backend logic
- Typescript: For type safety
Make sure you have Node 22 downloaded on your machine before running!
- Run
npx devvit@next init --template=threejs
- Go through the installation wizard. You will need to create a Reddit account and connect it to Reddit developers
- Copy the command on the success page into your terminal
npm run dev
: Starts a development server where you can develop your application live on Reddit.npm run build
: Builds your client and server projectsnpm run deploy
: Uploads a new version of your appnpm run launch
: Publishes your app for reviewnpm run login
: Logs your CLI into Redditnpm run check
: Type checks, lints, and prettifies your app
This template comes with a pre-configured cursor environment. To get started, download cursor and enable the devvit-mcp
when prompted.