Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Jsdelivr HTML Runner Guide

A guide to upload and run an HTML file on Jsdelivr to look like a website

How it works

Aparentely, uploading any image JsDelivr will show. So, when uploading a blank image to GitHub or JsDelivr, you can put HTML source code inside.

Instructions (for GitHub)

  1. Download the custom-template.svg file.
  2. Make new repo.
  3. Upload that file to your repo.
  4. Go into the code and put the CSS/JS/HTML code in between the <[CDATA[ ]> part.
  5. Save Changes.
  6. Make sure repo is public.
  7. Go to cdn.jsdelivr.net/gh/<your-username>/<repo-name>@main/<file-path-to-img-file>.
  8. then your website is done!

Notes

  • Doesn't work offline, on a file
  • To see the code on Github, don't go to code or preview tab; go to Blame tab or edit the code.

If Doesn't Work

  • look at another cdn.jsdelivr.net url and compare to yours.
  • Try another server other than cdn.jsdelivr.net.
  • look at my other img file.
  • that means that it's probably blocked.

Credits

dogeub | github (img file running) 2pro12342 | github (guide)

About

A guide to upload and run an HTML file on Jsdelivr to look like a website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors