# QBin

> Self-hosted pastebin alternative with Monaco editor, Cherry Markdown, PWA offline, customizable paths, OAuth2 login, and multi-level caching.

- **Category:** Pastebins
- **Licence:** GPL-3.0
- **Latest version:** v1.7.3
- **Open source:** oss
- **Languages:** Typescript, JavaScript, HTML, CSS
- **Platforms:** Docker, Docker Compose, Deno
- **Tags:** Markdown, Offline, File Sharing, Editor, Pwa, Deno, Pastebin, Code Editor, Notes, Docker, Self Hosted, Note Taking, Oauth2

## Description

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.

## Links

- [Homepage](https://github.com/quick-bin/qbin)
- [Docker](naiher/qbin)
- [Documentation](https://github.com/Quick-Bin/qbin/blob/main/Docs/document.md)
- [Self-hosting Guide](https://github.com/Quick-Bin/qbin/blob/main/Docs/self-host.md)
- [REST API Documentation](https://github.com/Quick-Bin/qbin/blob/main/Docs/REST%20API.md)
- [GitHub Repository](https://github.com/Quick-Bin/qbin)
- [Docker Hub](https://hub.docker.com/r/naiher/qbin)

---
Source: https://selfhost.directory/project/qbin