io.github.CloudCorpRecords/dropnote

السجل الرسمي أخرى

Drop a short text fragment into the noglow desktop scratchpad's target slot via the local app.

ماذا يمكنك أن تفعل مع io.github.CloudCorpRecords/dropnote؟

  • drop — Drop a short text fragment (up to 1500

التثبيت

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

NPM package @reneturcios/dropnote
Claude Code
claude mcp add dropnote -- npx -y @reneturcios/dropnote@0.1.0 mcp
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "dropnote": {
            "command": "npx",
            "args": [
                "-y",
                "@reneturcios/dropnote@0.1.0",
                "mcp"
            ]
        }
    }
}
OCI package ghcr.io/cloudcorprecords/dropnote:0.1.0
Claude Code
claude mcp add dropnote -- docker run -i --rm ghcr.io/cloudcorprecords/dropnote:0.1.0 mcp
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "dropnote": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/cloudcorprecords/dropnote:0.1.0",
                "mcp"
            ]
        }
    }
}

التوثيق

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

المحتويات
  1. dropnote
  2. CLI
  3. MCP server
  4. Docker
  5. Development
  6. License

dropnote

Sometimes you just need a fragment of text to land in a scratchpad — a line you copied out of a terminal, a half-formed thought, a snippet you do not want to lose while you switch windows. dropnote performs that one small hand-off: it takes a short plaintext fragment and drops it into the noglow desktop scratchpad's target slot (the slot is chosen in the app's own settings) by launching the local noglow app.

The text never travels as a command-line string. dropnote writes it, byte-for-byte as UTF-8, to a uniquely-named temporary file (noglow-drop-<unique>.txt in the OS temp directory) and spawns the app with a single argument, --drop-file <path>. Because only the path sits on argv, newlines, quotes, $ and backticks all survive exactly as written, and the fragment itself stays out of the process list. The spawn is fire-and-forget: dropnote reports success as soon as the app process has been launched, and it leaves the temp file in place — the app reads it and deletes it.

Fragments are capped at 1500 characters. A missing or non-string text, an empty fragment, and an over-long fragment are all errors with fixed messages, as are a temp file that cannot be written and a binary that cannot be launched.

Which binary gets launched is resolved in a fixed order: the NOGLOW_BIN environment variable when it is set and non-empty, otherwise the platform default — /Applications/noglow.app/Contents/MacOS/noglow on macOS and %LOCALAPPDATA%\noglow\noglow.exe on Windows. On Linux the bare name noglow is used and resolved through PATH. The noglow desktop app must be installed for a drop to work; without it, the launch error names the path that was tried and points at NOGLOW_BIN.

On success a drop reports dropped (true), characters (the fragment's length), tempFile (the temp file's path), and binary (the resolved binary that was spawned), in that order.

CLI

npx @reneturcios/dropnote drop '{"text":"a fragment to keep"}'
npx @reneturcios/dropnote --version

The drop command takes the full arguments object as one JSON string and prints the result as JSON:

{
  "dropped": true,
  "characters": 18,
  "tempFile": "/tmp/noglow-drop-3f2a1c9e-4b7d-8e5a-9c0d-1a2b3c4d5e6f.txt",
  "binary": "noglow"
}

Exit codes: 0 on success, 1 on a runtime error (including an unparseable JSON argument or a failed drop), 2 on a usage error.

MCP server

npx -y @reneturcios/dropnote mcp

MCP client config:

{
  "mcpServers": {
    "dropnote": {
      "command": "npx",
      "args": ["-y", "@reneturcios/dropnote", "mcp"]
    }
  }
}
Tools
  • drop — Drop a short text fragment (up to 1500 characters) into the noglow scratchpad's target slot via the local noglow app. Fires only on an explicit user request.

    • text (string, required) — the fragment to drop; newlines and formatting are preserved

    Returns {dropped, characters, tempFile, binary}. Errors are returned as error results carrying one of the fixed messages: text is required, text must not be empty, text exceeds the 1500-character limit (got N), failed to write drop file: <message>, or failed to launch noglow binary at : <message> (set NOGLOW_BIN to override the binary path).

Docker

docker run -i ghcr.io/cloudcorprecords/dropnote
docker run --rm ghcr.io/cloudcorprecords/dropnote drop '{"text":"a fragment to keep"}'

Note that a containerised drop launches a noglow binary inside the container; point NOGLOW_BIN at a binary available there, or prefer the local install.

Development

npm install
npm run build   # tsc -> dist/
npm test        # tsx --test test/*.test.ts (fake executor plus a stand-in script; no real app)
npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

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

ما هو io.github.CloudCorpRecords/dropnote؟

Drop a short text fragment into the noglow desktop scratchpad's target slot via the local app.

كيف أثبّت io.github.CloudCorpRecords/dropnote؟

يعمل على جهازك. في Claude Code: claude mcp add dropnote -- npx -y @reneturcios/dropnote@0.1.0 mcp. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.CloudCorpRecords/dropnote إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.CloudCorpRecords/dropnote مفتوح المصدر؟

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

من يصون io.github.CloudCorpRecords/dropnote؟

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

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