https://github.com/besworks/unofficial-bolt-devvit-web
A barebones template for creating inline Devvit webview apps through Bolt.
https://github.com/besworks/unofficial-bolt-devvit-web
bolt devvit javascript webview
Last synced: 8 months ago
JSON representation
A barebones template for creating inline Devvit webview apps through Bolt.
- Host: GitHub
- URL: https://github.com/besworks/unofficial-bolt-devvit-web
- Owner: besworks
- License: other
- Created: 2025-06-29T01:04:13.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-06-29T03:22:36.000Z (9 months ago)
- Last Synced: 2025-06-29T03:39:50.491Z (9 months ago)
- Topics: bolt, devvit, javascript, webview
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unofficial Bolt x Devvit Template
A barebones template for creating inline [Devvit](https://developers.reddit.com/) webview apps through [Bolt](https://bolt.new).
## Features
- Streamlined npm scripts. Just [import into Bolt](https://bolt.new/github.com/besworks/unofficial-bolt-devvit-web) and follow the prompts.
- No automatic bundling. Manage your own front-end dependencies.
- Very simple example. Basic HTML page with Bolt.new badge linked using Devvit UI client.
- Express API which returns the current Reddit context when requested.
## Limitations
You cannot easily use any node packages in your front-end with this template. If you want to do this you should create a build step that uses rollup or your favorite tool to bundle your packages into webroot/
## Disclaimer
You can report any issues with the template here, but I will not walk you through building your project. Refer to the [Devvit documentation](https://developers.reddit.com/docs) for information about working with this platform. I'm active in the Devvit Discord though and do help out when I can.
You cannot publish an app built with this template, it can only run in a test subreddit with less than 200 users. You cannot expect any support from the Devvit team while using this unofficial, experimental code. It is technically outdated, and heavily modified from the original exmaples. The API for this feature is in active development, it has and will change more. Any projects using this template will eventually need to be migrated to the final release of Devvit Web when it becomes available. See the [Future Roadmap](https://developers.reddit.com/docs/devvit_web/future_roadmap) for information on where this is heading.