A minimal, fully client-side viewer for HTML gists hosted on Opengist https://gistviewer.l3x.in/
  • Svelte 47.3%
  • TypeScript 29.7%
  • JavaScript 15.6%
  • CSS 3.9%
  • HTML 3.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
forgejo-actions[bot] d1ca62d07e chore: rebuild dist/
2026-11-06 23:25:12 +00:00
.forgejo/workflows chore(deps): update major updates 2026-09-25 22:12:41 +00:00
dist chore: rebuild dist/ 2026-11-06 23:25:12 +00:00
scripts feat: replace Bun with PNPM 2026-09-25 09:26:57 +07: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
index.html feat: first commit 2026-06-30 10:40:51 +03:00
package.json chore(deps): update major updates 2026-09-25 22:12:41 +00:00
pnpm-lock.yaml chore(deps): update all non-major dependencies 2026-11-06 23:19:26 +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.