whatisgithub

What is edgegist?

xream/edgegist — explained in plain English

Analysis updated 2026-05-18

50TypeScriptAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A self-hosted, GitHub Gist compatible service you deploy on Cloudflare's edge network to store and share code snippets under your own control.

Mindmap

mindmap
  root((repo))
    What it does
      Self hosted Gists
      GitHub Gist API
      Cloudflare edge
    Tech stack
      TypeScript
      Cloudflare Workers
      Cloudflare D1
    Use cases
      Private snippet storage
      Sub-Store backups
      Diff and history view
    Audience
      Developers
      Self hosters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run your own private Gist-compatible backend instead of relying on GitHub's hosted service.

USE CASE 2

Point Gist API clients, such as Sub-Store's backup feature, at your own EdgeGist server.

USE CASE 3

Browse, edit, and diff your gists through a web interface with file history.

What is it built with?

TypeScriptCloudflare WorkersCloudflare D1Bun

How does it compare?

xream/edgegistapex-quant-systems/polymarket-weather-trading-botmarketpulselab/solana-rug-checker-bot
Stars505050
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardmoderate
Complexity3/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires a Cloudflare account, Wrangler configuration, and Bun plus a recent Node.js for local development.

So what is it?

EdgeGist is a self-hosted alternative to GitHub Gists, the feature that lets you store and share small pieces of text, code snippets, or configuration files. Instead of keeping your gists on GitHub's servers, EdgeGist lets you run your own version, deployed on Cloudflare's edge network so it runs close to your users for fast response times. It speaks the same API language as GitHub Gists, so any tool already built to work with GitHub Gists can be pointed at EdgeGist instead, just by changing the server address it talks to. One example given is Sub-Store, a subscription management tool that uses gist sharing for backup. Data is stored in Cloudflare D1, which is Cloudflare's serverless database product, and the project is packaged for Cloudflare Pages and Workers. The service is designed for a single owner. That owner gets a web interface at a URL path named after them, where they can browse, search, create, and edit gists, view file history, see what changed between versions in a diff view, and check how much of their Cloudflare free tier quota they are using. Anonymous visitors can read public gists if they know the URL, but secret gists stay hidden from public listings while remaining readable by direct link. Authentication uses a bearer token for API clients and a username, password, and optional Cloudflare Turnstile check for the web interface. Deleting all files in a gist deletes the gist itself. Raw file content is served as plain text so HTML files cannot run in the browser. You would use this if you want your gists stored privately under your own control rather than on GitHub, or if you want gist style storage that keeps working even if GitHub is unreachable. It is built with TypeScript and requires Bun and a recent version of Node.js for local development. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Walk me through deploying EdgeGist to Cloudflare Workers and setting my owner token.
Prompt 2
Help me point Sub-Store's gist backup feature at my self-hosted EdgeGist instance.
Prompt 3
Explain how EdgeGist's public versus secret gist visibility works so I configure it correctly.
Prompt 4
Set up local development for EdgeGist with Bun and Wrangler.

Frequently asked questions

What is edgegist?

A self-hosted, GitHub Gist compatible service you deploy on Cloudflare's edge network to store and share code snippets under your own control.

What language is edgegist written in?

Mainly TypeScript. The stack also includes TypeScript, Cloudflare Workers, Cloudflare D1.

How hard is edgegist to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is edgegist for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.