Skip to content

About

服务于小型公司的私人助理(营销文案生成,含问题回复),并通过微信clawbot与微信连接

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Libra

Libra is a local browser-based marketing copy agent. It collects recent WeChat messages and images through the official clawbot/iLink channel, creates copy with an OpenAI-compatible model, and sends it at a configured daily time.

Development

npm install
npm run dev

The web console runs at http://localhost:5173 and the local API at http://127.0.0.1:4311.

Current scope

  • QR-code WeChat connection
  • Continuous long-poll listening with 24/7 AI replies
  • Permanent text conversation history, summaries and distilled business memory
  • Intent routing between normal chat, marketing requirements and materials
  • Two-step WeChat confirmation for state-changing operations
  • Text and image material normalization
  • Configurable OpenAI-compatible text and vision models
  • Daily timezone-aware generation and direct delivery
  • Washington (America/New_York), Beijing (Asia/Shanghai) and Tokyo (Asia/Tokyo) time presets
  • Extension contract for office documents, folders and external APIs

Original image assets use a configurable retention period (30 days by default), while extracted image text and memory are retained permanently.

Credentials and WeChat tokens are stored in the local SQLite database. Keep the data directory private and do not expose the API port to a public network.

About

服务于小型公司的私人助理(营销文案生成,含问题回复),并通过微信clawbot与微信连接

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages