summaryrefslogtreecommitdiff
path: root/README.md
blob: 6d5ca6f3c70a2dbec57a7e55616ff8cec88e820c (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 <your_desired_port>:80 guzzle_api
```