Categories
self-hosted developer-tools productivity pastebin code-sharing snippet-manager gist-alternativeStars
Forks
Watchers
Developer links
Pastefy
Pastefy gives developers a self-hosted pastebin and GitHub Gist workspace where multi-file code snippets, Mermaid architecture diagrams, and terminal recordings can be shared in a single click or cURL command. Its multi-tab editor highlights syntax across more than 200 programming languages so you can bundle scripts, configuration files, and documentation inside one URL. Markdown notes render cleanly. SVG graphics, CSV tables, GeoJSON maps, unified diffs, calendar events, regex testers, and Asciinema `.cast` terminal sessions all preview interactively in the browser. Sensitive snippets stay locked behind client-side AES password encryption, automatic expiration timers, and public, unlisted, or private visibility controls. Authenticated users organize pastes into nested folders, fork community snippets, generate QR codes or styled code screenshots, and embed interactive viewers into external docs. Command-line users pipe output directly via `curl -F [email protected]`, manage pastes from VS Code or Raycast extensions, and automate workflows through the REST API v2 with official JavaScript, Java, and Go SDKs. Single sign-on supports GitHub, Google, Discord, Twitch, and custom OpenID Connect providers. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Rich Interactive Previews Beyond Plain Text
- Render Markdown docs, Mermaid diagrams, GeoJSON maps, CSV tables, unified diffs, SVG vectors, and Asciinema terminal recordings directly inside the browser alongside raw syntax-highlighted source code.
- Multi-Tab Pastes and Nested Folder Organization
- Bundle multiple related source files into a single multi-tabbed paste and organize saved snippets into hierarchical folders with one-click forking, tags, and full-text search across accounts.
- Client-Side Encryption and Access Governance
- Protect confidential logs and credentials using client-side password encryption, configurable expiration timestamps, private or unlisted visibility modes, and OAuth2 or OpenID Connect single sign-on policies.
- Seamless CLI, IDE, and API Workflows
- Upload files directly from terminal pipelines via standard multipart cURL requests, manage snippets inside VS Code and Raycast, or integrate programmatically using REST API v2 SDKs.
Features
- Multi-Format Live File Previews
- Automatically renders interactive views for `.md`, `.mermaid`, `.svg`, `.csv`, `.geojson`, `.diff`, `.ics`, `.regex`, and Asciinema `.cast` terminal recording files in the browser.
- Direct cURL and Asciinema Uploads
- Accepts direct command-line file uploads via `curl -F [email protected]` HTTP multipart POST requests and native terminal session publishing from the Asciinema CLI client.
- OAuth2 and Custom OIDC Authentication
- Integrates with GitHub, Google, Discord, Twitch, InteraApps, and custom OpenID Connect identity providers, with admin controls for mandatory login and user management.
- REST API v2 and SDKs
- Exposes a comprehensive RESTful HTTP API with bearer token authentication and official client libraries for JavaScript/TypeScript, Java, and Go applications.
- VS Code and Raycast Extensions
- Provides official extensions for Visual Studio Code and macOS Raycast so developers can create, search, and share code snippets without leaving their editor.