Go RESTful API for search mangas, their chapters and pages from different websites simultaneously
6.0K
| GetMangas | GetMangaPage | GetChapter | |
|---|---|---|---|
| In Manga | ✅ | ✅ | ✅ |
| Nyaa | ✅ | ✅ | ✅ |
| Manga Oni | ✅ | ❌ | ❌ |
version: '3.8'
services:
man-go:
image: man-go
ports:
- "7070:7070"
git clone https://github.com/la-lo-go/man-go
# API
API_IP="0.0.0.0"
API_PORT="7070"
# DB
DB_NAME="mango.sqlite3"
go run main.go
/busqueda?search=[search_string]&max=[int (optional)]
Example: /busqueda?search=jujutsu&max=1
[
{
"name": "jujutsu-kaisen",
"site": "InManga",
"link": "https://inmanga.com/ver/manga/Jujutsu-Kaisen/d88692a5-c341-47fc-8e39-da11a8fdee82",
"chapters_number": 0,
"cover": "https://pack-yak.intomanga.com/thumbnails/manga/Jujutsu-Kaisen/d88692a5-c341-47fc-8e39-da11a8fdee82"
},
{
"name": "jujutsu-kaisen",
"site": "Nyaa",
"link": "https://manganyaa.com/jujutsu-kaisen/leer-online-gratis-espanol",
"chapters_number": 99,
"cover": "https://content.manganyaa.com/file/mnyaaa/jujutsu-kaisen/description/1.jpg"
},
{
"name": "jujutsu-kaisen",
"site": "TuManga.net",
"link": "https://tumanga.net/manga/jujutsu-kaisen",
"chapters_number": 99,
"cover": ""
}
]
/manga/[site]/[manga_name]
Example: /manga/jujutsu-kaisen/nyaa
{
"name": "Jujutsu Kaisen",
"site": "Nyaa",
"cover": "https://content.manganyaa.com/file/mnyaaa/jujutsu-kaisen/description/1.jpg",
"chaptersNumber": 186,
"chaptersListed": [
{
"number": 186,
"linkOriginal": "https://manganyaa.com/jujutsu-kaisen/leer-online-gratis-espanol/capitulo/186"
},
{
"number": 185,
"linkOriginal": "https://manganyaa.com/jujutsu-kaisen/leer-online-gratis-espanol/capitulo/185"
},
...
{
"number": 2,
"linkOriginal": "https://manganyaa.com/jujutsu-kaisen/leer-online-gratis-espanol/capitulo/2"
},
{
"number": 1,
"linkOriginal": "https://manganyaa.com/jujutsu-kaisen/leer-online-gratis-espanol/capitulo/1"
}
]
}
searches table: all the results of the searches with the date.
API_linksMangas.json: JSON returned by the Nyaa API with all the mangas listed in the page. Has a 12 hour expire time.
man-go
├───endpoints <- endpoints functions
├───gorm <- gorm database functions
├───general_functions <- handy custom functions
├───json <- cached information
├───models <- api's structs
├───routers <- gin-gonic router
└───sites <- sites using the interface
├───inManga
├───mangaMx
├───nyaa
└───tuMangaNet
Content type
Image
Digest
sha256:c61527971…
Size
306.7 MB
Last updated
over 3 years ago
docker pull lalogo/man-go