pastebin
仓库创建 2026年2月16日最近提交 21 天前SkillHot 收录 20 天前
▸ 精选理由
便于安全共享短文档与代码片段,适合跨网段分享。
▸ 风险提示
需访问并上传到自托管域名,生成的链接本身即为密钥,注意泄露。
这个 Skill 做什么
将文本/Markdown 加密发布到自托管 PrivateBin 并生成可分享链接。
把文本或 Markdown 做端到端加密后发布到自托管的 PrivateBin(paste.${DOMAIN}),生成可分享的链接,适合把文档、笔记或代码片段给外部人员看。服务器只存密文,解密密钥在 URL 的 hash 里,所以拿到完整链接的人就能查看;也支持用 pbincli 读取或删除已有 paste。
▸ 展开 SKILL.md 英文原文
Publish text or markdown as an end-to-end-encrypted paste with a public shareable link, using the self-hosted PrivateBin at https://paste.${DOMAIN}/. Use when the user asks to publish, share, or paste a document, note, report, or snippet for someone else — especially recipients outside the tailnet. Also covers reading and deleting existing pastes via pbincli.
0
Stars
0
Forks
6
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/moiri-gamboni/roost/main/files/skills/pastebin/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/moiri-gamboni/roost/main/files/skills/pastebin/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# PrivateBin (paste.${DOMAIN})
Self-hosted zero-knowledge pastebin. Encryption and decryption happen client
side; the server stores ciphertext only. The decryption key is the URL
fragment after `#` and never reaches the server — anyone holding the full
link can decrypt, so treat links to sensitive content as secrets themselves.
The public hostname is **read-only** (Caddy rejects tunnel-tagged write
methods with 403). Pastes are created only from this server, through the
loopback origin.
## Publish
`pbincli` (a uv tool on PATH) is preconfigured in
`~/.config/pbincli/pbincli.conf` to use the loopback origin
`http://127.0.0.1:8095/` — the only endpoint that accepts writes:
```bash
OUT=$(pbvia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有