← 返回
开发者工具 中文

snipit.sh

Share code snippets and files securely via snipit.sh with AES-256 encryption. Use when sharing code, configs, logs, diffs, or secrets with password protection, burn-after-read, or auto-expiration. Supports CLI (snipit) or curl API fallback.
通过 snipit.sh 以 AES-256 加密安全共享代码片段和文件,支持密码保护、阅后即焚和自动过期,可使用 CLI (snipit) 或 curl API。
homecity homecity 来源
开发者工具 clawhub v1.0.0 1 版本 99937.3 Key: 无需
★ 0
Stars
📥 1,595
下载
💾 16
安装
1
版本
#latest

概述

snipit.sh

Secure code snippet sharing with AES-256 encryption at rest.

CLI Usage

# Install
npm install -g snipit-sh

# Create from file
snipit create server.py

# Pipe from stdin
cat code.js | snipit -l javascript

# With options
snipit create .env -t "Config" -p secret -b -e 1h

# Get snippet
snipit get abc123 -p secret

Options

FlagDescription
-------------------
-t, --titleSnippet title
-l, --languageSyntax highlighting
-p, --passwordPassword protect
-e, --expires1h, 6h, 1d, 3d, 1w, 2w, never
-b, --burnBurn after reading
-c, --copyCopy URL to clipboard

API Fallback (curl)

# Create
curl -X POST https://snipit.sh/api/snippets \
  -H "Content-Type: application/json" \
  -d '{"content":"code","language":"python","burnAfterRead":true}'

# Get
curl https://snipit.sh/api/snippets/{id}

Common Patterns

# Share git diff
git diff | snipit -t "Changes" -l diff

# Share logs (auto-expire 1h)
tail -100 app.log | snipit -e 1h

# Secure config (password + burn)
snipit create .env -p secret123 -b

# Build output
./build.sh 2>&1 | snipit -t "Build log"

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 21:41 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Docker Essentials

arnarsson
核心 Docker 命令和工作流程,包括容器管理、镜像操作和调试。
★ 38 📥 32,238
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,420
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,864