Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

lark-event

Stream Lark/Feishu events as NDJSON with lark-cli event consume, bounded by count or timeout.

When to use it

You have a Lark bot or app and need live IM messages, approvals, or meeting events pushed to a script instead of polling.

For example

You say

Use lark-event to listen for new messages in my Lark bot's chat for 10 minutes and save each event to a file.

You get
  • NDJSON event stream
  • Bounded 10-minute run
  • Per-event output files

How it works

  • Each consume process handles exactly one EventKey, so multiple event types run as separate subprocesses.
  • Parent processes should wait for the stderr ready marker before reading stdout.
  • Use SIGTERM or stdin close to stop consumers; kill -9 can leak server-side subscriptions.

Before installing

Requires the lark-cli binary and reading the lark-shared skill first for authentication and identity setup.