Metadata-Version: 2.4
Name: novel-cli
Version: 0.1.0
Summary: Offline web novel scraper and library manager
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: beautifulsoup4
Requires-Dist: cloudscraper
Requires-Dist: selenium
Requires-Dist: markdownify
Requires-Dist: lxml

# novel-cli

A CLI tool for scraping and managing web novels offline, with an optional web viewer.

## Install

```bash
git clone https://github.com/YOUR_USERNAME/novel-cli.git
cd novel-cli
pip install -e .
```

## Usage

```bash
# Add a novel to your reading list
novel add https://www.royalroad.com/fiction/12345/some-novel

# Scrape all novels (downloads chapters)
novel scrape

# Scrape a single novel
novel scrape "Novel Title"

# Update stats only (no chapter download)
novel update-stats

# List your library
novel list

# Show novel details
novel show "Novel Title"

# Remove a novel
novel remove "Novel Title"

# Export library
novel export json
novel export csv

# Show stats
novel stats

# Clean orphaned data
novel clean
```

## Web Viewer (optional)

```bash
cd viewer && pnpm install
novel read
# Opens at http://localhost:4173
```

Data is stored in `~/.novel-library/`.
