自托管 Pastebin 与临时分享

把日志、配置或密码贴到公共 Pastebin 有泄露风险。自托管的 Pastebin 和机密分享工具可以设置过期时间、阅后即焚,部分工具还在浏览器端加密,服务器也看不到内容。

如何选择

  • 是否端到端加密(浏览器内加密,服务器无法读取)
  • 过期时间、阅后即焚、访问密码等控制项
  • 语法高亮、文件上传,以及命令行 / API 是否方便

推荐软件

共 22 个,按社区推荐次数、评分和点赞排序

极简、开源的加密在线剪贴板,实现零知识分享

基于 Git 的自托管代码片段分享平台,开源替代 GitHub Gist

Store and share text snippets and files within your local network.

Minimal pastebin supporting client-side encryption, fulltext search, one-time messages. Intended for one to few users looking for a simple pastebin deployment.

A paste bin that's actually minimalist.

Zero-knowledge one-time secret sharing. End-to-end encrypted, self-hosted, open source.

Single user snippet manager web app.

Open source on-prem code snippet manager.

Simple paste app friendly with browser and command line.

安全的一次性密码和秘密分享服务,支持自动过期

Simple pastebin with multiple text and code option, with short url result easy to remember.

Beautiful, simple and easy to deploy Pastebin with optional Client-Encryption, Multitab-Pastes, an API, a highlighted Editor and more.

End-to-end encrypted pastebin built with the objective of simplicity.

A super-minimal pastebin and file upload service written in pure C, focusing on small executable size, portability, and ease of configuration.

Share encrypted secrets cross organizations, or as private persons.

Lightweight, minimal and fast pastebin with an SQLite backend.

A code snippet storage solution written in React & node.js

Simple paste sharing platform, with client side encryption, featuring the monaco browser-based code editor.

用 Rust 编写的轻量级文件分享服务,支持命令行和 API

A dead-simple application to securely communicate passwords (or text) over the web. Passwords automatically expire after a certain number of views and/or time has passed.

Very simple (to deploy and to use) secret message service using Hashicorp Vault as a secrets storage.

其他场景