Update mangal config for v4.0.0
This commit is contained in:
@@ -1,90 +1,187 @@
|
|||||||
|
[anilist]
|
||||||
|
# Anilist code to use for authentication (string)
|
||||||
|
code = ""
|
||||||
|
|
||||||
|
# Enable Anilist integration (bool)
|
||||||
|
enable = false
|
||||||
|
|
||||||
|
# Anilist ID to use for authentication (string)
|
||||||
|
id = ""
|
||||||
|
|
||||||
|
# Show link to Anilist on manga select (bool)
|
||||||
|
link_on_manga_select = true
|
||||||
|
|
||||||
|
# Anilist secret to use for authentication (string)
|
||||||
|
secret = ""
|
||||||
|
|
||||||
[downloader]
|
[downloader]
|
||||||
# Default source to use
|
|
||||||
# Will prompt to choose if empty
|
|
||||||
# Type `mangal sources` for available sources
|
|
||||||
default_source = ''
|
|
||||||
# Name template of the downloaded chapters
|
|
||||||
# Available variables:
|
|
||||||
# {index} - index of the chapters
|
|
||||||
# {padded-index} - same as index but padded with leading zeros
|
|
||||||
# {chapter} - name of the chapter
|
|
||||||
# {manga} - name of the manga
|
|
||||||
chapter_name_template = '{padded-index}_{chapter}'
|
|
||||||
# Where to download manga
|
|
||||||
# Absolute or relative.
|
|
||||||
#
|
|
||||||
# You can also use home variable
|
|
||||||
# path = "~/..." or "$HOME/..."
|
|
||||||
path = '$HOME/Manga'
|
|
||||||
# Use asynchronous downloader (faster)
|
# Use asynchronous downloader (faster)
|
||||||
# Do no turn it off unless you have some issues
|
# Do no turn it off unless you have some issues (bool)
|
||||||
async = true
|
async = true
|
||||||
# Create a subdirectory for each manga
|
|
||||||
|
# Key template of the downloaded chapters (string)
|
||||||
|
# Path forbidden symbols will be replaced with "_"
|
||||||
|
# Available variables:
|
||||||
|
# {index} - index of the chapters
|
||||||
|
# {padded-index} - same as index but padded with leading zeros
|
||||||
|
# {chapters-count} - total number of chapters
|
||||||
|
# {chapter} - name of the chapter
|
||||||
|
# {manga} - name of the manga
|
||||||
|
# {volume} - volume of the chapter
|
||||||
|
# {source} - name of the source
|
||||||
|
chapter_name_template = "{padded-index}_{manga}_{chapter}"
|
||||||
|
|
||||||
|
# Create a subdirectory for each manga (bool)
|
||||||
create_manga_dir = true
|
create_manga_dir = true
|
||||||
# Create a subdirectory for each volume (if available)
|
|
||||||
create_volume_dir = true
|
# Create a subdirectory for each volume (bool)
|
||||||
# Stop downloading other chapters on error
|
create_volume_dir = false
|
||||||
stop_on_error = false
|
|
||||||
|
# Default sources to use. (string array)
|
||||||
|
# Will prompt if not set.
|
||||||
|
# Type "mangal sources list" to show available sources
|
||||||
|
default_sources = [ "ComicK", "Mangadex", "Manganelo", "Manganato", "Mangapill", "AsuraScans", "LuminousScans" ]
|
||||||
|
|
||||||
|
# Whether to download manga cover or not (bool)
|
||||||
|
download_cover = true
|
||||||
|
|
||||||
|
# Where to download manga (string)
|
||||||
|
# Absolute or relative.
|
||||||
|
# You can also use tilde (~) to refer to your home directory or use env variables.
|
||||||
|
# Examples: ~/... or $HOME/... or ${MANGA_PATH}-mangal
|
||||||
|
path = "/home/sravan/Manga"
|
||||||
|
|
||||||
|
# If chapter is already downloaded, read it instead of downloading it to temp (bool)
|
||||||
|
read_downloaded = false
|
||||||
|
|
||||||
|
# Redownload chapters that already exist (bool)
|
||||||
|
redownload_existing = false
|
||||||
|
|
||||||
|
# Stop downloading other chapters on error (bool)
|
||||||
|
stop_on_error = true
|
||||||
|
|
||||||
[formats]
|
[formats]
|
||||||
# Default format to export chapters
|
# Will skip images that can't be converted to the specified format (bool)
|
||||||
# Available options are: pdf, zip, cbz, plain
|
|
||||||
use = 'pdf'
|
|
||||||
# Will skip images that can't be converted to the specified format
|
|
||||||
# Example: if you want to export to pdf, but some images are gifs, they will be skipped
|
# Example: if you want to export to pdf, but some images are gifs, they will be skipped
|
||||||
skip_unsupported_images = true
|
skip_unsupported_images = true
|
||||||
|
|
||||||
|
# Default format to export chapters (string)
|
||||||
|
# Available options are: pdf, zip, cbz, plain
|
||||||
|
use = "pdf"
|
||||||
|
|
||||||
|
[gen]
|
||||||
|
# Key to use in generated scrapers as author (string)
|
||||||
|
gen.author = "Sravan Balaji"
|
||||||
|
|
||||||
[history]
|
[history]
|
||||||
# Save chapters to history when downloaded
|
# Save history on chapter download (bool)
|
||||||
save_on_download = false
|
save_on_download = false
|
||||||
# Save chapters to history on read
|
|
||||||
|
# Save history on chapter read (bool)
|
||||||
save_on_read = true
|
save_on_read = true
|
||||||
|
|
||||||
[icons]
|
[icons]
|
||||||
# Icons variant.
|
# Icons variant. (string)
|
||||||
# Available options are: emoji, kaomoji, plain, squares, nerd (nerd-font)
|
# Available options are: emoji, kaomoji, plain, squares, nerd (nerd-font required)
|
||||||
variant = 'nerd'
|
variant = "nerd"
|
||||||
|
|
||||||
|
[installer]
|
||||||
|
# Custom scrapers repository branch (string)
|
||||||
|
branch = "main"
|
||||||
|
|
||||||
|
# Custom scrapers repository name (string)
|
||||||
|
repo = "mangal-scrapers"
|
||||||
|
|
||||||
|
# Custom scrapers repository owner (string)
|
||||||
|
user = "metafates"
|
||||||
|
|
||||||
|
[logs]
|
||||||
|
# Use json format for logs (bool)
|
||||||
|
json = true
|
||||||
|
|
||||||
|
# Available options are: (from less to most verbose) (string)
|
||||||
|
# panic, fatal, error, warn, info, debug, trace
|
||||||
|
level = "info"
|
||||||
|
|
||||||
|
# Write logs (bool)
|
||||||
|
write = false
|
||||||
|
|
||||||
[mangadex]
|
[mangadex]
|
||||||
# Preferred language
|
# Preferred language for mangadex (string)
|
||||||
language = 'en'
|
# Use "any" to show all languages
|
||||||
# Show nsfw manga/chapters
|
language = "en"
|
||||||
|
|
||||||
|
# Show NSFW content (bool)
|
||||||
nsfw = true
|
nsfw = true
|
||||||
# Show chapters that cannot be read (because they are hosted on a different site)
|
|
||||||
|
# Show chapters that cannot be downloaded (bool)
|
||||||
show_unavailable_chapters = false
|
show_unavailable_chapters = false
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
# Generate ComicInfo.xml file for each chapter (bool)
|
||||||
|
comic_info_xml = false
|
||||||
|
|
||||||
|
# Add series release date to each chapter in ComicInfo.xml file (bool)
|
||||||
|
comic_info_xml_add_date = true
|
||||||
|
|
||||||
|
# Use download date instead of series release date in ComicInfo.xml file (bool)
|
||||||
|
comic_info_xml_alternative_date = false
|
||||||
|
|
||||||
|
# Minimum relevance of a tag to be added to ComicInfo.xml file. From 0 to 100 (int)
|
||||||
|
comic_info_xml_tag_relevance_threshold = 60
|
||||||
|
|
||||||
|
# Fetch metadata from Anilist (bool)
|
||||||
|
# It will also cache the results to not spam the API
|
||||||
|
fetch_anilist = true
|
||||||
|
|
||||||
|
# Generate series.json file for each manga (bool)
|
||||||
|
series_json = true
|
||||||
|
|
||||||
[mini]
|
[mini]
|
||||||
# Limit number of search page entries
|
# Limit of search results to show (int)
|
||||||
search_limit = 50
|
search_limit = 50
|
||||||
|
|
||||||
[reader]
|
[reader]
|
||||||
# Name of the app to use as a reader for each format.
|
# What browser to use to open webpages (string)
|
||||||
# Will use default OS app if empty
|
browser = ""
|
||||||
pdf = 'okular' # e.g. pdf = 'zathura'
|
|
||||||
cbz = ''
|
# What app to use to open cbz files (string)
|
||||||
zip = ''
|
cbz = ""
|
||||||
plain = ''
|
|
||||||
# Will open chapter in the browser instead of downloading it
|
# What app to use to open folders (string)
|
||||||
|
folder = ""
|
||||||
|
|
||||||
|
# What app to use to open pdf files (string)
|
||||||
|
pdf = "okular"
|
||||||
|
|
||||||
|
# What app to use to open folders (string)
|
||||||
|
plain = ""
|
||||||
|
|
||||||
|
# Open chapter url in browser instead of downloading it (bool)
|
||||||
read_in_browser = false
|
read_in_browser = false
|
||||||
|
|
||||||
[installer]
|
# What app to use to open zip files (string)
|
||||||
# Custom scrapers repository (github only)
|
zip = ""
|
||||||
repo = 'mangal-scrapers'
|
|
||||||
# Custom scrapers repository owner
|
|
||||||
user = 'metafates'
|
|
||||||
# Custom scrapers repository branch
|
|
||||||
branch = 'main'
|
|
||||||
|
|
||||||
[gen]
|
[search]
|
||||||
# Name of author for gen command.
|
# Show query suggestions in when searching (bool)
|
||||||
# Will use OS username if empty
|
show_query_suggestions = true
|
||||||
author = 'Sravan Balaji'
|
|
||||||
|
|
||||||
[logs]
|
[tui]
|
||||||
# write logs?
|
# Spacing between items in the TUI (int)
|
||||||
write = false
|
item_spacing = 1
|
||||||
# Available options are: (from less to most verbose)
|
|
||||||
# panic, fatal, error, warn, info, debug, trace
|
# Read chapter on enter if other chapters aren't selected (bool)
|
||||||
level = "info"
|
read_on_enter = false
|
||||||
# Use json format for logs
|
|
||||||
json = false
|
# Reverse chapters order (bool)
|
||||||
|
reverse_chapters = false
|
||||||
|
|
||||||
|
# Search prompt string to use (string)
|
||||||
|
search_prompt = "> "
|
||||||
|
|
||||||
|
# Show path where chapters were downloaded (bool)
|
||||||
|
show_downloaded_path = true
|
||||||
|
|
||||||
|
# Show URLs under list items (bool)
|
||||||
|
show_urls = true
|
||||||
|
223
README.org
223
README.org
@@ -7520,96 +7520,193 @@ WantedBy=default.target
|
|||||||
** Mangal
|
** Mangal
|
||||||
|
|
||||||
#+BEGIN_SRC toml :tangle .config/mangal/mangal.toml
|
#+BEGIN_SRC toml :tangle .config/mangal/mangal.toml
|
||||||
|
[anilist]
|
||||||
|
# Anilist code to use for authentication (string)
|
||||||
|
code = ""
|
||||||
|
|
||||||
|
# Enable Anilist integration (bool)
|
||||||
|
enable = false
|
||||||
|
|
||||||
|
# Anilist ID to use for authentication (string)
|
||||||
|
id = ""
|
||||||
|
|
||||||
|
# Show link to Anilist on manga select (bool)
|
||||||
|
link_on_manga_select = true
|
||||||
|
|
||||||
|
# Anilist secret to use for authentication (string)
|
||||||
|
secret = ""
|
||||||
|
|
||||||
[downloader]
|
[downloader]
|
||||||
# Default source to use
|
|
||||||
# Will prompt to choose if empty
|
|
||||||
# Type `mangal sources` for available sources
|
|
||||||
default_source = ''
|
|
||||||
# Name template of the downloaded chapters
|
|
||||||
# Available variables:
|
|
||||||
# {index} - index of the chapters
|
|
||||||
# {padded-index} - same as index but padded with leading zeros
|
|
||||||
# {chapter} - name of the chapter
|
|
||||||
# {manga} - name of the manga
|
|
||||||
chapter_name_template = '{padded-index}_{chapter}'
|
|
||||||
# Where to download manga
|
|
||||||
# Absolute or relative.
|
|
||||||
#
|
|
||||||
# You can also use home variable
|
|
||||||
# path = "~/..." or "$HOME/..."
|
|
||||||
path = '$HOME/Manga'
|
|
||||||
# Use asynchronous downloader (faster)
|
# Use asynchronous downloader (faster)
|
||||||
# Do no turn it off unless you have some issues
|
# Do no turn it off unless you have some issues (bool)
|
||||||
async = true
|
async = true
|
||||||
# Create a subdirectory for each manga
|
|
||||||
|
# Key template of the downloaded chapters (string)
|
||||||
|
# Path forbidden symbols will be replaced with "_"
|
||||||
|
# Available variables:
|
||||||
|
# {index} - index of the chapters
|
||||||
|
# {padded-index} - same as index but padded with leading zeros
|
||||||
|
# {chapters-count} - total number of chapters
|
||||||
|
# {chapter} - name of the chapter
|
||||||
|
# {manga} - name of the manga
|
||||||
|
# {volume} - volume of the chapter
|
||||||
|
# {source} - name of the source
|
||||||
|
chapter_name_template = "{padded-index}_{manga}_{chapter}"
|
||||||
|
|
||||||
|
# Create a subdirectory for each manga (bool)
|
||||||
create_manga_dir = true
|
create_manga_dir = true
|
||||||
# Create a subdirectory for each volume (if available)
|
|
||||||
create_volume_dir = true
|
# Create a subdirectory for each volume (bool)
|
||||||
# Stop downloading other chapters on error
|
create_volume_dir = false
|
||||||
stop_on_error = false
|
|
||||||
|
# Default sources to use. (string array)
|
||||||
|
# Will prompt if not set.
|
||||||
|
# Type "mangal sources list" to show available sources
|
||||||
|
default_sources = [ "ComicK", "Mangadex", "Manganelo", "Manganato", "Mangapill", "AsuraScans", "LuminousScans" ]
|
||||||
|
|
||||||
|
# Whether to download manga cover or not (bool)
|
||||||
|
download_cover = true
|
||||||
|
|
||||||
|
# Where to download manga (string)
|
||||||
|
# Absolute or relative.
|
||||||
|
# You can also use tilde (~) to refer to your home directory or use env variables.
|
||||||
|
# Examples: ~/... or $HOME/... or ${MANGA_PATH}-mangal
|
||||||
|
path = "/home/sravan/Manga"
|
||||||
|
|
||||||
|
# If chapter is already downloaded, read it instead of downloading it to temp (bool)
|
||||||
|
read_downloaded = false
|
||||||
|
|
||||||
|
# Redownload chapters that already exist (bool)
|
||||||
|
redownload_existing = false
|
||||||
|
|
||||||
|
# Stop downloading other chapters on error (bool)
|
||||||
|
stop_on_error = true
|
||||||
|
|
||||||
[formats]
|
[formats]
|
||||||
# Default format to export chapters
|
# Will skip images that can't be converted to the specified format (bool)
|
||||||
# Available options are: pdf, zip, cbz, plain
|
|
||||||
use = 'pdf'
|
|
||||||
# Will skip images that can't be converted to the specified format
|
|
||||||
# Example: if you want to export to pdf, but some images are gifs, they will be skipped
|
# Example: if you want to export to pdf, but some images are gifs, they will be skipped
|
||||||
skip_unsupported_images = true
|
skip_unsupported_images = true
|
||||||
|
|
||||||
|
# Default format to export chapters (string)
|
||||||
|
# Available options are: pdf, zip, cbz, plain
|
||||||
|
use = "pdf"
|
||||||
|
|
||||||
|
[gen]
|
||||||
|
# Key to use in generated scrapers as author (string)
|
||||||
|
gen.author = "Sravan Balaji"
|
||||||
|
|
||||||
[history]
|
[history]
|
||||||
# Save chapters to history when downloaded
|
# Save history on chapter download (bool)
|
||||||
save_on_download = false
|
save_on_download = false
|
||||||
# Save chapters to history on read
|
|
||||||
|
# Save history on chapter read (bool)
|
||||||
save_on_read = true
|
save_on_read = true
|
||||||
|
|
||||||
[icons]
|
[icons]
|
||||||
# Icons variant.
|
# Icons variant. (string)
|
||||||
# Available options are: emoji, kaomoji, plain, squares, nerd (nerd-font)
|
# Available options are: emoji, kaomoji, plain, squares, nerd (nerd-font required)
|
||||||
variant = 'nerd'
|
variant = "nerd"
|
||||||
|
|
||||||
|
[installer]
|
||||||
|
# Custom scrapers repository branch (string)
|
||||||
|
branch = "main"
|
||||||
|
|
||||||
|
# Custom scrapers repository name (string)
|
||||||
|
repo = "mangal-scrapers"
|
||||||
|
|
||||||
|
# Custom scrapers repository owner (string)
|
||||||
|
user = "metafates"
|
||||||
|
|
||||||
|
[logs]
|
||||||
|
# Use json format for logs (bool)
|
||||||
|
json = true
|
||||||
|
|
||||||
|
# Available options are: (from less to most verbose) (string)
|
||||||
|
# panic, fatal, error, warn, info, debug, trace
|
||||||
|
level = "info"
|
||||||
|
|
||||||
|
# Write logs (bool)
|
||||||
|
write = false
|
||||||
|
|
||||||
[mangadex]
|
[mangadex]
|
||||||
# Preferred language
|
# Preferred language for mangadex (string)
|
||||||
language = 'en'
|
# Use "any" to show all languages
|
||||||
# Show nsfw manga/chapters
|
language = "en"
|
||||||
|
|
||||||
|
# Show NSFW content (bool)
|
||||||
nsfw = true
|
nsfw = true
|
||||||
# Show chapters that cannot be read (because they are hosted on a different site)
|
|
||||||
|
# Show chapters that cannot be downloaded (bool)
|
||||||
show_unavailable_chapters = false
|
show_unavailable_chapters = false
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
# Generate ComicInfo.xml file for each chapter (bool)
|
||||||
|
comic_info_xml = false
|
||||||
|
|
||||||
|
# Add series release date to each chapter in ComicInfo.xml file (bool)
|
||||||
|
comic_info_xml_add_date = true
|
||||||
|
|
||||||
|
# Use download date instead of series release date in ComicInfo.xml file (bool)
|
||||||
|
comic_info_xml_alternative_date = false
|
||||||
|
|
||||||
|
# Minimum relevance of a tag to be added to ComicInfo.xml file. From 0 to 100 (int)
|
||||||
|
comic_info_xml_tag_relevance_threshold = 60
|
||||||
|
|
||||||
|
# Fetch metadata from Anilist (bool)
|
||||||
|
# It will also cache the results to not spam the API
|
||||||
|
fetch_anilist = true
|
||||||
|
|
||||||
|
# Generate series.json file for each manga (bool)
|
||||||
|
series_json = true
|
||||||
|
|
||||||
[mini]
|
[mini]
|
||||||
# Limit number of search page entries
|
# Limit of search results to show (int)
|
||||||
search_limit = 50
|
search_limit = 50
|
||||||
|
|
||||||
[reader]
|
[reader]
|
||||||
# Name of the app to use as a reader for each format.
|
# What browser to use to open webpages (string)
|
||||||
# Will use default OS app if empty
|
browser = ""
|
||||||
pdf = 'okular' # e.g. pdf = 'zathura'
|
|
||||||
cbz = ''
|
# What app to use to open cbz files (string)
|
||||||
zip = ''
|
cbz = ""
|
||||||
plain = ''
|
|
||||||
# Will open chapter in the browser instead of downloading it
|
# What app to use to open folders (string)
|
||||||
|
folder = ""
|
||||||
|
|
||||||
|
# What app to use to open pdf files (string)
|
||||||
|
pdf = "okular"
|
||||||
|
|
||||||
|
# What app to use to open folders (string)
|
||||||
|
plain = ""
|
||||||
|
|
||||||
|
# Open chapter url in browser instead of downloading it (bool)
|
||||||
read_in_browser = false
|
read_in_browser = false
|
||||||
|
|
||||||
[installer]
|
# What app to use to open zip files (string)
|
||||||
# Custom scrapers repository (github only)
|
zip = ""
|
||||||
repo = 'mangal-scrapers'
|
|
||||||
# Custom scrapers repository owner
|
|
||||||
user = 'metafates'
|
|
||||||
# Custom scrapers repository branch
|
|
||||||
branch = 'main'
|
|
||||||
|
|
||||||
[gen]
|
[search]
|
||||||
# Name of author for gen command.
|
# Show query suggestions in when searching (bool)
|
||||||
# Will use OS username if empty
|
show_query_suggestions = true
|
||||||
author = 'Sravan Balaji'
|
|
||||||
|
|
||||||
[logs]
|
[tui]
|
||||||
# write logs?
|
# Spacing between items in the TUI (int)
|
||||||
write = false
|
item_spacing = 1
|
||||||
# Available options are: (from less to most verbose)
|
|
||||||
# panic, fatal, error, warn, info, debug, trace
|
# Read chapter on enter if other chapters aren't selected (bool)
|
||||||
level = "info"
|
read_on_enter = false
|
||||||
# Use json format for logs
|
|
||||||
json = false
|
# Reverse chapters order (bool)
|
||||||
|
reverse_chapters = false
|
||||||
|
|
||||||
|
# Search prompt string to use (string)
|
||||||
|
search_prompt = "> "
|
||||||
|
|
||||||
|
# Show path where chapters were downloaded (bool)
|
||||||
|
show_downloaded_path = true
|
||||||
|
|
||||||
|
# Show URLs under list items (bool)
|
||||||
|
show_urls = true
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Trackma
|
** Trackma
|
||||||
|
Reference in New Issue
Block a user