Docker wrapper for anytype-cli — a headless CLI for interacting with Anytype.
docker compose up -ddocker compose build --build-arg ANYTYPE_CLI_VERSION=v0.1.8Once the container is running, create a bot account, join a space, and generate an API key:
# 1. Create a bot account
docker compose exec anytype-cli anytype auth create <bot-name>
# 2. Join a space (get the invite link from the Anytype desktop app)
docker compose exec anytype-cli anytype space join <invite-link>
# 3. Create an API key for programmatic access
docker compose exec anytype-cli anytype auth apikey create <key-name>The API is then available at http://localhost:31012.
Override the default command to use other CLI subcommands:
docker compose exec anytype-cli anytype --helpPersistent data is stored in ./data, mounted at /data inside the container.