Raito Manga is an open-source application aimed at simplifying the reading process. Check out our demonstration. This application contains 3 components, including Raito-Web-Client, Raito-Server, and Raito-Sync.
This is the front-end of the application, written in Typescript and React. It can be built as static files. Check its repository for more information.
This server is used to fetch the manga from different sources. The server is written in different languages, and the web client is able to use multiple servers at the same time. Therefore, you can set up your own server but use our sync server and webpage. Check its repository for more information.
The driver is responsible for handling how the data is fetched. Each source has its own driver. There are two types of drivers: passive and active. A passive driver fetches data only when the client is requesting it. Active drivers fetch data regardless of client requests. You can write your driver by extending the BaseDriver
or ActiveDriver
classes. Check out the provided driver as an example. Feel free to create a pull request.
This server is used to sync the data between devices. It is written in Golang and uses SQLite to store the data. Check its repository for more information.
The front-end webpage should be built separately and served by a web server like Nginx. Check the repository for more information.
The servers can be set up easily by using docker-compose
.
-
Create the configuration file for both servers. The template file of server can be found in the corresponding repository,
-
Create a
docker-compose.yml
file like this:
version: "3.7"
services:
raito-sync:
image: nohackjustnoobb/raito-sync
container_name: raito-sync
restart: unless-stopped
ports:
- 3080:3000
volumes:
- ./db.sqlite3:/app/db.sqlite3
- ./sync_config.json:/app/config.json:ro
raito-server:
# Check https://github.com/nohackjustnoobb/Raito-Server for different images.
image: nohackjustnoobb/raito-server-cpp
container_name: raito-server
restart: unless-stopped
ports:
- 3081:8000
volumes:
- ./server_config.json:/app/config.json:ro
- Create the container
sudo docker-compose up -d