JonathanLindsey / clinews

Educational CLI app for video #4: https://youtu.be/4km2UijVC3M

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clinews

A simple cli news reader app in Rust.

Video walkthrough

  1. Building a CLI app in Rust

  2. Refactoring the CLI app in Rust

  3. Library API design overhaul, async and more

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 <clinews.deb>

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:

export API_KEY=xxx

then

Run clinews from terminal.

Contributions

Feel free to file issues and PRs

About

Educational CLI app for video #4: https://youtu.be/4km2UijVC3M


Languages

Language:Rust 100.0%