← Projects

CLI-Reader

Manga in your terminal.

PythonTextualJikan API

CLI-Reader main screen

01Overview

CLI-Reader is a terminal-based manga reader written in Python. No browser, no tabs: browse series, pick chapters and read pages from the command line you already live in — launchable with python run_app.py, with a desktop entry for Rofi users.

The interface is built with Textual for a rich TUI: a start menu, search, manga preview and reading views. Metadata — titles, authors, summaries — comes from the Jikan API, while chapters and pages are scraped from MangaPill (via BeautifulSoup and cloudscraper, fetched asynchronously with aiohttp). A dedicated downloader module handles the images.

02Architecture

RUN python run_app.py → venv + requirements → app/src/app.py reader Textual 3.1 TUI MainMenu · search OptionList · preview MangaReader · ←/→ Rich 14 · Pillow 11 controllers search · dl Jikan API metadata · covers api.jikan.moe/v4 MangaPill BS4 4.13 · cloudscraper mangapill.com chapters · pages aiohttp 3.11 aiofiles · natsort 8.4 app/manga/chapters/… pages 1 2 3 4 4 5
Reader → Textual screens → controllers → providers → async downloads → disk cache.

03Walkthrough

04Stack

LanguagePython, launched via run_app.py (+ a Rofi desktop entry)
InterfaceTextual TUI with rich text, Pygments highlighting and inline images (textual-image, Pillow)
MetadataJikan API for titles, authors and summaries
ContentMangaPill scraping with BeautifulSoup; Cloudflare-aware fetching via cloudscraper; async downloads with aiohttp + aiofiles
DetailsNatural chapter sorting (natsort); 17 modules across provider, downloader, controllers, TUI and utils

05Under the hood

06Roadmap

Repository with setup instructions →