karangbayan / wibusaka-api

API for fetching available streaming anime platforms in Indonesia

Home Page:https://api.wibusaka.moe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WibuSaka API

WibuSaka API is a simple REST API for fetching legal streaming platform in Indonesia using your favorite anime lists. (Currently supports MyAnimeList, and Anilist)

Tools

Primarily, this project uses Laravel as a framework. This project also uses arm-server and anime-offline-database for fetching anime list ID relations.

API Documentation

Check the API Documentation here.

Deployment

If you want to deploy for yourself, please follow these instructions.

Requirements

  • PHP 8.1+
  • MySQL 5.7+
  • Redis

Installation and Configuration

  1. Copy .env.example into .env and edit these values

    • Database
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=YOUR_DATABASE_NAME
    DB_USERNAME=YOUR_DATABASE_USERNAME
    DB_PASSWORD=YOUR_DATABASE_PASSWORD
    • Redis
    REDIS_CLIENT=predis
    REDIS_SCHEME=tcp
    REDIS_PATH=YOUR_REDIS_PATH_IF_SCHEME_IS_UNIX
    REDIS_HOST=127.0.0.1
    REDIS_PASSWORD=YOUR_REDIS_PASSWORD
    REDIS_PORT=6379
  2. Install composer packages

    composer install
  3. Generate Laravel Application Key

    php artisan key:generate
  4. Run the Migration

    php artisan migrate

Test

After installing and configuring everything, run the test to make sure the application running properly.

php artisan test

Contributing

Contributions are always welcome! Create a pull request here!

This repository used StyleCI to check the code style. You can check the rules here. Also, please make sure to check the existing pull request to avoid duplication.

About

API for fetching available streaming anime platforms in Indonesia

https://api.wibusaka.moe


Languages

Language:PHP 85.5%Language:Blade 14.5%Language:JavaScript 0.0%