Stars
Forks
Watchers
Developer links
Lenpaste
Share code snippets, logs, configs, and notes without registration, tracking, or ads: Lenpaste is a minimal, self-hosted, anonymous alternative to pastebin.com. It is deliberately spartan in the right ways: no accounts, no JavaScript required (the entire site works in text browsers and hardened setups), and cookies used solely to store display preferences. Pastes support syntax highlighting across a long list of languages (from ApacheConf and Arduino to mainstream stacks), configurable expiration from minutes to unlimited, one-use "burn after reading" pastes that self-delete on first view, optional author attribution, and iframe embedding for dropping pastes into other pages. The form-encoded HTTP API covers everything the UI does - create pastes with title, syntax, expiration, and line-ending normalization, fetch them by ID, and query server capabilities - making it trivial to pipe command output to your paste server from shell scripts. Server operators control maximum title and body lengths, maximum paste lifetime, rate limits for viewing and creation, search-engine indexing policy, and can lock private instances behind HTTP Basic authentication. It deploys as a single lightweight Docker container, giving your team a snippet-sharing endpoint where the content never touches a third-party service.
Benefits
- Snippets Off Third-Party Servers
- Logs and configs pasted for a colleague never land on pastebin.com's servers or in its public archive.
- Zero-Friction Sharing
- No accounts and no JavaScript - a paste is one form submission away from any browser, including text-mode ones.
- Self-Destructing by Design
- Per-paste expiration timers and one-view burn-after-reading pastes keep sensitive text from lingering.
- Scriptable From the Shell
- A simple form-encoded API turns 'pipe this output to a link' into a one-line curl command.
Features
- Syntax Highlighting
- Dozens of language grammars applied server-side - readable code without client scripts.
- Expiration Control
- Per-paste lifetimes from seconds to unlimited, with a server-enforced maximum.
- Burn After Reading
- One-use pastes delete themselves the first time they are opened.
- HTTP API
- Create, fetch, and inspect pastes programmatically; private servers use Basic auth.
- Admin Controls
- Size limits, rate limiting, crawler blocking, and server info pages configured by the operator.
- Embeddable Pastes
- Generated iframes drop any paste into documentation or web pages.