2023-05-20 15:34:32 +02:00
<!-- PROJECT LOGO -->
< br / >
< div align = "center" >
2024-04-20 18:41:12 +02:00
< h3 align = "center" > Tranga v2< / h3 >
2023-05-20 15:34:32 +02:00
< p align = "center" >
Automatic Manga and Metadata downloader
< / p >
2023-09-03 18:34:17 +02:00
< p align = "center" >
This is the API for < a href = "https://github.com/C9Glax/tranga-website" > Tranga-Website< / a >
< / p >
2023-05-20 15:34:32 +02:00
< / div >
<!-- TABLE OF CONTENTS -->
< details >
< summary > Table of Contents< / summary >
< ol >
< li >
< a href = " #about -the-project" > About The Project</ a >
< ul >
< li >< a href = " #built -with" > Built With</ a ></ li >
< / ul >
< / li >
< li >
< a href = " #getting -started" > Getting Started</ a >
< ul >
2023-06-09 11:26:51 +02:00
< li >< a href = " #prerequisites " > Usage</ a ></ li >
2023-05-20 15:34:32 +02:00
< li >< a href = " #prerequisites " > Prerequisites</ a ></ li >
< / ul >
< / li >
< li >< a href = " #roadmap " > Roadmap</ a ></ li >
< li >< a href = " #contributing " > Contributing</ a ></ li >
< li >< a href = " #license " > License</ a ></ li >
< li >< a href = " #acknowledgments " > Acknowledgments</ a ></ li >
< / ol >
< / details >
<!-- ABOUT THE PROJECT -->
## About The Project
2023-06-21 16:17:40 +02:00
Tranga can download Chapters and Metadata from "Scanlation" sites such as
2023-05-20 15:34:32 +02:00
2023-10-10 22:58:05 +02:00
- [MangaDex.org ](https://mangadex.org/ ) (Multilingual)
- [Manganato.com ](https://manganato.com/ ) (en)
- [MangaKatana.com ](https://mangakatana.com ) (en)
- [Mangaworld.bz ](https://www.mangaworld.bz/ ) (it)
- [Bato.to ](https://bato.to/v3x ) (en)
2024-08-08 21:09:08 +02:00
- [ManhuaPlus ](https://manhuaplus.org/ ) (en)
2024-09-27 15:03:06 +02:00
- [MangaHere ](https://www.mangahere.cc/ ) (en) (Their covers aren't scrapeable.)
2024-12-14 16:29:43 +01:00
- [Weebcentral ](https://weebcentral.com ) (en)
2025-02-09 17:38:54 +01:00
- [Webtoons ](https://www.webtoons.com/en/ )
2024-09-27 15:03:06 +02:00
- ❓ Open an [issue ](https://github.com/C9Glax/tranga/issues/new?assignees=&labels=New+Connector&projects=&template=new_connector.yml&title=%5BNew+Connector%5D%3A+ )
2023-05-20 15:34:32 +02:00
2024-04-18 23:05:04 +02:00
and trigger a library-scan with [Komga ](https://komga.org/ ) and [Kavita ](https://www.kavitareader.com/ ).
2024-09-27 15:03:06 +02:00
Notifications can be sent to your devices using [Gotify ](https://gotify.net/ ), [LunaSea ](https://www.lunasea.app/ ) or [Ntfy](https://ntfy.sh/
).
2023-09-03 18:34:17 +02:00
### What this does and doesn't do
Tranga (this git-repo) will open a port (standard 6531) and listen for requests to add Jobs to Monitor and/or download specific Manga.
2024-04-20 18:41:12 +02:00
The configuration is all done through HTTP-Requests. [Documentation ](docs/API_Calls_v2.md )
2023-09-03 18:34:17 +02:00
_**For a web-frontend use [tranga-website ](https://github.com/C9Glax/tranga-website ).**_
This project downloads the images for a Manga from the specified Scanlation-Website and packages them with some metadata - from that same website - in a .cbz-archive (per chapter).
It does this on an interval, and checks for any Chapters (.cbz-Archive) not already existing in your specified Download-Location. (If you rename or move files, it will download those again)
Tranga can (if configured) trigger a scan in Komga or Kavita, however the directory in which the Manga reside has to be available to both Tranga and Komga/Kavita.
2024-04-18 23:05:04 +02:00
The project doesn't manage metadata, and doesn't curate, change or enhance any information that isn't available on the selected Scanlation-Site.
2023-09-03 18:34:17 +02:00
It will blindly use whatever is scrapes (yes this is a glorified Web-scraper).
2023-05-20 15:34:32 +02:00
### Inspiration:
2023-05-20 17:48:53 +02:00
Because [Kaizoku ](https://github.com/oae/kaizoku ) was relying on [mangal ](https://github.com/metafates/mangal ) and mangal
2024-04-18 23:05:04 +02:00
hasn't received bugfixes for its issues with Titles not showing up, or throwing errors because of illegal characters,
there were no alternatives for automatic downloads. However, [Kaizoku ](https://github.com/oae/kaizoku ) certainly had a great Web-UI.
2023-05-20 15:34:32 +02:00
That is why I wanted to create my own project, in a language I understand, and that I am able to maintain myself.
< p align = "right" > (< a href = " #readme -top" > back to top</ a > )</ p >
### Built With
- .NET-Core
- Newtonsoft.JSON
2023-09-19 16:54:17 +02:00
- [PuppeteerSharp ](https://www.puppeteersharp.com/ )
2023-06-06 21:27:12 +02:00
- [Html Agility Pack (HAP) ](https://html-agility-pack.net/ )
2024-04-27 19:09:12 +02:00
- [Soenneker.Utils.String.NeedlemanWunsch ](https://github.com/soenneker/soenneker.utils.string.needlemanwunsch )
2024-10-18 19:30:57 +02:00
- [Sixlabors.ImageSharp ](https://docs-v2.sixlabors.com/articles/imagesharp/index.html#license )
2024-10-31 22:16:18 +01:00
- [zstd-wrapper ](https://github.com/oleg-st/ZstdSharp ) [zstd ](https://github.com/facebook/zstd )
2023-06-21 16:17:40 +02:00
- 💙 Blåhaj 🦈
2023-05-20 15:34:32 +02:00
< p align = "right" > (< a href = " #readme -top" > back to top</ a > )</ p >
2024-09-27 17:08:59 +02:00
## Star History
< a href = "https://star-history.com/ #c9glax/tranga &Date" >
< picture >
< source media = "(prefers-color-scheme: dark)" srcset = "https://api.star-history.com/svg?repos=c9glax/tranga&type=Date&theme=dark" / >
< source media = "(prefers-color-scheme: light)" srcset = "https://api.star-history.com/svg?repos=c9glax/tranga&type=Date" / >
< img alt = "Star History Chart" src = "https://api.star-history.com/svg?repos=c9glax/tranga&type=Date" / >
< / picture >
< / a >
2023-05-20 15:34:32 +02:00
<!-- GETTING STARTED -->
## Getting Started
2023-09-03 18:34:17 +02:00
### Docker
2023-06-09 11:26:51 +02:00
2023-09-03 18:34:17 +02:00
Download [docker-compose.yaml ](https://git.bernloehr.eu/glax/Tranga/src/branch/master/docker-compose.yaml ) and configure to your needs.
2024-04-18 23:05:04 +02:00
Mount `/Manga` to wherever you want your chapters (`.cbz` -Archives) downloaded (where Komga/Kavita can access them).
2023-09-03 18:34:17 +02:00
The `docker-compose` also includes [tranga-website ](https://github.com/C9Glax/tranga-website ) as frontend. For its configuration refer to the repo README.
2023-06-09 11:26:51 +02:00
2024-04-18 23:05:04 +02:00
For compatibility do not execute the compose as root (which you should not do anyways...) but as user that can
access the folder.
2023-05-20 15:34:32 +02:00
### Prerequisites
2023-06-21 16:17:40 +02:00
#### To Build
2024-09-27 15:03:06 +02:00
[.NET-Core 8.0 SDK ](https://dotnet.microsoft.com/en-us/download/dotnet/8.0 )
2023-06-21 16:17:40 +02:00
#### To Run
2024-09-27 15:03:06 +02:00
[.NET-Core 8.0 Runtime ](https://dotnet.microsoft.com/en-us/download/dotnet/8.0 ) scroll down a bit, should be on the right the second item.
2023-05-20 15:34:32 +02:00
2023-06-21 16:17:40 +02:00
See the [open issues ](https://github.com/C9Glax/tranga/issues ) for a full list of proposed features (and known issues).
2023-05-20 15:34:32 +02:00
< p align = "right" > (< a href = " #readme -top" > back to top</ a > )</ p >
<!-- CONTRIBUTING -->
## Contributing
The following is copy & pasted:
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated** .
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature` )
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'` )
4. Push to the Branch (`git push origin feature/AmazingFeature` )
5. Open a Pull Request
< p align = "right" > (< a href = " #readme -top" > back to top</ a > )</ p >
<!-- LICENSE -->
## License
Distributed under the GNU GPLv3 License. See `LICENSE.txt` for more information.
< p align = "right" > (< a href = " #readme -top" > back to top</ a > )</ p >
<!-- ACKNOWLEDGMENTS -->
## Acknowledgments
* [Choose an Open Source License ](https://choosealicense.com )
* [Font Awesome ](https://fontawesome.com )
2023-05-20 15:49:37 +02:00
* [Best-README-Template ](https://github.com/othneildrew/Best-README-Template/tree/master )
2023-05-20 15:34:32 +02:00
< p align = "right" > (< a href = " #readme -top" > back to top</ a > )</ p >