Self-host QBin
v1.7.3Pastebin alternative with Monaco editor and PWA offline
- Stars
- 573
- Port
- 8000 (HTTP web interface)
naiher/qbinWhat is QBin?
QBin is a lightweight, self-hosted platform for online editing and sharing of text, code, images, and videos. It targets individuals and teams who need a PasteBin alternative with richer editing capabilities. The frontend uses pure HTML, JS, and CSS with Monaco Editor for code, Cherry Markdown for Markdown rendering, and a universal editor for files. The backend runs on Deno with Oak framework, Drizzle ORM supporting PostgreSQL and SQLite, and multi-level caching via Deno KV and Edge Cache. Key features include PWA offline access with IndexedDB, dark/light/system theme modes, real-time auto-save, customizable access paths with optional passwords and expiration times, and OAuth2 authentication (GitHub, Google, Microsoft, custom). Deployment options include Docker Compose (recommended), plain Docker, Deno Deploy, and local Deno CLI. The default port is 8000. Licensed under GPL-3.0.
Should you self-host QBin?
QBin scores 52/100 on selfhost.directory (how scoring works) and ranks #7 of 19 in Pastebins. It has 573 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is GPL-3.0-licensed and written mostly in JavaScript.
Its closest alternative on selfhost.directory is Onetime Secret (61/100, 2 978 stars). It scores higher overall, so compare the two before you pick. See QBin vs Onetime Secret side by side.
Features
- Anonymous access
- Customizable access paths
- Direct link mode
- Expiration times
- File Upload Support
- Multi-level caching
- OAuth2 Authentication
- Password Protection
- Preview Mode
- QR Code Generation
- Real-time auto-save
- REST API
- Rich text and code editing
QBin README
More in Pastebins
quickdropQuickDrop is an open-source, self-hosted file sharing app with pastebin and URL shortener. Chunked uploads, per-file encryption, expiring share links.
rustypasteOpen-source, self-hosted file upload and pastebin service in Rust: expiring and one-shot links, URL shortening, password-protected files, and no database.
SuperBinSelf-hosted open-source tool combining pastebin, file sharing, and URL shortening with AES encryption, QR codes, and curl uploads. Handles large files with fixed memory.
WastebinA self-hosted, open-source minimal pastebin in Rust with 170+ language highlighting, Markdown rendering, encrypted pastes, expiry, burn-after-reading and nine themes.
binbin is a self-hosted, open-source paste bin written in Rust with no database requirement, offering syntax highlighting and curl support for quick text snippet sharing.
bucketsBuckets is a self-hosted, open-source pastebin that stores text and files in memory for 24 hours, with a simple curl-friendly API and web UI.
cowyoSelf-hosted pastebin with real-time collaborative editing, E2E encrypted private pages, password-encrypted blocks, page locking, publishing, and self-destructing notes.
DriftA self-hosted, open-source GitHub Gist clone for sharing private, public, unlisted and password-protected code snippets with syntax highlighting.
EnclosedSelf-hosted, open-source pastebin-style app for end-to-end encrypted notes and file links with passwords, expiry and self-destruction.
hasty-pasteSelf-hosted pastebin with responsive UI, public/unlisted/private pastes, file attachments, Markdown rendering, OIDC SSO, and dark/light themes.
LiteGistSelf-hosted pastebin with multi-file Gists, Git history, Sub-Store integration for Clash/Sing-box, PWA, dark/light themes, admin dashboard, and WebDAV backup.
mainSelf-hosted pastebin alternative with browser encryption, VS Code–like editor, file sharing, whiteboard drawings, and peer connections.
0 comments