Pastefy logo

Pastefy

Website

Feature-rich open-source pastebin and code snippet manager

450 stars 86 forks last commit first released MIT

Actively maintained

Last commit 1 Jun 2026.

Pastefy screenshot

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:

Share:

Similar to Pastefy

ShotShare

Minimal self-hosted image sharing and screenshot hosting platform

180
14
Last commit

Open-source, self-hosted image sharing app for screenshots and quick uploads with Docker, ShareX support and configurable database/storage backends.

MITLikely dormant
Alternative to:
Imgur logo
Imgur
+5
Plik logo

Plik

Temporary file upload and sharing service with web UI and CLI

1.8k
196
Last commit

Plik is a WeTransfer-like temporary file upload and sharing service with a web UI, CLI client, REST API, expiration (TTL), and multiple storage backends.

Actively maintained
Alternative to:
WeTransfer logo
WeTransfer
+6
Kutt logo

Kutt

Modern URL shortener with custom domains, stats, and an API

11.1k
1.5k
Last commit

Open-source, self-hostable URL shortener with custom domains, link management, private analytics, and a REST API.

MITActively maintained
Alternative to:
Bitly logo
Bitly
+11
flatnotes logo

flatnotes

Database-less Markdown note-taking web app with full-text search

3.2k
206
Last commit

Self-hosted, database-less note-taking web app that stores notes as plain Markdown files in a folder, with tagging, wiki links, and full-text search.

MITActively maintained
Alternative to:
Simplenote logo
Simplenote
+13
Chibisafe logo

Chibisafe

Self-hosted file vault and uploader with shareable links

2.8k
298
Last commit

Chibisafe is a fast, self-hosted file uploader and vault for files, photos, and documents with shareable links, albums, tagging, and API access.

MITActively maintained
Alternative to:
WeTransfer logo
WeTransfer
+16
Christmas Community logo

Christmas Community

Web app for shared family wishlists and gift tracking

423
62
Last commit

Self-hosted web app for family wishlists to share gift ideas, avoid duplicate gifts, supports SSO, CouchDB/PouchDB storage and Docker deployment.

AGPL-3.0Actively maintained
Alternative to:
Elfster logo
Elfster
+3