This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon-fingerd/README.md

25 lines
845 B
Markdown
Raw Permalink Normal View History

2023-09-21 00:31:18 -07:00
# Mastodon Finger Daemon
2023-09-21 00:34:31 -07:00
A dead simple finger daemon for Mastodon. Returns the given user's profile bio. Written as a joke.
2023-09-21 00:31:18 -07:00
## Installation
```
$ python -m venv .venv
$ . .venv/bin/activate
$ pip install -r requirements.txt
$ cp fingerd.example.toml fingerd.toml
$ # edit fingerd.toml as appropriate
$ # note: port defaults to 79 which requires privileges (see systemd unit file, fingerd.service) or running as root (not recommended)
$ PORT=4000 ./fingerd.py
```
```
$ sudo cp fingerd.service /etc/systemd/system/fingerd.service
$ sudo systemctl enable --now fingerd
```
## License
2023-09-21 00:34:31 -07:00
BSD 2-clause + Patent, see LICENSE.txt. This license was chosen because it is simple and permissive, unlike the AGPLv3 which would be hard to comply with on a finger daemon, it has a patent grant, and it's easier to comply with than the Apache 2.0 license.