aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
blob: 7ef7dc50e76c3f78373be93d421b5a160837c83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Geldschieberbot

Geldschieberbot is a python script to bookkeep the finances of a group.
It is intended to be run on the output of signal-cli. But it should parse
other input without a lot of modification.

## Configuration

Geldschieberbot is configured with a set of Environment variables:

* GSB_GROUP_ID the signal group_id you want to serve
* GSB_STORE_PATH the directory where Geldschieberbot stores the balance and the useres
* GSB_SEND_CMD the command Geldschieberbot uses to send replies
* GSB_USER the mobile number signal-cli should receive messages with

Copy config.sh.sample to config.sh and edit it to match your environment.

## Usage

If you have your config.sh in place you can just run
`./run.sh`
and your bot should be up and serving your needs.

Happy Geldschieben!

## License

Geldschieberbot is licensed under the [WTFPL](http://www.wtfpl.net)