AGAC API
The anime-girls-and-computers API!
This is an API for anime-girls-and-computers github repo.
Publicly available instances
| Country | URL | Hosted by | Notes |
|---|---|---|---|
| https://api.ananas.moe/agac/v1 | bananas | Official Instance | |
| https://agac.teaishealthy.me | teaishealthy | Tee | |
| https://api.emmatech.dev/agac | EmmmaTech | Instance hosted with help from Ananas |
Self-Host
How to host your own AGAC API instance
Docker Method (recommended)
- Pull the image
docker pull r3tr0ananas/agac-api:latest
- Then launch a container with this command.
you don't really need to mount a volume but it's recommended
docker run -p 8000:8000/tcp -v ./cached_images:/app/assets/cache r3tr0ananas/agac-api:latest
- Now visit
localhost:8000in your browser and there you go!
if you wanna use docker-compose, this file might be useful to you
Native Method (recommended for development)
Prerequisites:
- Clone the repo.
git clone https://codeberg.org/bananas/agac-api && cd agac-api
- Create env.
cd env/Scripts && activate && cd ../../">python -m venv env
source env/bin/activate # For windows it's --> cd env/Scripts && activate && cd ../../
source env/bin/activate # For windows it's --> cd env/Scripts && activate && cd ../../
- Install the API's dependencies.
make
- Pull the
anime girlsimages.
make get-repo
- Run.
make run
- Visit
localhost:8083in your browser, then all should be good!