8000 GitHub - hongnoul/mangap: Read manga in your terminal. Real images via kitty graphics, live search, Anilist sync. Maintained fork of mangal. · GitHub
[go: up one dir, main page]

Skip to content
hongnoulPublic

About

Read manga in your terminal. Real images via kitty graphics, live search, Anilist sync. Maintained fork of mangal.

Topics

Resources

Contributing

Stars

9 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,034 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mangap

mangap

MIT license GitHub stars latest stable release

mangap: search, open a chapter, and read pages in the terminal

Running in gwae on Ghostty, MacBook Pro M4

Maintained fork of mangal, which is archived. Your mangal config, history, and Lua scrapers carry over on first run.

Runs on macOS, Linux, and Windows, in any terminal that supports the kitty graphics protocol.

Install

Requires a terminal with kitty graphics: kitty, Ghostty, or WezTerm.

brew install hongnoul/tap/mangap

or with Go:

go install github.com/hongnoul/mangap@latest

Binaries for macOS, Linux, and Windows are on Releases.

Features

Feature Default What it does
Infinite scroll j / k Pages continue across chapter boundaries in reading order
Chapter jump ctrl+j / ctrl+k Next or previous chapter
Direction D Toggles right-to-left and left-to-right. Default rtl (reader.direction)
Live search type Results and cover thumbnails update per keystroke from a local catalog
Bookmarks automatic Saves the exact page on exit and resumes there
Source picker ctrl+s Lists sources with live RTT. ctrl+o cycles
Downloads ctrl+x Browse, filter, read, and delete downloaded chapters
Download all ctrl+d Downloads every chapter of the open manga after confirmation
Viewer toggle ctrl+r Switches between the in-terminal reader and an external viewer
Thumbnails ctrl+t Cover thumbnails on or off
Anilist sync mangap integration anilist Marks read chapters on your Anilist list

List screens use j/k to move, l to open, h to go back. q leaves the reader. ctrl+g shows keybinds.

Downloaded chapters open with mangap view <folder|file.cbz>.

Compared to

mangap mangal manga-tui
Status Maintained Archived Maintained
Reads pages in the terminal Yes, kitty graphics No, hands off to an external viewer Yes, kitty / iTerm2 / sixel
Search Live per keystroke with covers Submit then list Advanced filters
Custom Lua scrapers Yes (mangal-compatible) Yes No
Download formats cbz, pdf, zip, images cbz, pdf, zip, images cbz, epub, pdf, images
Anilist sync Yes Yes Yes
Language Go, single static binary Go Rust

Pick manga-tui if you need iTerm2 or sixel terminals. Pick mangap if you are on kitty, Ghostty, or WezTerm, or have a mangal setup you want to keep.

Sources

Built in: Mangapill (default) and MangaDex (fallback). ctrl+l sets the MangaDex language.

Order and enabled set: sources.order and sources.disabled in mangap config. -S <name> forces a source.

Custom Lua scrapers install from mangal-scrapers with mangap sources install.

Coming from mangal

First run copies the mangal config directory (sources, history, Anilist bindings, mangal.toml as mangap.toml) if no mangap directory exists. The mangal directory is not modified.

Environment variables use the MANGAP_ prefix. mangap env lists them. mangap where prints paths.

External viewer keys (reader.pdf, reader.cbz, ...) are ignored with a warning. formats.use affects downloads only.

Anilist

mangap integration anilist

Opens the browser for authorization. Over SSH, add --no-browser and paste the redirect URL. Own API client: create one at https://anilist.co/settings/developer with redirect http://localhost:47563/callback, pass --client-id <id>. --disable logs out.

Development

git clone https://github.com/hongnoul/mangap
cd mangap
make build
make test

See CONTRIBUTING.md for the code layout and how to add a source.

License

MIT. Original work copyright (c) 2022 metafates.

About

Read manga in your terminal. Real images via kitty graphics, live search, Anilist sync. Maintained fork of mangal.

Topics

Resources

Contributing

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0