Crates.io | twir_parser |
lib.rs | twir_parser |
version | 0.1.0 |
source | src |
created_at | 2023-06-22 07:03:09.370313 |
updated_at | 2023-06-22 07:03:09.370313 |
description | CLI tool that allows searching for articles in this week in rust newsletter |
homepage | |
repository | |
max_upload_size | |
id | 896968 |
size | 65,479 |
The goal of this CLI project is to parse the TWIR articles in search of given keywords.
This CLI tool was born because TWIR newsletter is an amazing learning resource. This tool allows you to search for given word patterns in the newsletter's archive. It has 2 types of search online and offline. In the beginning if you've never used it before, it will fetch all the content from the newsletter, this may take a few minutes. After fetch it will decide to search online or offline based on a CLI option that you can pass or automatically in case the cache file exists on your system. The tool defaults to offline search for speed.
# Searches the entire TWIR issue archive for "embedded audio" articles
cargo run -- --search "embedded audio"
# Online search with limiting the search to the most recent 10 issues
cargo run --release -- --search "ESP32" --online --limit 10