summaryrefslogtreecommitdiff
path: root/README.md
blob: 547ec638f78692d52a9c89086c7e4364584d9280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# guzzle-api

fun little service powered by [fastAPI](https://github.com/tiangolo/fastapi)

right now it only serves pics of teawie

## how to host

this is meant for my [website](https://guzzle.gay/), but it can be hosted anywhere with one edit in `src/guzzle_api/bot.py` :)

on L7, change the `URL` constant to whatever domain you plan to host this on
```python
URL = "https://<yourdomainhere>
```

and to start running a docker (or podman) container:
```bash
docker build -t guzzle_api .
docker run -d --name api 7070:<your_desired_port> guzzle_api
```