Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new source: Mangaread #461

Merged
merged 4 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
]
}
]
Skittyblock marked this conversation as resolved.
Show resolved Hide resolved
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.mangaread",
"lang": "en",
"name": "Manga Read",
MozkaGit marked this conversation as resolved.
Show resolved Hide resolved
"version": 1,
"url": "https://www.mangaread.org",
"nsfw": 1
},
"listings": [
{
"name": "Trending"
},
{
"name": "Latest"
}
]
}
Loading
Loading