Skip to content

ltlapy/misskey-llm-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# misskey-test-cpp Misskey Streaming API に接続してタイムラインと通知をリアルタイムで監視する CLI ツール。 出力は JSONL (1行1JSON) と human-readable の2種類に対応しており、LLM bot やスクリプトからのパイプ処理に向いている。 ## 必要なもの - xmake - C++23 対応コンパイラ (MSVC, GCC, Clang) - Misskey インスタンスの API トークン 依存ライブラリ (xmake が自動で取得する): - libcurl - nlohmann_json - toml++ - openssl - ixwebsocket ## ビルド ``` xmake config -m release -y xmake build ``` Windows, Linux 両対応。 ## 設定 `config.toml.example` を実行ファイルと同じディレクトリに `config.toml` としてコピーし、編集する。 ```toml [Secrets] uri = "mk.c30.life" token = "your api token here" [Output] # "jsonl" or "human" format = "jsonl" [Command] enabled = false program = "openclaw" args = ["message", "send"] events = [] max_queue_size = 100 ``` ### Output.format - `jsonl` -- 1行ごとに JSON オブジェクトを出力する。パイプやプログラムからの解析向け。 - `human` -- タイムスタンプ付きのテキストログ形式。 ### Command セクション イベント発生時に外部コマンドを起動し、JSON を stdin に渡す。 `events` に指定したイベントのみ転送する (空なら全イベント)。 対応イベント: `note`, `notification`, `mention`, `followed`, `connected`, `disconnected`, `error` ## JSONL 出力例 ``` {"ts":"2026-02-13T12:00:00.123+0900","event":"connected","data":{"uri":"mk.c30.life"}} {"ts":"2026-02-13T12:00:01.456+0900","event":"note","data":{"channel":"social","note":{"id":"abc","text":"hello","user":{"username":"someone","name":null,"host":null},"visibility":"public"}}} ``` ## ライセンス MIT # misskey-llm-cli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 52.7%
  • TypeScript 46.3%
  • Other 1.0%