Skip to content

A single HTML file for when you need to host some code without the drama. Paste your stuff, see it live, and get a permanent link from a Gist. No setup, no servers. Just a useful thing to have around.

License

Notifications You must be signed in to change notification settings

Romelium/PageCast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Page Cast

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)

What's the deal with this?

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.

How to Use It

  1. Get a GitHub Token.

  2. Paste the token into the app.

    • It's saved in your browser's local storage, so you only have to do this once.
  3. Paste your HTML code.

    • The preview on the right will update as you type.
  4. Click the "Cast Page" button.

    • Your permanent link will appear below, ready to be copied and shared.

Saving It for Later

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).

Acknowledgements

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.

License

This project is open source and available under the MIT License.

About

A single HTML file for when you need to host some code without the drama. Paste your stuff, see it live, and get a permanent link from a Gist. No setup, no servers. Just a useful thing to have around.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages