BinPastes
Minimal pastebin supporting client-side encryption, fulltext search, one-time messages. Intended for one to few users looking for a simple pastebin deployment.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
BinPastes is an open-source Pastebin (text/code paste sharing) application written by developer querwurzel. The project describes itself as "an easy-to-use Pastebin for self-hosters." The author had long used open-source Pastebin apps written in PHP, such as PasteBin, sticky-notes and Paste, and even maintained them himself so they would run on newer versions of PHP. Eventually he decided to write one of his own, and that is how BinPastes came about.
Key Features
- Note overview and full-text search: Browse all notes on a single page and search them by content with full-text search.
- Expiration: Notes can be set to expire automatically after a period of time, or kept permanently.
- Visibility settings: The exposure level of each note can be set individually.
- Client-side encryption: Content is encrypted in the browser before it is submitted, which makes it suitable for sharing sensitive text.
- Dark mode: The interface comes with a built-in dark theme.
- Single-file deployment: The build produces just one
binpastes.jar, so whoever deploys it doesn't need to know which build tools, frameworks or programming languages the project uses.
Target Users and Use Cases
It suits individuals, tech enthusiasts and small teams who want to stay in control of their own data and replace public Pastebin services. You can use it to share code snippets, logs and configuration files, or to pass along a piece of sensitive text temporarily.
Technical Requirements
- JDK 21 or later
- MySQL 8 or later
The JDK only needs to be extracted to any location on the file system; the java executable is in the bin directory.
Deployment
- Configure: Copy
application-mysql.propertiesfrom the repository, fill inmysql.host,mysql.database(defaultbinpastes),mysql.usernameandmysql.passwordfor your environment, then place the file next tobinpastes.jar. - Build:
./mvnw clean package -Denv=mysql
The resulting file is at backend/build/binpastes.jar.
3. Run:
java -Dspring.profiles.active=mysql -jar binpastes.jar
Notable Points
- Released under the Apache License 2.0.
- The code is split into backend and frontend parts and built with Maven. Judging from the
spring.profiles.activestartup parameter, the backend is probably based on Spring. - The project is small and simple to deploy, making it a good fit for users who want a lightweight, easy-to-maintain self-hosted Pastebin.
Discover more
Pastefy
Beautiful, simple and easy to deploy Pastebin with optional Client-Encryption, Multitab-Pastes, an API, a highlighted Editor and more.
Spacebin
Modern Pastebin server written in Go with a JS-free web UI and tons of features.
1time
Zero-knowledge one-time secret sharing. End-to-end encrypted, self-hosted, open source.
Apache Solr
Enterprise search platform featuring full-text search, hit highlighting, faceted search, real-time indexing, dynamic clustering, and rich document (e.g., Word, PDF) handling.
ByteStash
A code snippet storage solution written in React & node.js
Chiyogami
Yet another pastebin