Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creativcoder/clinews
Educational CLI app for video #4: https://youtu.be/4km2UijVC3M
https://github.com/creativcoder/clinews
Last synced: about 2 months ago
JSON representation
Educational CLI app for video #4: https://youtu.be/4km2UijVC3M
- Host: GitHub
- URL: https://github.com/creativcoder/clinews
- Owner: creativcoder
- Created: 2021-08-16T11:04:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-29T15:01:16.000Z (over 2 years ago)
- Last Synced: 2023-02-26T13:47:20.056Z (almost 2 years ago)
- Language: Rust
- Homepage:
- Size: 26.4 KB
- Stars: 14
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Clinews
A simple cli news reader app in Rust.
## Video walkthrough
1. [Building a CLI app in Rust](https://www.youtube.com/watch?v=4km2UijVC3M)
2. [Refactoring the CLI app in Rust](https://www.youtube.com/watch?v=LHPV3z9OSic)
3. [Library API design overhaul, async and more](https://youtu.be/J_yGWdgeGQM)
## How to install
#### Ubuntu
Install the cargo-deb subcommand:
`cargo install cargo-deb`generate a deb package by running:
`cargo deb` in clinews repository
install the .deb package from target/debian using `dpkg -i `
#### Other linux distribution
`cargo install --path .` - You will need rust toolchain setup for this.
## Running clinews
Register on newsapi.org and get an API key.
Set the API key in your `.bashrc` or `.zshrc` like:
```bash
export API_KEY=xxx
```then
Run `clinews` from terminal.
## Contributions
Feel free to file issues and PRs