
Pastefy
Feature-rich open-source pastebin and code snippet manager

Pastefy is an open-source, self-hostable Pastebin-style application for sharing and storing code snippets, text files, and lightweight media previews. It provides a web UI and a RESTful API for creating, forking, organizing and retrieving pastes.
Key Features
- Web UI built with Vue and a Java-based backend for creating, forking and managing pastes
- REST API for programmatic paste creation, retrieval and client integrations
- OAuth2 login providers support (multiple providers and custom OIDC configuration)
- Folder and user paste management with admin panel for site administration
- Raw preview, copy button, syntax-aware previews for Markdown, Mermaid, SVG, CSV, GeoJSON, diffs and asciinema recordings
- File upload support and curl-compatible upload endpoint
- Extensions and client libraries (Java, Go, JavaScript/TypeScript) and editor integrations
Use Cases
- Quickly share code snippets, config files or logs with teammates or public audiences
- Store and replay terminal recordings or structured data (asciinema, GeoJSON, CSV) for troubleshooting and demos
- Integrate paste creation into developer tools, CI scripts or editor extensions via the REST API
Limitations and Considerations
- Backend is JVM-based and typically deployed with Maven/Java; requires a Java runtime and a relational database (MySQL commonly used)
- Admin role assignment may require direct database changes for initial setup as noted in administration instructions
- Authentication is primarily OAuth/OIDC based; enterprise directory integrations beyond OAuth may require custom configuration
Pastefy is suitable for teams and individuals who need a lightweight, extensible paste service with API access and rich previews. It balances a modern web frontend with a Java backend and supports common deployment patterns including Docker and Docker Compose.
Categories:
Tags:
Tech Stack:
Similar Services

Syncthing
Open-source, peer-to-peer file synchronization tool.
Open-source peer-to-peer file synchronization with TLS encryption, no central server, and a browser-based UI.

LocalSend
Open-source cross-platform local network file sharing app
LocalSend is a free, open-source app for fast, encrypted file and text sharing between nearby devices over a local network, available on desktop and mobile.
AList
Multi-storage file listing server with WebDAV and previews
AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

copyparty
Portable file server with fast resumable uploads and many protocols
Copyparty is a portable file server with a web UI, accelerated resumable uploads, deduplication, indexing, and support for WebDAV, SFTP, FTP and more.

qBittorrent
Cross-platform BitTorrent client built with Qt and libtorrent
qBittorrent is a fast, free, cross-platform BitTorrent client with a desktop UI and optional Web UI, built on libtorrent for efficient torrent downloading and seeding.

Nextcloud
Open-source collaboration platform for file sync and groupware
Nextcloud is an open-source content collaboration platform providing file sync & share, groupware (calendar, contacts, mail), real-time office editing, chat and video con...

Spring Boot
Docker
TypeScript
Java
Node.js