Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ananasmoe/agac-api

Repository files navigation

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)

  1. Pull the image
docker pull r3tr0ananas/agac-api:latest
  1. 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
  1. Now visit localhost:8000 in 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:

  1. Clone the repo.
git clone https://codeberg.org/bananas/agac-api && cd agac-api
  1. Create env.
cd env/Scripts && activate && cd ../../">python -m venv env
source env/bin/activate # For windows it's --> cd env/Scripts && activate && cd ../../
  1. Install the API's dependencies.
make
  1. Pull the anime girls images.
make get-repo
  1. Run.
make run
  1. Visit localhost:8083 in your browser, then all should be good!

About

API for Anime Girls and Computers. Mirror of https://codeberg.org/bananas/agac-api

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors