Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

AI-native CLI for Raindrop.io. Optimized automation and agents with strict TOON output and robust management features.

License

Notifications You must be signed in to change notification settings

rinvii/raindrip

Repository files navigation

raindrip 💧

CI License: MIT

AI-native CLI for Raindrop.io.

Designed for AI agents and automation scripts. TOON for maximum token efficiency, with optional JSON output for standard integrations.

Key Features

  • 🤖 AI-Native: Outputs TOON format by default to save on context tokens.
  • 📊 Situation Reports: High-level context command for a quick "state of the world" overview.
  • 📂 Hierarchy Support: Create, move, and manage nested collections.
  • 📦 Batch Operations: Bulk update or delete bookmarks efficiently.

Why raindrip? (AI-Native)

Traditional CLIs are built for humans to read. raindrip is built for agents and automation scripts to consume.

  1. Tabular Efficiency: TOON's structure handles large bookmark lists without the repetitive key-value overhead of JSON.
  2. Context-First: Commands like context and structure are designed to give an LLM exactly what it needs to understand your library in one shot.
  3. Smart Hints: Error messages include "hint" fields that tell agents exactly how to fix the issue.
  4. Dry Run: Safe account management with a global --dry-run flag.

Installation

uv tool install .

Quick Start

  1. Login (Verifies token before saving)

Get a test token from https://app.raindrop.io/settings/integrations

```bash
raindrip login
```
  1. Account Overview (The agent "situation report")
    raindrip context

Usage Examples

  • List Collections & Tags

    raindrip structure
  • Search Bookmarks

    # TOON (Default)
    raindrip search "python"
    # Beautiful table for humans
    raindrip search "python" --pretty
    # Standard JSON
    raindrip search "python" --format json
  • Collection Management

    raindrip collection create "Research"
    # Set icon from Raindrop's library
    raindrip collection set-icon <id> "robot"
  • Batch Operations

    # Move bookmarks in bulk
    raindrip batch update --ids 1,2,3 '{"collection": {"$id": <target_id>}}'
  • Get Schema (For AI system prompts)

    raindrip schema

Development

# Run tests
uv run pytest tests/

About

AI-native CLI for Raindrop.io. Optimized automation and agents with strict TOON output and robust management features.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages