Skip to content

Commit

Permalink
feat: add galaxy degen scans (#846)
Browse files Browse the repository at this point in the history
* feat: add galaxy degen scans

* chore: update the icon

* refactor: update url

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

---------

Co-authored-by: Skitty <[email protected]>
  • Loading branch information
jckli and Skittyblock authored Jan 9, 2025
1 parent 09ac384 commit 0e696d2
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/rust/madara/sources/galaxydegenscans/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "galaxydegenscans"
version = "0.1.0"
edition = "2021"
publish = false

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

[dependencies]
aidoku = { git = "https://github.com/Aidoku/aidoku-rs/" }
madara_template = { path = "../../template" }
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
330 changes: 330 additions & 0 deletions src/rust/madara/sources/galaxydegenscans/res/filters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,330 @@
[
{
"type": "title"
},
{
"type": "group",
"name": "Status",
"filters": [
{
"type": "check",
"name": "Ongoing"
},
{
"type": "check",
"name": "On Hold"
},
{
"type": "check",
"name": "Cancelled"
},
{
"type": "check",
"name": "Completed"
},
{
"type": "check",
"name": "Upcoming"
}
]
},
{
"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": "Cartoon",
"id": "cartoon"
},
{
"type": "genre",
"name": "Comedy",
"id": "comedy"
},
{
"type": "genre",
"name": "Comic",
"id": "comic"
},
{
"type": "genre",
"name": "Cooking",
"id": "cooking"
},
{
"type": "genre",
"name": "Demons",
"id": "demons"
},
{
"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": "Gyaru",
"id": "gyaru"
},
{
"type": "genre",
"name": "Harem",
"id": "harem"
},
{
"type": "genre",
"name": "Historical",
"id": "historical"
},
{
"type": "genre",
"name": "Horror",
"id": "horror"
},
{
"type": "genre",
"name": "Incest",
"id": "incest"
},
{
"type": "genre",
"name": "Josei",
"id": "josei"
},
{
"type": "genre",
"name": "Live action",
"id": "live_action"
},
{
"type": "genre",
"name": "Long Strip",
"id": "long_strip"
},
{
"type": "genre",
"name": "Manga",
"id": "manga"
},
{
"type": "genre",
"name": "Manga Adaptation",
"id": "manga_adaptation"
},
{
"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": "Monster Girls",
"id": "monster_girls"
},
{
"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": "Shota",
"id": "shota"
},
{
"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": "Supernatural",
"id": "supernatural"
},
{
"type": "genre",
"name": "Time Travel",
"id": "time_travel"
},
{
"type": "genre",
"name": "Tragedy",
"id": "tragedy"
},
{
"type": "genre",
"name": "Video Games",
"id": "video_games"
},
{
"type": "genre",
"name": "Villainess",
"id": "villainess"
},
{
"type": "genre",
"name": "Webtoon",
"id": "webtoon"
},
{
"type": "genre",
"name": "Yaoi",
"id": "yaoi"
},
{
"type": "genre",
"name": "Yuri",
"id": "yuri"
}
]
}
]
16 changes: 16 additions & 0 deletions src/rust/madara/sources/galaxydegenscans/res/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"type": "group",
"title": "Settings",
"footer": "Note: Most Madara sources have a high resolution cover image and a low resolution cover image.\nEnabling High resolution cover image will increase the amount of data that is downloaded and may result in an increased loading time.",
"items": [
{
"type": "switch",
"key": "highres",
"title": "High Resolution Covers",
"subtitle": "For Home page and Search page",
"default": true
}
]
}
]
18 changes: 18 additions & 0 deletions src/rust/madara/sources/galaxydegenscans/res/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"info": {
"id": "en.galaxydegenscans",
"lang": "en",
"name": "Galaxy Degen Scans",
"version": 1,
"url": "https://gdscans.com",
"nsfw": 1
},
"listings": [
{
"name": "Trending"
},
{
"name": "Popular"
}
]
}
Loading

0 comments on commit 0e696d2

Please sign in to comment.