An open API service indexing awesome lists of open source software.

https://github.com/reddit/devvit-template-vibe-coding

A playground for experimental devvit configuration
https://github.com/reddit/devvit-template-vibe-coding

Last synced: 3 months ago
JSON representation

A playground for experimental devvit configuration

Awesome Lists containing this project

README

          

## Devvit Vibe Coding Template

> Experimental! Template may change!

A starter to build web applications on Reddit's developer platform

- [Devvit](https://developers.reddit.com/): A way to build and deploy immersive games on Reddit
- [Vite](https://vite.dev/): For compiling the webView
- [React](https://react.dev/): For UI
- [Hono](https://hono.dev/): For backend logic
- [TRPC](https://trpc.io/): Type safe RPCs from server to client
- [Tailwind](https://tailwindcss.com/): For styles
- [TypeScript](https://www.typescriptlang.org/): For type safety

## Getting Started

> Make sure you have Node 22 downloaded on your machine before running!

1. Run `npm create devvit@latest --template=vibe-coding`
2. Go through the installation wizard. You will need to create a Reddit account and connect it to Reddit developers
3. Copy the command on the success page into your terminal

## Commands

- `npm run dev`: Starts a development server where you can develop your application live on Reddit.
- `npm run build`: Builds your client and server projects
- `npm run deploy`: Uploads a new version of your app
- `npm run launch`: Publishes your app for review
- `npm run login`: Logs your CLI into Reddit
- `npm run type-check`: Type checks, lints, and prettifies your app

## MCP Integration

If you'd like to use the Devvit MCP server, please visit: https://developers.reddit.com/docs/next/guides/ai