---
title: "Introducing gisthost.github.io"
url: https://daily.dev/posts/introducing-gisthost-github-io-bfmys81py
source_url: https://simonwillison.net/2026/Jan/1/gisthost/
type: article
source: "Simon Willison"
published: 2026-01-01T22:17:07.960Z
updated: 2026-01-01T22:17:29.745Z
tags: ["javascript", "github"]
reading_time: 4
upvotes: 169
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing gisthost.github.io

**[Simon Willison](https://daily.dev/sources/simonwillison)** · 4 min read · 169 upvotes · 2 comments

## Summary

Simon Willison forked gistpreview.github.io to create gisthost.github.io, a tool that renders HTML files stored in GitHub Gists. The original gistpreview uses GitHub Pages and the Gist API to fetch and display HTML content via document.write(), bypassing GitHub's text/plain content-type restriction. The new fork fixes two issues: Substack URL mangling and truncated large files from the API. It also removes jQuery and Bootstrap dependencies, consolidating everything into a single HTML file.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://simonwillison.net/2026/Jan/1/gisthost/>

## Community discussion

Top comments from developers on daily.dev.

**@kigary** · 1 upvotes

> wow, this is cool!! I also checked your blog, thanks for sharing with the world

## Similar posts on daily.dev

- [Quick tip: hosting HTML/CSS/JS demos from source code on GitHub Pages](https://daily.dev/posts/quick-tip-hosting-html-css-js-demos-from-source-code-on-github-pages-h9ycntnrq) · Christian Heilmann · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#github](https://daily.dev/tags/github)

[View this post on daily.dev](https://daily.dev/posts/introducing-gisthost-github-io-bfmys81py)
