This project offers a bot that integrates the Feishu/Lark messenger platform with a local Claude Code CLI, enabling streaming card responses, persistent per-chat sessions, and support for multiple workspaces. It acts as a bridge for developers to use Claude Code within their team communication platform.
A starter prompt for Claude Code, what you'll need, and how to reach them.
You are an expert full-stack developer. Build a web application using Next.js 16 App Router, React 19, Tailwind v4, and AI SDK v6 (configured for Gemini). The application will act as a bridge between Feishu/Lark messenger and a local Claude Code CLI. Focus on the core MVP: a backend API endpoint that receives Feishu/Lark webhook events for messages, parses them, invokes a local Claude Code CLI instance with the message content (assume `claude-code-cli` is globally available on the server), captures its streaming output, and sends the response back to the Feishu/Lark chat using their messaging API. Implement basic per-chat session management using a Neon Postgres database to maintain conversational context. The UI (minimal, just for setup/monitoring) is secondary; prioritize a robust backend and API integration. For the MVP, assume a single workspace. Focus on handling text messages and sending text replies back, optionally formatted as simple Feishu 'cards' if easy to implement. Build this for deployment on Vercel. Provide all necessary configuration for environment variables (Feishu App ID, App Secret, Verification Token, Encrypt Key, Claude API key).
Reach developers and teams using Feishu/Lark for communication; offer a solution for managing AI coding tool usage and integrating custom AI tools directly into their workflow.
Bot that bridges Feishu/Lark messenger with a local Claude Code CLI — streaming cards, per-chat sessions, multiple workspaces
Comment on the GitHub repository's issues section or open a pull request with a working prototype.
“I've built a robust prototype bridging Feishu/Lark with Claude Code, complete with streaming responses and session management. I'm interested in collaborating or discussing how to make this a more production-ready solution.”
Open the original ↗