Skip to content

Commit

Permalink
Merge branch 'main' of github.com:piqoni/cast-text
Browse files Browse the repository at this point in the history
  • Loading branch information
piqoni committed Sep 21, 2024
2 parents 0e0f9ea + 9fe6d5e commit 004a394
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,42 @@

## Features
- Read the full article content from the terminal
- Easy to use: ←↓↑→ arrow keys (or hjkl) is all you need to use its main features. One single UI.
- Easy to use: ←↓↑→ arrow keys (or hjkl) is all you need to use its main features. Up/Dow to browse through articles, Left/Right to scroll the article content.
- Fast: it will prefetch adjacent articles - so every action is instant.
- By default it will load the BBC, but you can change the source by passing `-rss <your_rss_or_atom_feed>`
- One single UI for both article listing and article content.
- If for some reason you need to open the article on a browser simply press ENTER.
- q to quit, other optinal shortcuts put in ( ) on the title to jump directly to the article
- Trackpad scrolling will list through articles (thanks to the great rivo/tview library)
- UPCOMING: Perhaps support non-rss news outlets like CNN, etc.

## Showcase
/~https://github.com/user-attachments/assets/90f3fe3e-a555-42d2-b071-7cbab2cb3172
### Default frontpage is BBC
<img width="1412" alt="image" src="/~https://github.com/user-attachments/assets/a83f210b-a359-4541-bb95-83dbe8ec3094">

# Installation
## Homebrew
```
brew tap piqoni/cast-text
brew install cast-text
```

## Binaries
Download binaries for your OS at [release page](/~https://github.com/piqoni/cast-text/releases), and chmod +x the file to allow execution.

## Using GO INSTALL
If you use GO, you can install it directly:
```
go install github.com/piqoni/cast-text@latest
```

# How to run it
If you want to read BBC just run the binary without any arguments. If you want to read something else pass its rss address to -rss parameter. For example to read http://lobste.rs start it by running:
```
cast-text -rss https://lobste.rs/rss
```
You can perhaps put an alias (export alias lobster=cast-text -rss https://lobste.rs/rss) so now you have a "lobster" reader shorthand:

<img width="895" alt="image" src="/~https://github.com/user-attachments/assets/a6b26ceb-50b2-4ff6-9e7c-c43aaa142208">

0 comments on commit 004a394

Please sign in to comment.