
Single-user pastebin with a terminal CLI, syntax highlighting and memorable links, on a Worker with a D1 database
- Deploy
- One-click
- License
- MIT
- GitHub stars
- 148 stars
- Last commit
GitHub Gist is GitHub’s hosted service for sharing code snippets and notes, where each gist is a small Git repository. One listed app does its main job and runs in your own Cloudflare account.
Each answer comes from the app’s README and source code, compared with the features GitHub Gist describes on its own site.

Single-user pastebin with a terminal CLI, syntax highlighting and memorable links, on a Worker with a D1 database
| Feature | pbnj |
|---|---|
| Share code snippets by link | Yes |
| Syntax highlighting | Yes |
| Secret gists that are unlisted | Yes |
| Revision history through Git | No |
| Several files in one gist | No |
| Stars, forks and comments | No |
| Embedding in web pages | No |
| Creating gists from the command line with gh | Yes |
Single-user pastebin with a terminal CLI, syntax highlighting and memorable links, on a Worker with a D1 database
Sources:github.com/bhavnicksm/pbnj#readmegithub.com/bhavnicksm/pbnj/tree/main/docsdocs.github.com/en/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists