Skip to content

Instantly share code, notes, and snippets.

@jkulton
Last active February 5, 2022 05:44
Show Gist options
  • Save jkulton/59ff2b40f69fc7f4ea2fdd6b1a044648 to your computer and use it in GitHub Desktop.
Save jkulton/59ff2b40f69fc7f4ea2fdd6b1a044648 to your computer and use it in GitHub Desktop.
Gistdoc

Gistdoc

Quickly view GitHub markdown gists as simple blog-style pages1.

How to use

  1. Go to any GitHub gist with at least one markdown file
  2. Change the domain in your browser from gist.github.com to gistdoc.com2
  3. Hit enter
  4. 🎉

About

When you visit a gist's path on gistdoc.com the markdown content from the gist is retrieved from the GitHub API and rendered.

Gist ids are uniquely identifable, so you can omit the username from the path while using Gistdoc. For example, these two URLs will render the same document:

FAQ

What is Gistdoc for?

  • Viewing rendered markdown in a clean, blog-like format
  • Quickly creating and sharing a post
  • Presenting content in a meeting
  • A lightweight blog

Does this work for secret gists?

Yes! Secret gists aren't private, anyone with the link can view a secret gist.3

Why isn't my gist loading?

Make sure your gist includes a file ending in either .md or .markdown

Are there any limits?

Gistdoc uses your browser to retrieve gist content from the GitHub API. GitHub's endpoint for getting gists has a limit of 60 requests per hour for unauthenticated clients. Unless viewing many docs in a short period of time it's unlikely you'll exceed this limit. Gistdoc also does some client-side caching with Next.js, which helps in this respect. You can check your usage at the GitHub API rate limit route.

Feedback

hello@gistdoc.com

(This project is in no way affiliated with GitHub)

Footnotes

  1. This homepage is itself a gist

  2. Shortcut: on a gist double-click "github" in the url, backspace twice, then type "doc" and press Enter

  3. Learn more about secret gists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment