A Go SDK for building chat and notification bots on Feishu and Lark Open Platform, focusing on instant messaging APIs.
go-lark is a Go software development kit (SDK) for the Feishu and Lark Open Platforms, specifically their instant messaging APIs. It provides tools to build chat bots and notification bots, handling authentication, message sending, and event processing. The SDK simplifies integrating Feishu/Lark messaging capabilities into Go applications.
Go developers building internal tools, automation, or integrations that require messaging capabilities on Feishu or Lark platforms. It's particularly useful for teams within organizations using these platforms for communication.
Developers choose go-lark for its ease of use, production-ready reliability (tested with thousands of internal packages), and comprehensive feature set covering both chat and notification bots. Its extensible design and built-in middleware for popular web frameworks reduce boilerplate and accelerate development.
An easy-to-use SDK for Feishu and Lark Open Platform (Instant Messaging API only)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The MsgBuffer API provides a fluent, chainable interface for constructing rich messages like text, cards, and files, reducing boilerplate code as shown in the examples.
Extensively tested in production with over 3,000 Go packages internally at ByteDance, ensuring stability and performance for large-scale deployments.
Built-in middleware for Gin and Hertz frameworks simplifies handling URL challenges, incoming messages, and card callbacks, speeding up webhook implementation.
A separate examples repository includes ready-to-run code for all major features, from authentication to interactive messages, accelerating onboarding.
Only covers messaging and bot APIs, excluding other Feishu/Lark services like documents or calendars, which requires custom extensions as admitted in the Limits section.
The README notes that APIs are primarily tested on Feishu endpoints, with no guarantee for Lark compatibility, potentially leading to integration issues.
No official debugger from Lark means developers must rely on third-party tools like ngrok for local testing, adding setup complexity.