Skip to content

Commit

Permalink
Add new source: MangaRead.org (#461)
Browse files Browse the repository at this point in the history
* Add new source: Mangaread

* Remove slash from url

Co-authored-by: Skitty <[email protected]>

* Change id and name

Co-authored-by: Skitty <[email protected]>

* Add newline to filters.json

---------

Co-authored-by: Skitty <[email protected]>
  • Loading branch information
MozkaGit and Skittyblock authored Sep 11, 2023
1 parent 4065457 commit 02583fa
Show file tree
Hide file tree
Showing 6 changed files with 403 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rust/madara/sources/mangaread/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target = "wasm32-unknown-unknown"
20 changes: 20 additions & 0 deletions src/rust/madara/sources/mangaread/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "mangaread"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"
opt-level = "s"
strip = true
lto = true

[dependencies]
aidoku = { git = "https://github.com/Aidoku/aidoku-rs" }
madara_template = { path = "../../template" }
Binary file added src/rust/madara/sources/mangaread/res/Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
315 changes: 315 additions & 0 deletions src/rust/madara/sources/mangaread/res/filters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,315 @@
[
{
"type": "title"
},
{
"type": "select",
"name": "Adult",
"options": [
"All",
"None adult content",
"Only adult content"
]
},
{
"type": "group",
"name": "Status",
"filters": [
{
"type": "check",
"name": "OnGoing"
},
{
"type": "check",
"name": "On Hold"
},
{
"type": "check",
"name": "Cancelled"
},
{
"type": "check",
"name": "Completed"
}
]
},
{
"type": "select",
"name": "Genre Condition",
"options": [
"OR (having one of the selected genre)",
"AND (having all of the selected genres)"
]
},
{
"type": "group",
"name": "Genres",
"filters": [
{
"type": "genre",
"name": "Action",
"id": "action"
},
{
"type": "genre",
"name": "Adult",
"id": "adult"
},
{
"type": "genre",
"name": "Adventure",
"id": "adventure"
},
{
"type": "genre",
"name": "Anime",
"id": "anime"
},
{
"type": "genre",
"name": "Animated",
"id": "animated"
},
{
"type": "genre",
"name": "Cartoon",
"id": "cartoon"
},
{
"type": "genre",
"name": "Comedy",
"id": "comedy"
},
{
"type": "genre",
"name": "Comic",
"id": "comic"
},
{
"type": "genre",
"name": "Cooking",
"id": "cooking"
},
{
"type": "genre",
"name": "Detective",
"id": "detective"
},
{
"type": "genre",
"name": "Doujinshi",
"id": "doujinshi"
},
{
"type": "genre",
"name": "Drama",
"id": "drama"
},
{
"type": "genre",
"name": "Ecchi",
"id": "ecchi"
},
{
"type": "genre",
"name": "Fantasy",
"id": "fantasy"
},
{
"type": "genre",
"name": "Gender Bender",
"id": "gender-bender"
},
{
"type": "genre",
"name": "Harem",
"id": "harem"
},
{
"type": "genre",
"name": "Historical",
"id": "historical"
},
{
"type": "genre",
"name": "Horror",
"id": "horror"
},
{
"type": "genre",
"name": "Isekai",
"id": "isekai"
},
{
"type": "genre",
"name": "Josei",
"id": "josei"
},
{
"type": "genre",
"name": "Magic",
"id": "magic"
},
{
"type": "genre",
"name": "Live action",
"id": "live-action"
},
{
"type": "genre",
"name": "Manga",
"id": "manga"
},
{
"type": "genre",
"name": "Manhua",
"id": "manhua"
},
{
"type": "genre",
"name": "Manhwa",
"id": "manhwa"
},
{
"type": "genre",
"name": "Martial Arts",
"id": "martial-arts"
},
{
"type": "genre",
"name": "Mature",
"id": "mature"
},
{
"type": "genre",
"name": "Mecha",
"id": "mecha"
},
{
"type": "genre",
"name": "Military",
"id": "military"
},
{
"type": "genre",
"name": "Mystery",
"id": "mystery"
},
{
"type": "genre",
"name": "One shot",
"id": "one-shot"
},
{
"type": "genre",
"name": "Psychological",
"id": "psychological"
},
{
"type": "genre",
"name": "Reincarnation",
"id": "reincarnation"
},
{
"type": "genre",
"name": "Romance",
"id": "romance"
},
{
"type": "genre",
"name": "School Life",
"id": "school-life"
},
{
"type": "genre",
"name": "Sci-fi",
"id": "sci-fi"
},
{
"type": "genre",
"name": "Seinen",
"id": "seinen"
},
{
"type": "genre",
"name": "Shoujo",
"id": "shoujo"
},
{
"type": "genre",
"name": "Shoujo Ai",
"id": "shoujo-ai"
},
{
"type": "genre",
"name": "Shounen",
"id": "shounen"
},
{
"type": "genre",
"name": "Shounen Ai",
"id": "shounen-ai"
},
{
"type": "genre",
"name": "Slice of Life",
"id": "slice-of-life"
},
{
"type": "genre",
"name": "Smut",
"id": "smut"
},
{
"type": "genre",
"name": "Soft Yaoi",
"id": "soft-yaoi"
},
{
"type": "genre",
"name": "Soft Yuri",
"id": "soft-yuri"
},
{
"type": "genre",
"name": "Sports",
"id": "sports"
},
{
"type": "genre",
"name": "Super Power",
"id": "super-power"
},
{
"type": "genre",
"name": "Supernatural",
"id": "supernatural"
},
{
"type": "genre",
"name": "Thriller",
"id": "thriller"
},
{
"type": "genre",
"name": "Tragedy",
"id": "tragedy"
},
{
"type": "genre",
"name": "Webtoon",
"id": "webtoon"
},
{
"type": "genre",
"name": "Yaoi",
"id": "yaoi"
},
{
"type": "genre",
"name": "Yuri",
"id": "yuri"
}
]
}
]
18 changes: 18 additions & 0 deletions src/rust/madara/sources/mangaread/res/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"info": {
"id": "en.mangareadorg",
"lang": "en",
"name": "MangaRead.org",
"version": 1,
"url": "https://www.mangaread.org",
"nsfw": 1
},
"listings": [
{
"name": "Trending"
},
{
"name": "Latest"
}
]
}
Loading

0 comments on commit 02583fa

Please sign in to comment.