CLI to tinker around with akkoma
Find a file
2025-10-04 17:24:52 +01:00
.gitignore initial commit 2022-12-16 04:07:19 +00:00
actions.go add token creation 2022-12-16 05:08:06 +00:00
block-list.go add block file sync 2025-10-04 17:22:52 +01:00
config.go add token creation 2022-12-16 05:08:06 +00:00
go.mod add token creation 2022-12-16 05:08:06 +00:00
go.sum add token creation 2022-12-16 05:08:06 +00:00
http.go add block file sync 2025-10-04 17:22:52 +01:00
instance-config.go add block file sync 2025-10-04 17:22:52 +01:00
interaction.go initial commit 2022-12-16 04:07:19 +00:00
main.go add block file sync 2025-10-04 17:22:52 +01:00
Makefile add block file sync 2025-10-04 17:22:52 +01:00
oauth.go add token creation 2022-12-16 05:08:06 +00:00
README.md add doc for block sync 2025-10-04 17:24:52 +01:00

Constanze

A little cli tool to help you interact with akkoma instances.

Helpful when dealing with operations that are not yet supported by the web interface.

Installation

download the latest release from the releases page and put it somewhere in your path.

Usage

Use ./constanze --help to get a list of all available commands.

Configuration

A basic configuration file can be generated with:

./constanze configure

Creating a new oauth application

./constanze token --client-app --scopes "read write" --client-name "My App"

Debug mode

If you want to see the requests and responses, you can enable debug mode with:

./constanze --debug <command>

Syncing a blocklist

# give it your URL, like https://myinstance.social
./constanze configure
./constanze login --scopes admin
# copy in the code
./constanze import-block -f gardenfence-fediblocksync.csv