fix readme
This commit is contained in:
parent
e712a5adcb
commit
b0bd67b279
41
README.md
41
README.md
@ -3,7 +3,7 @@
|
|||||||
<img src="./icon/avatar.png" width="100">
|
<img src="./icon/avatar.png" width="100">
|
||||||
|
|
||||||
- name : ai bot
|
- name : ai bot
|
||||||
- base : [rust](https://www.rust-lang.org)
|
- base : [ai os](https://git.syui.ai/ai/os)
|
||||||
- host : [yui.syui.ai](https://bsky.app/profile/yui.syui.ai), [ai.syu.is](https://web.syu.is/profile/ai.syu.is)
|
- host : [yui.syui.ai](https://bsky.app/profile/yui.syui.ai), [ai.syu.is](https://web.syu.is/profile/ai.syu.is)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@ -57,17 +57,17 @@ $ ai n | jq .
|
|||||||
$ ai bot
|
$ ai bot
|
||||||
```
|
```
|
||||||
|
|
||||||
|command|sub|type|body|
|
|command|sub|type|link|auth|
|
||||||
|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
|@yui.syui.ai did||mention, reply| [plc.directory](https://plc.directory)/$did/log |
|
|@yui.syui.ai did||mention, reply| [plc.directory](https://plc.directory)/$did/log |user|
|
||||||
|@yui.syui.ai card|r, s, b|mention, reply| https://card.syui.ai |
|
|@yui.syui.ai card|r, s, b|mention, reply| [card.syui.ai](https://card.syui.ai) |user|
|
||||||
|@yui.syui.ai ten|start, d, p|mention, reply| https://card.syui.ai |
|
|@yui.syui.ai ten|start, d, p, coin|mention, reply| [card.syui.ai](https://card.syui.ai) |user|
|
||||||
|@yui.syui.ai fav|{cid}|mention, reply| https://card.syui.ai |
|
|@yui.syui.ai fav|{cid}|mention, reply| [card.syui.ai](https://card.syui.ai) |user|
|
||||||
|@yui.syui.ai egg|{password}|mention, reply| https://card.syui.ai |
|
|@yui.syui.ai egg|{password}|mention, reply| [card.syui.ai](https://card.syui.ai) |user|
|
||||||
|@yui.syui.ai 占い||mention, reply| https://yui.syui.ai |
|
|@yui.syui.ai 占い||mention, reply| [yui.syui.ai](https://yui.syui.ai) |user|
|
||||||
|@yui.syui.ai nyan|🍰|mention, reply| https://yui.syui.ai |
|
|@yui.syui.ai nyan|🍰|mention, reply| [yui.syui.ai](https://yui.syui.ai) |user|
|
||||||
|@yui.syui.ai diffusers|{keyword}|mention, reply| [diffusers](https://huggingface.co/docs/diffusers/index) |
|
|@yui.syui.ai diffusers|{keyword}|mention, reply| [huggingface.co/diffusers](https://huggingface.co/docs/diffusers/index) |user|
|
||||||
|@yui.syui.ai sh(admin)|{command}|mention, reply| [archlinux](https://wiki.archlinux.org/title/Systemd-nspawn) |
|
|@yui.syui.ai sh|{command}|mention, reply| [archlinux.org](https://wiki.archlinux.org/title/Systemd-nspawn) |admin|
|
||||||
|
|
||||||
### test
|
### test
|
||||||
|
|
||||||
@ -84,3 +84,20 @@ $ cargo install --force cargo-make
|
|||||||
$ cargo make build
|
$ cargo make build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### docker
|
||||||
|
|
||||||
|
> .env
|
||||||
|
|
||||||
|
```sh
|
||||||
|
HANDLE=ai.syu.is
|
||||||
|
PASSWORD=xxx
|
||||||
|
HOST=syu.is
|
||||||
|
ADMIN=syui.syu.is
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ mkdir .ssh
|
||||||
|
$ docker compose build
|
||||||
|
$ docker compose up -d
|
||||||
|
```
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
ai l $HANDLE -p $PASSWORD -s $HOST && ai bot -a syui.$HOST
|
ai l $HANDLE -p $PASSWORD -s $HOST && ai bot -a $ADMIN
|
||||||
|
Loading…
Reference in New Issue
Block a user