Metadata-Version: 2.4
Name: comicat
Version: 0.1.0
Summary: Web comic reader with site preset support
Author: XiaoWang0923
License-Expression: MIT
Project-URL: Homepage, https://github.com/XiaoWang0923/comicat
Project-URL: Repository, https://github.com/XiaoWang0923/comicat
Keywords: comic,reader,web,scraper,flask
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Flask
Classifier: Intended Audience :: End Users/Desktop
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flask>=3.0
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: lxml>=5.0
Requires-Dist: requests>=2.31
Requires-Dist: curl_cffi>=0.7.0
Dynamic: license-file

# COMICAT

Web comic reader with site preset support. Paste a URL, read offline.

## Install

```bash
pip install comicat
```

## Usage

```bash
comicat              # start server, auto-open browser
comicat -p 8080      # custom port
comicat --no-browser # don't open browser
comicat --clear-data # wipe all local data
```

## Features

- **Site presets** — built-in adapters for popular comic sites (nyaa.fan, kurocore, etc.)
- **Lazy-load aware** — handles `data-src`, `data-original` and other lazy attributes
- **Structured storage** — images saved per comic under `%APPDATA%/comicat/comics/`
- **Boss key** — press `;` to instantly switch to a fake MDN docs page
- **Edit & comment** — rename comics and add notes from the library page

## Data Directory

| OS      | Path                                      |
|---------|-------------------------------------------|
| Windows | `%APPDATA%\comicat\`                      |
| macOS   | `~/Library/Application Support/comicat/`  |
| Linux   | `~/.local/share/comicat/`                 |

## Development

```bash
git clone https://github.com/XiaoWang0923/comicat
cd comicat
pip install -e .
comicat --debug
```

## License

[MIT](LICENSE)
# COMICAT - comic at or comi cat?
在这个程序中，我希望使用 Flask + BS4 + requests 库，实现一个先把网页爬下来，再解析，再统一呈现的网页漫画阅读器。
