A single HTML file for when you need to host some code without the drama.
Link Type | URL |
---|---|
Practical Link | pagecast.romelium.cc |
Dogfooding Link | Hosted by Itself (Yes, this link was generated by the app itself) |
Ever just need to share a quick HTML prototype, a code snippet, or a single-page app without setting up a whole project or deploying to a hosting service? This is for that.
It's a self-contained tool that lets you paste your code, see it update live, and then generate a permanent, shareable link using a GitHub Gist.
- See your code update live. No refresh needed.
- Get a permanent link with one click. Perfect for sharing quick apps.
- It's just one HTML file. Save it, use it offline, keep it on a flash drive.
- Works on your phone, too. The layout is responsive.
-
Get a GitHub Token.
- Go to GitHub's token creation page.
- You only need the
gist
scope. Nothing else. - Copy the generated token (
ghp_...
).
-
Paste the token into the app.
- It's saved in your browser's local storage, so you only have to do this once.
-
Paste your HTML code.
- The preview on the right will update as you type.
-
Click the "Cast Page" button.
- Your permanent link will appear below, ready to be copied and shared.
This whole thing is a single .html
file. Just right-click and "Save Page As..." to keep a copy on your computer. It works completely offline (until you need to cast, of course).
This tool relies entirely on the excellent rawgithack service by neoascetic to serve the Gist content. It's the magic that makes the permanent links work.
This project is open source and available under the MIT License.