2020-02-17 03:32:11 +00:00
|
|
|
# Mango
|
2020-02-11 22:06:17 +00:00
|
|
|
|
2020-02-17 03:32:11 +00:00
|
|
|
Mango is a self-hosted Manga Server and Reader. Its features include
|
|
|
|
|
|
|
|
- Multi-user support
|
|
|
|
- Supports both `.zip` and `.cbz` formats
|
|
|
|
- Automatically store reading progress
|
|
|
|
- The web reader is responsive and works well on mobile, so there is no need for a mobile app
|
|
|
|
- All the static files are embedded in the binary, so the deployment process is easy and painless
|
2020-02-11 22:06:17 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2020-02-17 03:32:11 +00:00
|
|
|
### Build from source
|
|
|
|
|
|
|
|
1. Make sure you have Crystal (0.32.0), Node and Yarn installed
|
|
|
|
2. Clone the repository
|
|
|
|
3. Run `make`
|
|
|
|
4. Move the compiled executable to your desire location and run it
|
2020-02-11 22:06:17 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2020-02-17 03:32:11 +00:00
|
|
|
### CLI
|
|
|
|
|
|
|
|
```
|
|
|
|
Mango e-manga server/reader. Version 0.1.0
|
|
|
|
|
|
|
|
-v, --version Show version
|
|
|
|
-h, --help Show help
|
|
|
|
-c PATH, --config=PATH Path to the config file. Default is `~/.config/mango/config.yml`
|
|
|
|
```
|
|
|
|
|
|
|
|
### Config
|
|
|
|
|
|
|
|
The default config file location is `~/.config/mango/config.yml`. The config options and default values are given below
|
2020-02-11 22:06:17 +00:00
|
|
|
|
2020-02-17 03:32:11 +00:00
|
|
|
```yaml
|
|
|
|
---
|
|
|
|
port: 9000
|
|
|
|
library_path: ~/mango/library
|
|
|
|
db_path: ~/mango/mango.db
|
|
|
|
scan_interval_minutes: 5
|
|
|
|
log_level: info
|
|
|
|
```
|
2020-02-11 22:06:17 +00:00
|
|
|
|
2020-02-17 03:32:11 +00:00
|
|
|
## Screenshots
|
2020-02-11 22:06:17 +00:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
1. Fork it (<https://github.com/your-github-user/mango/fork>)
|
|
|
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
|
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
|
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
|
|
5. Create a new Pull Request
|
|
|
|
|
|
|
|
## Contributors
|
|
|
|
|
|
|
|
- [Alex Ling](https://github.com/your-github-user) - creator and maintainer
|