Pastefy
MIT
- Platform
- Web Linux Docker Self-hosted
- Licence
- MIT Open source
Pastefy
Website: pastefy.app
Pastefy is a free, open-source pastebin: a web app for sharing code, logs and configuration files through a short link. It is the tool you reach for when pasting 300 lines into chat is not an option, and it can be used on the project’s public instance or installed on your own server. The feature set goes beyond the plain textarea of an old-fashioned pastebin, but the interface stays a single editor with a submit button.
What separates it from Pastebin and GitHub Gists is that it is built to be self-hosted. The backend and frontend are open source, Docker images are published, and the Docker Compose example runs Pastefy alongside MySQL. Pastes can be public, private or unlisted, and can be encrypted in the browser before they are sent, so the server cannot read them. Login is optional and, when enabled, is delegated to an OAuth2 or OIDC provider rather than being handled by Pastefy itself.
Key Features
- Rich previews: Pastes render according to their file extension, with dedicated views for Markdown, Mermaid diagrams, SVG, CSV, GeoJSON, diffs, calendars, regular expressions and Asciinema terminal recordings.
- Syntax highlighting: The editor highlights more than 200 languages and offers raw view, copy and full-screen modes.
- Folders and forking: Signed-in users can keep pastes in folders, list and delete their own pastes, and fork an existing paste into an editable copy.
- Visibility and expiry: Each paste can be public, private or unlisted, and can be given an expiration so it disappears on its own.
- Client-side encryption: A paste can be encrypted in the browser, which means the operator of the instance cannot read its contents.
- API and CLI: A v2 REST API covers pastes and folders, with JavaScript/TypeScript, Java and Go clients; a file can also be posted with
curl -F f=@file.txt pastefy.app.
- Editor and desktop integrations: Extensions for Visual Studio Code and Raycast create and manage pastes without leaving the editor or launcher.
- OAuth2 login and admin panel: Authentication can be delegated to Google, GitHub, Discord, Twitch, InteraApps or a custom OIDC provider, and an admin panel at /admin manages users and pastes.
Licence
Pastefy is released under the MIT licence. That permits commercial use, modification, redistribution and self-hosting, provided the copyright notice and permission notice are kept; there is no copyleft requirement to publish your changes.
Views: 3