TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Serve your GitHub Gists as static websites

8 pointsby timzalmost 2 years ago

1 comment

timzalmost 2 years ago
GitHub Gists are great, but if you have some HTML + CSS + JS in them, it would be nice to be able to preview those as working micro-websites.<p>gistxy.com allows you to do just that (GIst STatic proXY).<p>If you have a Gist URL like:<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;tzador&#x2F;80c83ed5f5a0bdf8c878c5478d7d8401" rel="nofollow noreferrer">https:&#x2F;&#x2F;gist.github.com&#x2F;tzador&#x2F;80c83ed5f5a0bdf8c878c5478d7d8...</a><p>just replace the .github. part with .gistxy. to get GistXY URL:<p><a href="https:&#x2F;&#x2F;gist.gistxy.com&#x2F;tzador&#x2F;80c83ed5f5a0bdf8c878c5478d7d8401" rel="nofollow noreferrer">https:&#x2F;&#x2F;gist.gistxy.com&#x2F;tzador&#x2F;80c83ed5f5a0bdf8c878c5478d7d8...</a><p>and you will get the contents of the Gist served with correct mime-types and a working micro-website.<p>It also renders the markdown files to HTML, so you can focus on reading or sharing just one markdown file.<p>For security reasons, each Gist is served on dedicated subdomain.<p>Not sure how useful this is, but it was quite fun project.<p>Written in <a href="https:&#x2F;&#x2F;kit.svelte.dev" rel="nofollow noreferrer">https:&#x2F;&#x2F;kit.svelte.dev</a> and deployed on <a href="https:&#x2F;&#x2F;vercel.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;vercel.com</a> .<p>Due to rate-limits, it scrapes the gist data from the Gist website, instead of using the GitHub API.