zackad / manga-server

Serve your manga collection over network.
MIT License
3 stars 0 forks source link

Manga Server

GitHub Workflow Status Codecov MIT License GitHub release (latest SemVer)

Web application to serve manga collection from your computer over the network.

Note: This is NOT a CMS (Content Management System)

Requirements

Runtime

Development

How to run

Using Docker

[!NOTE] To prevent accidental data lost, make sure to mount your media volume as readonly.

[!IMPORTANT] By default, memory limit is 128MB and might not be enough to generage cover thumbnail (see #199). You can increase memory limit by setting APP_MEMORY_LIMIT env variable to the desired value.

docker run -d --publish 8000:8000 \
--env APP_MEMORY_LIMIT=1G \
--env MANGA_ROOT_DIRECTORY=/media \
--volume /path/to/your/media:/media:ro \
ghcr.io/zackad/manga-server:latest

Manual

Development

yarn install

- Start the server
```shell
php -S 0.0.0.0:8000 public/index.php

# if you have symfony cli installed, you can use this command to start
# development server
symfony server:start

Nix Support

This project support nix flakes with direnv enabled.

# Enable direnv autoload
direnv allow

# Start development process
devenv up