fix readme

This commit is contained in:
2026-01-16 13:01:24 +09:00
parent b8922f38be
commit 2ec33ef4ed

View File

@@ -33,3 +33,20 @@ content/
└── 3mch5zca4nj2h.json
```
## translate
```sh
$ cd rust/
$ cargo build --release
$ ./target/release/ailog
$ cat .env.example
AILOG_DIR=~/ai/log
TRANSLATE_URL=http://127.0.0.1:1234/v1
TRANSLATE_MODEL=plamo-2-translate
```
```sh
$ ailog l syui.ai -p ${PASSWORD} -s bsky.social
$ ailog t ./content/did:plc:uqzpqmrjnptsxezjx4xuh2mn/ai.syui.log.post -f ja -l en
$ ailog s ./content/did:plc:uqzpqmrjnptsxezjx4xuh2mn/ai.syui.log.post/3mch5zca4nj2h.json -c ai.syui.log.post
```