Skip to content

ch3n0297/financial_Rabbit

Repository files navigation

financial_Rabbit

財經Usagi,專門為特殊團隊所製作之 Line 聊天機器人。

專案結構(MVP)

  • config/:bot 設定(時區、推播時間、watchlist、allowlist)
  • data/:每日輸出報表與狀態(JSON)
  • scripts/bot_cli.py:本地 CLI(生成/渲染/推送/指令回覆)
  • bot/:核心邏輯(解析設定、輸出格式、指令處理)

快速開始

  1. 安裝 OpenClaw CLI:
    • npm install -g openclaw
  2. 先完成 OpenClaw/LINE 基礎設定(會自動避開 npm 安裝 LINE plugin 的提示):
    • bash scripts/onboard-line.sh
  3. 更新設定檔:
    • config/bot.toml(時區、推播時間、admins、LINE groupId)
    • config/watchlist.toml(精選 10 檔)
    • config/allowlist.toml(白名單來源 + critical)
  4. 生成報表(暫為 stub):
    • python scripts/bot_cli.py generate
  5. 渲染文字:
    • python scripts/bot_cli.py render
  6. 推送到 LINE(需要 groupId):
    • python scripts/bot_cli.py send --target <groupId>
  7. 檢查 Codex 使用量 gate(warn/block):
    • python scripts/codex_usage_gate.py

About

財經Usagi,專門為特殊團隊所製作之Line聊天機器人。

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors