Overview
Discover what makes Paaster powerful
Paaster is a lightweight, end‑to‑end encrypted pastebin designed for self‑hosted environments. From a developer’s perspective, it offers a clean separation between the web UI, API layer, and storage backend. Paste data is never stored on the server in plaintext; instead it is encrypted client‑side and only decrypted in the browser, ensuring that even privileged administrators cannot read user content. The application’s history feature is backed by a MongoDB instance, while the actual paste payloads are stored in an S3‑compatible object store (AWS S3, MinIO, or any compatible provider). This dual‑storage strategy keeps the database lean and improves scalability.
Frontend
Backend
Storage
Containerization
Overview
Paaster is a lightweight, end‑to‑end encrypted pastebin designed for self‑hosted environments. From a developer’s perspective, it offers a clean separation between the web UI, API layer, and storage backend. Paste data is never stored on the server in plaintext; instead it is encrypted client‑side and only decrypted in the browser, ensuring that even privileged administrators cannot read user content. The application’s history feature is backed by a MongoDB instance, while the actual paste payloads are stored in an S3‑compatible object store (AWS S3, MinIO, or any compatible provider). This dual‑storage strategy keeps the database lean and improves scalability.
Architecture
- Frontend: Built with modern React (or Preact) and Vite, the UI is a single‑page application that bundles all assets into static files. No dynamic third‑party scripts are loaded at runtime; everything is resolved during the build step, mitigating supply‑chain risks.
- Backend: A Node.js/Express server exposes a minimal REST API for creating, retrieving, and deleting pastes. Authentication is handled via signed cookies with a
COOKIE_SECRET. - Storage:
- Metadata: MongoDB stores paste metadata (ID, timestamps, expiration policy).
- Content: S3 or compatible object store holds the encrypted paste blobs. The server only streams these objects to the client; it never decrypts them.
- Containerization: Docker images are available on Docker Hub (
wardpearce/paaster). The provideddocker-compose.ymldemonstrates a fully self‑contained stack with MongoDB and MinIO, but the application can be deployed behind any reverse proxy (Caddy, NGINX, Traefik).
Core Capabilities
- End‑to‑end encryption: Client-side AES‑256 GCM, key derivation via Argon2id.
- Paste lifecycle: Single‑view deletes, time‑based expirations, and manual deletion.
- API: CRUD endpoints for pastes; supports JSON payloads and URL‑encoded forms.
- CLI Tool: A separate repository (
paaster-cli) provides a command‑line interface to upload pastes directly from the terminal. - Internationalization: Uses
i18nwith language detection and a contribution workflow via Inlang. - QR Code generation: Server‑side QR code rendering for quick mobile sharing.
Deployment & Infrastructure
Paaster is intentionally minimalistic to ease scaling. The stateless Node.js process can be replicated behind a load balancer; each instance requires only the same environment variables and access to the shared MongoDB/MinIO cluster. For high availability, deploy MongoDB in a replica set and MinIO with erasure coding or an S3 gateway. The Docker Compose example shows a single‑node setup, but the architecture supports horizontal scaling without modification.
Integration & Extensibility
- Webhooks: The API can emit events (e.g., paste created, deleted) that external services can consume.
- Plugin hooks: While the core does not expose a formal plugin system, middleware can be added to the Express app by extending the source code.
- Custom domains: The reverse proxy configuration demonstrates how to expose Paaster on arbitrary subdomains, enabling integration into existing infrastructure.
- OAuth / SSO: Not included by default but can be integrated by adding authentication middleware.
Developer Experience
- Configuration: All settings are exposed as environment variables; the README provides a comprehensive list.
- Documentation: The repository includes detailed usage, deployment guides, and a contribution path for i18n.
- Community: The project is open source on GitHub, with active issue tracking and a clear license (MIT).
- Security focus: Use of
package-lock.jsonand Socket.dev scans ensures dependency integrity, while the build process eliminates dynamic script loading.
Use Cases
- Internal tooling – Developers can host a private pastebin for code snippets, error logs, or configuration files that must remain confidential.
- CI/CD pipelines – The CLI tool allows automated upload of build artifacts or logs to a secure, self‑hosted paste service.
- Incident response – Security teams can share encrypted evidence without exposing it to external services.
- Educational environments – Teachers can host a pastebin for assignments, ensuring that student work stays within the institution’s network.
Advantages
- Privacy‑first design: End‑to‑end encryption guarantees that only the intended recipient can read content.
- Zero external dependencies: All assets are bundled; no runtime script loading reduces attack surface.
- Flexible storage: Compatible with any S3‑compatible provider, making it easy to use cloud or on‑prem solutions like MinIO.
- Lightweight: Minimal runtime footprint allows quick startup and easy scaling.
- Open source & permissive license: MIT licensing removes deployment constraints, making it suitable for commercial use.
Paaster offers developers a secure, self‑hosted pastebin that balances simplicity with robust privacy guarantees, all while remaining highly configurable and easily integrable into existing infrastructure.
Open SourceReady to get started?
Join the community and start self-hosting Paaster today
Related Apps in other
Immich
Self‑hosted photo and video manager
Syncthing
Peer‑to‑peer file sync, no central server
Strapi
Open-source headless CMS for modern developers
reveal.js
Create stunning web‑based presentations with HTML, CSS and JavaScript
Stirling-PDF
Local web PDF editor with split, merge, convert and more
MinIO
Fast, S3-compatible object storage for AI and analytics
Weekly Views
Repository Health
Information
Explore More Apps
Rygel
DLNA/UPnP media server and renderer for home networks
SourceBans++
Centralized ban and admin management for Source engine servers
OpenSlides
Digital assembly platform for agendas, motions and elections
Statistics for Strava
Self-hosted dashboard for your Strava data
Pixelfed
Decentralized photo sharing without algorithms
Matchering
Instant audio mastering by reference matching
