A minimal, fully client-side viewer for HTML gists hosted on Opengist https://gistviewer.l3x.in/
  • Svelte 44.2%
  • TypeScript 27.7%
  • JavaScript 21.2%
  • CSS 3.6%
  • HTML 3.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
alex 6a52034d4e
All checks were successful
Build / build (push) Successful in 22s
fix: strip hidden Unicode (U+200B) from build output
Co-authored-by: alex <alex@forge.l3x.in>
2026-07-16 04:13:24 +00:00
.forgejo/workflows chore(ci): update runner label 2026-07-15 14:18:24 +00:00
dist fix: strip hidden Unicode (U+200B) from build output 2026-07-16 04:13:24 +00:00
scripts fix: strip hidden Unicode (U+200B) from build output 2026-07-16 04:13:24 +00:00
src docs: update text 2026-06-30 12:42:34 +03:00
.gitignore feat: first commit 2026-06-30 10:40:51 +03:00
bun.lock chore(deps): update dependency typescript to v7 2026-07-15 02:03:00 +00:00
index.html feat: first commit 2026-06-30 10:40:51 +03:00
package.json fix: strip hidden Unicode (U+200B) from build output 2026-07-16 04:13:24 +00:00
README.md docs: update readme 2026-06-30 08:45:53 +00:00
renovate.json chore: add renovate.json 2026-07-14 16:11:48 +03:00
svelte.config.js feat: first commit 2026-06-30 10:40:51 +03:00
tsconfig.json feat: first commit 2026-06-30 10:40:51 +03:00
vite.config.ts feat: first commit 2026-06-30 10:40:51 +03:00

Opengist Web Viewer

A minimal, fully client-side viewer for HTML gists hosted on a self-hosted Opengist instance. Modelled on https://pi.dev/docs/latest/usage#exporting-and-sharing-sessions. Open the viewer bare and you get a single centered form — paste an Opengist URL, hit View. Open a share link (…/#<opengist-url>) and the gist renders full-screen, filling the entire viewport as if it's the only content.

Usage

Open the viewer with the gist URL as fragment:

https://your-host/#https://opengist.myhost/alex/1234

…or just open the page and paste the URL into the form.

Security model

  • Non-HTML gists are shown as escaped <pre> text.
  • The viewer sends no credentials; only public/unlisted gists are reachable. private gists will 404.
  • A <meta> CSP restricts connect-src to https:/http: so any self-hosted instance is reachable.