Repository navigation
Description
We're proposing gists: long-form posts on /dev/null, written by developers and organizations. They build on organization commits (#938), so we'll only start work once that stack has shipped.
Why?
- Longer posts: commits are capped at 4,000 characters. If you're writing a release write-up, postmortem, tutorial or project update, you need headings, code and images. Today, those posts live off-site.
- Project news: once you can commit as an organization, gists give you a format for changelogs and announcements.
- Discussion in the log: every gist is published through a commit, so the conversation stays where you already are.
Naming
A long-form post is a gist: the gist of something, its essence. GitHub already uses the word for code snippets, and every account here is a GitHub account. We just give it a different meaning.
What a gist is
- Your gist needs a title. The Markdown body can be up to 50,000 characters, with headings, lists, tables, links and code blocks highlighted like commits. We strip raw HTML.
- You can add inline images and embedded players, with up to 10 images and embeds combined. We support the same providers as commits: paste a URL on its own line to embed it. A URL inside a sentence stays a normal link.
- You'll see a reading time, calculated when shown. We count prose only at about 230 words per minute, round up, and show at least 1 minute.
- Polls, scheduling, view counts, and posting from the terminal or the GitHub Action aren't supported. Translation comes later; it won't be part of the first release.
Who can write one
- Developers: you can write gists as yourself.
- Organizations: any admin or member can write a gist for the organization. All of [RFC] Orgs #938's brand-account rules apply, without exceptions. As a reader, you see only the organization, with no byline. Organization gists get no pastéis, and you cannot star your organization's gists as a member. Blocking or muting the poster does not hide the gist. Every member is notified of activity on it.
Every gist is a commit
Your gist appears in the Following, Latest and Trending logs through one already-approved commit, the way a poll belongs to a commit:
- You can add an optional intro, using the commit length limit. It's moderated with the gist. A native gist card shows the title, excerpt and reading time. The card reads the current gist, so you'll see edits there while the commit's own body stays unchanged.
- The commit holds the stars, pastéis, replies and notifications. Blocks and mutes apply through it.
- You can read the replies at the bottom of the gist too. The conversation stays on the commit and is mirrored on the gist.
- We create the commit at approval. Your gist is published and appears in the logs when approved, not when written.
Writing and publishing
- Drafts: your drafts are stored on the server and private to you, including organization drafts. You can edit them without approval. After 30 days without an edit, a draft expires and is deleted with its images. You'll see the expiry in your drafts list, and we'll notify you 5 days and 1 day before a draft expires.
- Submitted: once you submit a gist, it's locked so moderators review a fixed version. You can withdraw it to return it to drafts.
- Organization approval: if you're an organization admin, you get an in-app notification and review submissions in a Gists queue in the organization settings. This step is skipped when the poster is one of the organization's admins.
- Moderation: every gist goes through the existing AI moderation, then needs a moderator's approval. AI approval alone never publishes it. If you're a site admin, your gists are approved automatically.
- Rejection: an organization admin or moderator can reject a gist with an optional reason. If yours is rejected, you're notified. Rejection is final, but you can still see the gist until you delete it. Trying again requires a new gist, as with commits.
flowchart LR
draft[Draft] -- submit --> submitted[Submitted]
submitted -- withdraw --> draft
submitted --> isOrganization{Organization gist?}
isOrganization -- "yes, poster isn't an organization admin" --> organization[Organization approval]
isOrganization -- "no, or poster is an organization admin" --> ai[AI moderation]
organization --> ai
ai --> manual["Manual approval<br/>(always, even when the AI approves)"]
manual --> published[Published]
Edits and follow-ups
You can edit and add follow-ups if you're the author, one of the organization's admins for an organization gist, or a site moderator.
- Edits: you have 24 hours after publication to edit a gist. Each edit creates a pending revision and follows the same approval chain. Readers keep seeing the approved version, with only one edit pending per gist at a time. An edit submitted within the window can still be approved after it closes.
- History: you can see every approved edit in a public, git-diff-style history of the title and body, with an optional reason of up to 280 characters and no names.
- Follow-ups: after the 24 hours, you can add short Markdown updates. They appear at the top of the gist, newest first, and follow the same approval chain. They can only be deleted, not edited. They don't bump the gist in the logs or notify anyone.
- Site moderators: your edits and follow-ups go live without review. Your edits still respect the 24-hour window.
Deleting
You can delete a gist if you're the author, one of the organization's admins for an organization gist, or a site moderator.
Deleting either the gist or its commit deletes both, with the usual 30-second undo. The commit stays as a [deleted] tombstone while it has replies, like any top-level commit.
Where gists show up
- Logs: you'll see gists in Following, Latest and Trending through their commit.
- Gists in the menu bar: you get one list of every published gist, newest first, with no Following or Trending tabs. You can read it as a guest too.
- Featured: if you're a moderator, you can feature and unfeature gists from the gist page. Up to 5 are pinned at the top of the Gists page, ordered by when they were featured. This doesn't affect the logs. Each has an optional expiry date that unfeatures it automatically. You can't feature a sixth until one is unfeatured. We notify the author, or the organization's members, when a gist is featured.
- Profiles and organization pages: you'll see a Gists tab only when there's at least one published gist.
- URLs: your gist lives at
/@handle/gists/{slug}. The slug comes from the title at approval and is unique per author, with a short suffix on a clash. It never changes, even if you edit the title later. - Atom feeds: you can read
/gists.atomand/@handle/gists.atom, both with full content, newest published first. - Search and Tom: you can find gists through commit search, related commits and Tom.
- API: gists have full parity for the mobile and Mac apps and in the public read-only API.
Limits
| Drafts | Submitted at once | |
|---|---|---|
| Developer | 5 | 3 |
| Organization | 25 | 10 |
Your organization drafts and submissions count only toward the organization's limits. Gists share the existing posting rate limits too.
People leaving, bans, and deleted accounts
- If you leave an organization or delete your account, your drafts and submissions for that organization are deleted. Your published organization gists stay with the organization, with the link to your account removed.
- If you're banned or timed out, your submitted gists return to drafts.
- If GitHub deletes an organization, its gists are erased like its commits.
- Your data export includes your own gists, revisions, follow-ups and drafts. Deleting your account erases them, including each gist's commit and its whole thread, like any top-level commit. Organization gists you posted belong to the organization and aren't included in your export.
For contributors
Rendering, search and API
We render gists on the server with tempest/markdown. tempest/markdown will replace league/commonmark, including for the knowledge base, so there's one Markdown library.
The gist's commit holds the hot score and search embedding. We embed it using the title and the start of the body, then embed it again when an edit goes live. Commit search, related commits and Tom can find gists without a new tool. Tom's SearchCommits returns the gist URL, so we're updating Tom's decision policy, guidance and routing tests with it.
The API identifies gists by ID.
Data model (sketch)
We're storing only what the feature needs. Publication time, the edit window and reading time come from the commit and content instead of being stored. For organization gists, we store who posted it and who edited each version for moderation only.
gists: author profile (author_id), the account that posted it (user_id, set to null when that account is deleted), publication commit (set at approval), status (draft, pending organization, pending, approved, rejected), title, body, intro, slug (set at approval), AI moderation decision,featured_at,featured_ends_at, timestamps (updated_atdrives draft expiry).gist_revisions: every published version of the title and body, including the first, for the diff history. Also the editor (user_id, stored for moderation only, set to null when that account is deleted), optional reason, status and AI moderation decision.gist_follow_ups: body, who posted it (stored for moderation only, set to null when that account is deleted), status, AI moderation decision,published_at.gist_images: inline images are re-encoded and stored on a private disk, likecommit_images. Embeds reuse link previews.
Drafts and pending content are not encrypted, like pending commits. Every user-related row cascades or is removed in DeleteUser. We're adding a new key to the export and bumping its schema_version.
Product rules this changes
- Commits are immutable: we're adding one exception for gists, editable for 24 hours after publication with a public history. The gist's commit stays immutable.
- Nothing is public before moderation: manual approval is required for every gist not written by a site admin, making this rule stricter.
- We're adding gist to the vocabulary and a Gists line to capabilities in
PRODUCT.md.KNOWLEDGE_BASE.mdis updated with the implementation.
Proposed stack
Each layer can be reviewed and deployed separately:
- Gists and drafts on the web.
- Submitting, the organization queue, and moderation.
- The publication commit and its card in the logs.
- The gist page, replies, embeds and images, and reading time.
- Edits, revisions and the diff history.
- Follow-ups.
- The Gists page, profile and organization tabs, and featuring.
- Feeds, search and Tom.
- API parity.
- Export and account deletion. Each earlier layer also keeps
DeleteUsercomplete as it adds data.
Mocks
Built inside the current app, so they use its real components. Every person, organization and gist in them is made up.
The gist card in a log
The Gists page, with featured gists pinned at the top
A gist: follow-ups at the top, the body, then the discussion from its commit
The edit history
Writing a gist
Posting as an organization
Drafts and submissions
The Gists tab on a profile
The Gists tab on an organization page
The organization's review queue
The moderation queue: a new gist, an edit, a follow-up
What do you think?











Activity
mnapoli commentedon Nov 1, 2026
I'm on the fence about having this at all, but ignoring that for now to comment on the details:
The one thing that makes me think this could be great is that all developers, at some point, want to create a blog/personal website. And maybe /dev/null could fill that role, like dev.to or medium try.
So maybe user profiles should have a way to make these blog posts very visible? Like a personal website would?
xHeaven commentedon Nov 1, 2026
The naming can change, it's not solidified. As per the dictionary, "gist" means "the most important pieces of information about something, or general information without details". While GitHub kind of made up its own terminology of gists, it doesn't mean code snippets at all. That's why I was playing with the idea, but I'm okay with changing it.
The reason I would only allow edits up to a certain period is mostly due to SEO. If a search engine indexes a certain page with certain information on it, and the information randomly changes to something completely different, the SEO of that page is ruined. This is why I came up with the idea of "followups", which are essentially the corrections you're referring to.
They DO appear in the timeline! In fact, every Gist is tied to a Commit. The commit itself is what gets the upvotes, pastéis, and even replies - the replies are only mirrored to the Gist's bottom part itself. This would keep the conversation going on the timeline, while Gists would have their own, separated page purely for reading them, and not mixing markdown with the current Log. They could become topics, but since these are essentially (long form) Commits with an extra step, if you follow the person OR the organization, you are basically being "notified" on a new Gist, per se.
Yes. Images and videos embedded where you paste them, up to 10 (can change) per Gist.
This is not something I have planned, but I think it's a really good idea. Basically what you are proposing is that a Gist could be curated not only by its author, but also the community, correct? Though this would imply the content (maybe?) staying editable for far longer than 24 hours, which I'm not sure I'm comfortable with due to the aforementioned SEO issues.
100% agree. A platform, where you can share your thoughts, tutorials, writeups, general long form discussions, all centralized, from developers to developers, guaranteed.
Could be a possibility - on user and organization profiles, there would be a Gists tab (just like Commits, Replies), I'm sure we could think of something that could put these into the spotlight a bit more.
mnapoli commentedon Nov 1, 2026
Replying only on some points, the rest I think we agree:
I think it's worth a deeper research for the SEO argument, because AFAIR SEO rewards updated pages (evergreen content).
In any case, and that's just my take, but as someone who write blog posts here and there, that's a problem for me. Even fixing links in old posts is something I do once in a while.
The idea I was suggesting was instead to not have a commit and show the gist directly in the timeline. I.e. a gist would be a long-form commit, like on X. I'm not sure it's better yet.
Good point, though we could cleanup the formatting for the timeline extract preview so I don't see this as a blocker.
My point about topics is that it would allow "watching" all replies to a specific gist, cause maybe you want to follow all the discussions about it (≠ than seeing all gists from a profile). That's very much like Reddit when you come back to a specific post to view what everyone has to say about it. I do that often.
Not exactly, maybe I'm mixing up 2 different use cases for the same feature actually:
Same feature, different use cases.