Discover and explore top open-source AI tools and projects—updated daily.
zarazhangruiLocal Claude Code CLI integrated with Feishu/Lark messenger
New!
Top 53.6% on SourcePulse
This project provides a bridge between Feishu/Lark messenger and a local Claude Code CLI, enabling users to interact with Claude directly from chat interfaces. It's designed for developers and power users seeking to integrate advanced AI code assistance into their existing communication workflows, offering real-time updates and persistent chat sessions within a controlled local environment.
How It Works
The bot forwards Feishu/Lark messages (DMs or group mentions) to a locally running claude CLI instance, operating within a user-specified working directory. It utilizes a real-time streaming card interface within Lark/Feishu for Claude's text and tool call updates, ensuring immediate feedback. Key features include per-chat session management for conversational continuity, preemptive handling of rapid messages, and support for multiple named workspaces, allowing users to switch between project contexts seamlessly. Images and files sent to the bot are downloaded and made accessible to the local Claude CLI.
Quick Start & Requirements
npm i -g lark-channel-bridge or pnpm add -g lark-channel-bridge.claude CLI installed and logged in (see Claude Code Quickstart), and a Lark/Feishu PersonalAgent app (can be created via an integrated QR-code wizard).lark-channel-bridge run. This command initiates a QR code wizard in the terminal for binding the Lark app.Highlighted Details
/ws commands) with context-specific session tracking./help, /ws list, and /status.Maintenance & Community
No specific details regarding maintainers, community channels (e.g., Discord, Slack), or roadmap are provided in the README.
Licensing & Compatibility
The project is released under the MIT License, which generally permits commercial use and integration into closed-source projects.
Limitations & Caveats
Running the bridge as a background daemon requires a global npm installation to prevent issues with cache garbage collection affecting the daemon's executable path. Access control configuration, while powerful, can be complex to manage, requiring careful handling of user and chat IDs to avoid accidental lockouts. Daemon service definitions (launchd, systemd, Task Scheduler) hard-code the bridge CLI path, necessitating manual updates or re-installation if the path changes. Lark's platform may route events randomly to one of multiple live WebSocket connections if the same app is started more than once.
13 hours ago
Inactive
danny-avila