Anify
Anify copied to clipboard
Advanced scraping, mapping, and full-stack anime/manga/light novel application.
Anify
Robust anime, manga, and light novel web-app.
Installation
NOTE: This project utilizes Bun. Please install it before attempting to run Anify.
- Clone this repository and
cdinto the directory.
git clone https://github.com/Eltik/Anify.git
- Run
bun i. This will install thenode_modulesdependencies for all sub-repos. - Run
bun run lintandbun run buildto build all directories. - View each directory's
README.MDfile for additional installation/requirements. - Run
bun startto startup all services using pm2 via the/anify-startupdirectory. If you wish to individually startup a specific service, you cancdinto a directory and runbun startorbun dev.
How it Works
Anify's core components are the backend and frontend. Using custom mappings without the use of external API's such as Simkl and MALSync, the backend maps all types of Japanese media and gathers information before storing the mappings in a database. For creating a full-stack website, the frontend then requests data on the server-side to fetch episodes/chapters and sources/pages from the backend allowing for a smooth and secure experience watching anime and reading manga/light novels. Additionally, there is an authentication server for tracking your favorite shows and series on a preferred website.
Basic Pre-Requisites
Bun
As you may expect, Anify requires NodeJS. However, for performance sake, Anify utilizes Bun for the fastest response times possible.
curl -fsSL https://bun.sh/install | bash
Redis
For caching purposes, Anify uses Redis to store data temporarily (usually for about an hour).
# Prerequisites
sudo apt install lsb-release
# Signing and packages and stuff
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
# Installation
sudo apt-get update
sudo apt-get install redis
# Start
sudo redis-server
# Flushes the database
redis-cli flushall
Conclusion
That's it! For more detailed information on starting up individual sources, take a look at the respected directories.