Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
12 changes: 6 additions & 6 deletions sources/multi.mangafire/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ name = "mangafire"
version = "0.1.0"
edition = "2024"

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

[dependencies]
aidoku = { git = "https://github.com/Aidoku/aidoku-rs.git", version = "0.3.0", features = ["json"] }
base64 = { version = "0.22.1", default-features = false, features = ["alloc"] }
serde = { version = "1.0.188", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1.0.105", default-features = false, features = ["alloc"] }
base64 = { version = "0.22", default-features = false, features = ["alloc"] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

[dev-dependencies]
aidoku = { git = "https://github.com/Aidoku/aidoku-rs.git", features = ["test"] }
aidoku-test = { git = "https://github.com/Aidoku/aidoku-rs.git" }

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

[profile.dev]
panic = "abort"

Expand Down
242 changes: 187 additions & 55 deletions sources/multi.mangafire/res/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,29 @@
"title": "Author",
"placeholder": "Author name"
},
{
"type": "text",
"id": "artist",
"title": "Artist",
"placeholder": "Artist name"
},
{
"type": "sort",
"title": "Sort",
"canAscend": false,
"options": [
"Most relevance",
"Recently updated",
"Best match",
"Latest update",
"Recently added",
"Release date",
"Trending",
"Name A-Z",
"Scores",
"MAL scores",
"Most viewed",
"Most favourited"
"Title (A–Z)",
"Title (Z–A)",
"Year (newest)",
"Year (oldest)",
"Highest rated",
"Most viewed · 7 days",
"Most viewed · 30 days",
"Most viewed · all time",
"Most followed"
],
"default": {
"index": 1,
Expand All @@ -28,78 +36,51 @@
},
{
"type": "multi-select",
"id": "type",
"id": "types[]",
"title": "Type",
"options": [
"Manga",
"One-Shot",
"Doujinshi",
"Novel",
"Manhwa",
"Manhua"
],
"ids": ["manga", "one_shot", "doujinshi", "novel", "manhwa", "manhua"]
"options": ["Manga", "Manhwa", "Manhua", "Other"],
"ids": ["manga", "manhwa", "manhua", "other"]
},
{
"type": "multi-select",
"id": "status[]",
"title": "Status",
"options": [
"Completed",
"Releasing",
"On Hiatus",
"Discontinued",
"Not Yet Published"
],
"ids": ["completed", "releasing", "on_hiatus", "discontinued", "info"]
},
{
"type": "select",
"id": "minchap",
"title": "Length",
"options": [
">= 1 chapters",
">= 3 chapters",
">= 5 chapters",
">= 10 chapters",
">= 20 chapters",
">= 30 chapters",
">= 50 chapters"
],
"ids": ["1", "3", "5", "10", "20", "30", "50"]
},
{
"type": "multi-select",
"id": "genre[]",
"title": "Genre",
"id": "genres",
"title": "Genres",
"isGenre": true,
"canExclude": true,
"options": [
"Action",
"Adult",
"Adventure",
"Avant Garde",
"Boys Love",
"Comedy",
"Crime",
"Demons",
"Drama",
"Ecchi",
"Fantasy",
"Girls Love",
"Gourmet",
"Harem",
"Hentai",
"Historical",
"Horror",
"Isekai",
"Iyashikei",
"Josei",
"Kids",
"Magic",
"Magical Girls",
"Mahou Shoujo",
"Martial Arts",
"Mature",
"Mecha",
"Medical",
"Military",
"Music",
"Mystery",
"Parody",
"Philosophical",
"Psychological",
"Reverse Harem",
"Romance",
Expand All @@ -109,40 +90,52 @@
"Shoujo",
"Shounen",
"Slice of Life",
"Smut",
"Space",
"Sports",
"Super Power",
"Superhero",
"Supernatural",
"Suspense",
"Thriller",
"Vampire"
"Tragedy",
"Vampire",
"Wuxia"
],
"ids": [
"1",
"268929",
"78",
"3",
"4",
"5",
"268921",
"77",
"6",
"7",
"79",
"9",
"10",
"11",
"268930",
"268922",
"530",
"13",
"531",
"15",
"532",
"539",
"268923",
"533",
"534",
"268931",
"19",
"268924",
"535",
"21",
"22",
"23",
"268925",
"536",
"25",
"26",
Expand All @@ -152,22 +145,161 @@
"30",
"31",
"538",
"268932",
"33",
"34",
"75",
"268926",
"76",
"37",
"38",
"39"
"268927",
"39",
"268928"
]
},
{
"type": "select",
"id": "genres_mode",
"title": "Genre inclusion mode",
"options": ["All", "Any"],
"ids": ["and", "or"],
"default": "and",
"hideFromHeader": true
},
{
"type": "multi-select",
"id": "theme_ids[]",
"title": "Themes",
"isGenre": true,
"canExclude": false,
"options": [
"Aliens",
"Animals",
"Cooking",
"Crossdressing",
"Delinquents",
"Demons",
"Genderswap",
"Ghosts",
"Gyaru",
"Harem",
"Incest",
"Loli",
"Mafia",
"Magic",
"Martial Arts",
"Military",
"Monster Girls",
"Monsters",
"Music",
"Ninja",
"Office Workers",
"Police",
"Post-Apocalyptic",
"Reincarnation",
"Reverse Harem",
"Samurai",
"School Life",
"Shota",
"Supernatural",
"Survival",
"Time Travel",
"Traditional Games",
"Vampires",
"Video Games",
"Villainess",
"Virtual Reality",
"Zombies"
],
"ids": [
"268933",
"268934",
"268935",
"268936",
"268937",
"268938",
"268939",
"268940",
"268941",
"268942",
"268943",
"268944",
"268945",
"268946",
"268947",
"268948",
"268949",
"268950",
"268951",
"268952",
"268953",
"268954",
"268955",
"268956",
"268957",
"268958",
"268959",
"268960",
"268961",
"268962",
"268963",
"268964",
"268965",
"268966",
"268967",
"268968",
"268969"
]
},
{
"type": "select",
"id": "genre_mode",
"title": "Genre selection mode",
"options": ["AND", "OR"],
"id": "theme_mode",
"title": "Theme inclusion mode",
"options": ["All", "Any"],
"ids": ["and", "or"],
"default": "or",
"default": "and",
"hideFromHeader": true
},
{
"type": "multi-select",
"id": "demographics[]",
"title": "Demographic",
"isGenre": true,
"canExclude": false,
"options": ["Josei", "Seinen", "Shoujo", "Shounen"],
"ids": ["268919", "268920", "268917", "268918"]
},
{
"type": "multi-select",
"id": "statuses[]",
"title": "Status",
"options": [
"Releasing",
"Finished",
"On Hiatus",
"Discontinued",
"Not Yet Released"
],
"ids": [
"releasing",
"finished",
"on_hiatus",
"discontinued",
"not_yet_released"
]
},
{
"type": "range",
"id": "year",
"title": "Release year",
"min": 0,
"decimal": false
},
{
"type": "text",
"id": "minchap",
"title": "Minimum chapters",
"placeholder": "Any"
}
]
Loading
Loading