SunPaste | Self-Hosted Paste Sharing for Developers
Documentation | Discord | Pterodactyl Egg | Managed Hosting
SunPaste is a self-hosted platform for sharing code snippets, text, and developer notes - with built-in access controls, a Discord bot, a full REST API, and an admin panel to manage it all.
How It Works
1. Paste - Drop in code or text, pick a language, set visibility, and hit share.
2. Share - Send a link, a raw text URL, a QR code, or an embeddable snippet.
3. Control - Manage expiry, password-protect, restrict access, or let it self-destruct after one view.
Features
- Public, unlisted, and private visibility per paste
- Optional expiration time - pastes become inaccessible after the deadline
- Burn-after-read mode - content is permanently deleted after the first view
- Password-protected pastes with secure hashing
- Custom URL slugs for memorable, shareable links
- Syntax highlighting across dozens of languages
- QR code generated automatically for every paste (three sizes)
- Raw text endpoint for direct content access
- Embeddable paste snippets for use in other pages
- Anonymous paste creation without an account
- Full REST API with paginated listing, create, update, delete, and raw content endpoints
- API key authentication - labeled keys with optional expiry
- Per-user and per-IP rate limiting on all API endpoints
- Bulk export - download all your pastes as a ZIP archive
- Single-paste export as
.txt,.md, or the original language extension - Admin full-database backup as JSON or ZIP
- JSON import with automatic slug conflict resolution
- Discord bot integration - create, retrieve, list, and delete pastes via slash commands
- Create a paste directly from a Discord message or file attachment
- Paste abuse reporting from within Discord
- Discord channel alerts for bot commands and system notifications
- In-app notification center with unread tracking
- Role-based access control with granular permissions
- Custom roles and permission assignments
- Protected admin role and admin user that cannot be accidentally removed
- User management - create, edit, disable, and delete accounts
- Dashboard with paste statistics and activity charts
- Configurable paste size limits for anonymous and authenticated users
- Filesystem offloading for large pastes beyond a configurable threshold
- Private mode - require login before anyone can create or view pastes
- Global force-burn-after-read toggle for ephemeral-only deployments
- Dark mode and custom accent color theming
- Interactive API documentation built in
- Self-hosted - you own the data, the server, and the configuration
ScreenShots
Designed and developed by Kasun Hapangama @ SunDevs | All Rights Reserved 2026
