Metadata-Version: 2.4
Name: techcrunch
Version: 1.0.1
Summary: Terminal UI for TechCrunch: browse category feeds and read articles in the CLI.
Project-URL: Homepage, https://github.com/plusvitae/techcrunch
Project-URL: Repository, https://github.com/plusvitae/techcrunch
Project-URL: Issues, https://github.com/plusvitae/techcrunch/issues
Author: Vishal Venkat
License-Expression: MIT
Keywords: news,techcrunch,terminal,textual,tui
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
Requires-Python: >=3.10
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: requests>=2.28
Requires-Dist: textual>=8.0
Description-Content-Type: text/markdown

# techcrunch

Browse TechCrunch in the terminal: pick a feed, open a story, read the text. Built with [Textual](https://github.com/Textualize/textual). Source: [github.com/plusvitae/techcrunch](https://github.com/plusvitae/techcrunch).

## Run it

```bash
pip install techcrunch
techcrunch
```

**Keys:** Tab moves focus · ↑↓ headlines · Enter opens article · Esc or `b` back · `r` reload feed · `q` quit.

## Screenshots

Images load from the repo’s `main` branch so this README renders on **GitHub and PyPI**.

<table>
  <tr>
    <td align="center" width="33%">
      <img src="https://raw.githubusercontent.com/plusvitae/techcrunch/main/docs/screenshots/ss3.svg" alt="Feed picker" width="100%" />
      <br /><sub>Feed picker</sub>
    </td>
    <td align="center" width="33%">
      <img src="https://raw.githubusercontent.com/plusvitae/techcrunch/main/docs/screenshots/ss1.svg" alt="Headlines" width="100%" />
      <br /><sub>Headlines</sub>
    </td>
    <td align="center" width="33%">
      <img src="https://raw.githubusercontent.com/plusvitae/techcrunch/main/docs/screenshots/ss2.svg" alt="Article and tags" width="100%" />
      <br /><sub>Article + tags</sub>
    </td>
  </tr>
</table>

## What gets scraped

**Feed pages** (category or tag listing on techcrunch.com):

- Post title  
- Article URL  

Thumbnails exist on the site; the TUI only shows titles.

**Article pages** (when you press Enter):

- Title  
- Author  
- Published time  
- Body text (`.entry-content` / WordPress blocks; `script`, `style`, `aside`, and `figure` nodes removed so images don’t appear in the body)  
- Tags (`rel="tag"` links)

**Feeds wired in the app**

| Categories | Tags |
| --- | --- |
| Startups, Venture, Enterprise, Apps, Security, AI, Fintech, Hardware, Transportation, Media & Entertainment, Biotech & Health, Space, Climate, Government & Policy | Apple, Google, Meta, Amazon, Microsoft |

The package also includes a small **search** helper (`techcrunch/search.py`) that hits `techcrunch.com/?s=…` and parses result cards (title, link, excerpt, author, date, category)—not used by the TUI today.

## License

MIT
