io.github.Dino-Kupinic/sniptide

السجل الرسمي البحث والويب

Search and manage your Sniptide snippets.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http sniptide 'https://app.sniptide.com/api/mcp' --header 'Authorization: <Bearer token>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "sniptide": {
            "type": "http",
            "url": "https://app.sniptide.com/api/mcp",
            "headers": {
                "Authorization": "<Bearer token>"
            }
        }
    }
}
NPM package @sniptide/mcp
Claude Code
claude mcp add sniptide -e 'SNIPTIDE_TOKEN=<your sniptide_token>' -e 'SNIPTIDE_BASE_URL=https://app.sniptide.com' -- npx -y @sniptide/mcp@0.3.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "sniptide": {
            "command": "npx",
            "args": [
                "-y",
                "@sniptide/mcp@0.3.0"
            ],
            "env": {
                "SNIPTIDE_TOKEN": "<your sniptide_token>",
                "SNIPTIDE_BASE_URL": "https://app.sniptide.com"
            }
        }
    }
}

متغيرات البيئة

  • SNIPTIDE_TOKEN إلزامي سري Personal API token
  • SNIPTIDE_BASE_URL Sniptide instance URL

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Sniptide
  2. Self-host
  3. Documentation
  4. License

Sniptide

A self-hostable pastebin for code snippets, configs, and secrets. Share multi-file pastes with passwords, expiry, or burn-after-read links. Organize reusable snippets in collections, sync .env files, and connect coding agents through the CLI or MCP server.

Self-host

Run Sniptide and Postgres with Docker Compose:

git clone https://github.com/Dino-Kupinic/sniptide.git
cd sniptide
printf 'BETTER_AUTH_SECRET=%s\nBETTER_AUTH_URL=http://localhost:3000\n' "$(openssl rand -hex 32)" > .env
docker compose up -d

Open localhost:3000 and create an account. Use your public HTTPS URL for BETTER_AUTH_URL when deploying to a server. See the self-hosting guide for HTTPS, configuration, backups, and upgrades.

The official Docker image supports AMD64 and ARM64 at ghcr.io/dino-kupinic/sniptide.

Documentation

The API reference is available at /docs/api on your instance.

License

AGPL-3.0

الأسئلة الشائعة

ما هو io.github.Dino-Kupinic/sniptide؟

Search and manage your Sniptide snippets.

كيف أثبّت io.github.Dino-Kupinic/sniptide؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http sniptide 'https://app.sniptide.com/api/mcp' --header 'Authorization: <Bearer token>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.Dino-Kupinic/sniptide إلى مفتاح API؟

نعم. يتطلب SNIPTIDE_TOKEN, Authorization، وتضبطها في إعداداته.

هل io.github.Dino-Kupinic/sniptide مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص AGPL-3.0.

من يصون io.github.Dino-Kupinic/sniptide؟

ينشره Dino-Kupinic. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.