CLI to tinker around with akkoma
| .gitignore | ||
| actions.go | ||
| block-list.go | ||
| config.go | ||
| go.mod | ||
| go.sum | ||
| http.go | ||
| instance-config.go | ||
| interaction.go | ||
| main.go | ||
| Makefile | ||
| oauth.go | ||
| README.md | ||
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