GoReadManga

command module
v0.0.0-...-26332dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 39 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README ΒΆ

English | ζ—₯本θͺž

GoReadManga

Find, read, maybe.

Go Report Card

Features ✨
  • πŸš€ Convenient & Fast: Quickly fetch and search for manga with ease.
  • πŸ”„ Resume Where You Left Off: Easily continue your reading session.
  • πŸ•΅οΈβ€β™‚οΈ Browse History: Access previously viewed material using natively installed fzf, or utilize the built-in fzf search if not installed.
  • πŸ“ PDF Storage: Generated PDFs are stored in your OS's temp directory (compatible with Windows, Android, Linux, and Darwin).
  • πŸ–ΌοΈ Image Processing: Choose between jpegli or the standard JPEG library for efficient encoding/decoding of images.
  • πŸ“„ Vertical Image Splitting: Split tall vertical images into multiple pages without any gaps.
  • 🌐 Horizontal Image Splitting: Split wide horizontal images into multiple pages (maximizes image vertically).
  • πŸ“Š Viewing Statistics: Get basic statistics on your reading habits.
  • πŸ”„ Server Switching: Easily switch between different content servers.
  • 🧹 Cache Management: Clear cache easily (it can grow quickly!).
  • πŸ”§ Error Handling: Cull broken entries in the history JSON file caused by network drops or outages.
  • πŸ—‚οΈ Comprehensive History Tracking: Reads stats from all history files (Backups are made when main history json file reaches 5mb).
  • 🌐 Proxy Support: Use a SOCKS5 proxy with the -ph, --proxy-host option [server:port].
πŸ” Upcoming Features:
  • πŸ“‚ Custom Output Directory: Specify an output directory using the -o, --output-dir option.
  • 🎨 Customizable PDF Background: Change the color of empty space in PDFs (default: black).
  • 🎯 Title-Based Recommendations: Recommender based on title supplied.
  • 🎲 Randomization Options: Randomizer or randomize based on genre.

πŸ’‘ More to Come: Stay tuned for additional features as they develop!

Installing
Windows:

Download from releases page, and move executable into its own directory. If you move and run it in another directory, a new json will be created unless you move the old one to the new location. It is better to have a dedicated directory for it.

Building
Windows:

go build -o GoReadManga.exe main.go

Others:

go build -o GoReadManga main.go

image

Commands in program

image

Command Description
N Next chapter
P Previous chapter
S Select chapter
R Reopen current chapter
A Search another manga
BH Browse history, select to read
ST See stats
OD Open PDF dir
CS Toggle between content server1/2
D Toggle image decoding method [jpegli/normal]
M Toggle jpegli encoding mode [jpegli/normal]
WS Toggle splitting images wider than page
C Clear cache
Q Exit
Command Line Arguments

image

Usage:

GoReadManga [Option]

Options:

Option Description
-h, --help Print this help page
-v, --version Print version number
-jp, --jpegli Use jpegli to re-encode jpegs
-q, --quality Set quality to use with jpegli encoding (default: 85)
-ws, --wide-split Split images that are too wide and maximize vertically
-ph, --proxy-host Socks5 proxy support [server:port]
-H, --history Show last viewed manga entry in history
-bh, --browse-history Browse history file, select and read
-st, --stats Show history statistics
-r, --resume Continue from last session
-od, --opendir Open pdf directory
-c, --cache-size Print cache size (C:\Users\Administrator\AppData\Local\Temp.cache\goreadmanga)
-C, --clear-cache Purge cache directory (C:\Users\Administrator\AppData\Local\Temp.cache\goreadmanga)
-f, --fix Remove json entries causing problems (empty chapter_page/chapter_title during network issues)

Note: The cache directory path is an example; the application will use the OS's temporary directory by default.

Disclaimer: for personnel and edumucational porpoises only.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 捒网址