GitHost

GitHub to jsDelivr CDN link converter

Paste a link to a file on GitHub. You get jsDelivr CDN links (latest, and pinned to a commit or tag) and a Markdown embed. Free, no sign-in.

A github.com/…/blob/… or raw.githubusercontent.com/… link to a file in a public repo. Try or .

Files not on GitHub yet?

GitHost uploads them to your own GitHub repo by drag and drop, then copies these same jsDelivr links (latest or pinned) and Markdown embeds for you.

Upload files in GitHost

How the links work

jsDelivr serves files from public GitHub repos at https://cdn.jsdelivr.net/gh/OWNER/REPO@VERSION/PATH. VERSION picks which copy of the file you get:

For a branch link, the converter asks GitHub's public API which commit the branch points to now and pins to that commit. That request goes from your browser straight to GitHub, without a token; nothing is sent to GitHost.

Questions

Does it work with private repos?
No. jsDelivr can only read public repos, and CDN links are for public files. GitHost can still show your private files when you sign in with GitHub.
Are there size limits?
Yes. jsDelivr serves files up to 20 MB and has a fair-use policy, and GitHost uploads files up to 50 MB each. Neither is unlimited.
Which link should I put on a website?
A pinned link (commit or tag) if the page must always show the same file. @latest if it should pick up new releases.