
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@kyoji2/raindrop-cli
Advanced tools
AI-native CLI for Raindrop.io. Built with TypeScript, using Bun for tooling and Node standard APIs in the codebase.
Designed for AI agents and automation scripts. TOON format for maximum token efficiency, with optional JSON output for standard integrations.
context command for a quick "state of the world" overview--dry-run flagnode:fs, node:timers/promises, node:child_process) over Bun.* in source code.bun test.# Bump and release (runs lint + tests, commits, tags, pushes)
bun run release:patch
bun run release:minor
bun run release:major
# Or set an explicit version
bun run release -- 1.2.3
# Clone and install
git clone <repo>
cd raindrop-cli
bun install
# Run directly
bun run src/index.ts --help
# Or link globally
bun link
Get your API Token
Get a test token from https://app.raindrop.io/settings/integrations
Login (Verifies token before saving)
bun run src/index.ts login
Account Overview (The agent "situation report")
bun run src/index.ts context
# Login with your API token
raindrop login
# Check current user
raindrop whoami
# Logout
raindrop logout
# Get high-level account context
raindrop context
# List all collections and tags
raindrop structure
# Get API schema (for AI context)
raindrop schema
# Search bookmarks (TOON format - default)
raindrop search "python"
# Search with pretty table output
raindrop search "python" --pretty
# Search in JSON format
raindrop search "python" --format json
# Get bookmark details
raindrop get 123456
# Add a new bookmark
raindrop add "https://example.com" --title "Example" --tags "work,reference"
# Update a bookmark with JSON patch
raindrop patch 123456 '{"title": "New Title", "tags": ["updated"]}'
# Delete a bookmark
raindrop delete 123456
# Get tag suggestions for a bookmark
raindrop suggest 123456
# Check Wayback Machine for a URL
raindrop wayback "https://example.com"
# Create a collection
raindrop collection create "Research"
# Create a public collection with parent
raindrop collection create "AI Papers" --parent 123 --public
# Get collection details
raindrop collection get 123
# Update a collection
raindrop collection update 123 '{"title": "New Name"}'
# Delete a collection
raindrop collection delete 123
# Delete multiple collections
raindrop collection delete-multiple 123,456,789
# Reorder collections
raindrop collection reorder title
raindrop collection reorder -count
# Expand/collapse all collections
raindrop collection expand-all true
# Merge collections
raindrop collection merge 123,456 789
# Remove empty collections
raindrop collection clean
# Empty trash
raindrop collection empty-trash
# Set collection cover from URL
raindrop collection cover 123 "https://example.com/image.png"
# Set collection icon by search
raindrop collection set-icon 123 "robot"
# Delete tags globally
raindrop tag delete "old-tag" "useless-tag"
# Delete tags from specific collection
raindrop tag delete "old-tag" --collection 123
# Rename a tag
raindrop tag rename "work" "career"
# Update multiple bookmarks
raindrop batch update --ids 1,2,3 '{"tags": ["archived"]}'
# Move multiple bookmarks to a collection
raindrop batch update --ids 1,2,3 '{"collection": {"$id": 123}}'
# Delete multiple bookmarks
raindrop batch delete --ids 1,2,3
| Option | Description |
|---|---|
--dry-run | Log actions instead of making real API requests |
--format, -f | Output format: toon (default) or json |
--help, -h | Show help |
--version, -v | Show version |
| Variable | Description |
|---|---|
RAINDROP_TOKEN | API token (alternative to login command) |
Token-optimized format for AI agents. Tabular data with minimal overhead.
Standard JSON output for programmatic use:
raindrop search "python" --format json
Config is stored in ~/.config/raindrop-cli/config.json
# Run with watch mode
bun run dev
# Type check
bun run typecheck
# Build
bun run build
MIT
FAQs
AI-native CLI for Raindrop.io
We found that @kyoji2/raindrop-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.