Crates.io | buongiornissimo-rs |
lib.rs | buongiornissimo-rs |
version | |
source | src |
created_at | 2022-09-12 11:55:31.072642+00 |
updated_at | 2025-03-28 16:42:12.630387+00 |
description | Scrapes for the best Italian boomer flavoured images |
homepage | https://github.com/veeso/buongiornissimo-rs |
repository | https://github.com/veeso/buongiornissimo-rs |
max_upload_size | |
id | 663703 |
Cargo.toml error: | TOML parse error at line 25, column 1 | 25 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
~ Scrapes for the best Italian boomer flavoured images ~
Developed by @veeso
Current version: 0.3.1 (28/03/2025)
Buongiornissimo-rs is a Rust library to scrape for Buongiornissimo caffè Italian boomer flavoured images from a Rust application. It supports different buongiornissimo providers to scrape the images from. It supports many kind of "greetings", such as the classic "buongiornissimo", but also the holiday-based greetings, like "natale", "sacro cuore di Gesù" and "Giovedì grasso". Everthing is provided through a simple and totally async API.
moveable-feasts
featuregreeting_of_the_day()
to retrieve the best greeting for the daybuongiornissimo-rs = "^0.2.0"
Supported features are:
no-log
: disable loggingmoveable-feasts
(default): enable getters for moveable feastsuse buongiornissimo_rs::{BuongiornissimoCaffe, Scrape};
use chrono::Local;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let motd = buongiornissimo_rs::greeting_of_the_day(Local::today().naive_local(), true);
let urls = BuongiornissimoCaffe::default().scrape(motd).await?;
// Do whatever you want with the scraped images...
Ok(())
}
Currently these providers are supported:
You can check the example to scrape a buongiornissimo imagerunning the example, which is located at examples/buongiornissimo.rs
:
cargo run --example buongiornissimo --features moveable-feasts
The developer documentation can be found on Rust Docs at https://docs.rs/buongiornissimo-rs
If you like buongiornissimo-rs and you're grateful for the work I've done, please consider a little donation π₯³
You can make a donation with one of these platforms:
Contributions, bug reports, new features and questions are welcome! π If you have any question or concern, or you want to suggest a new feature, or you want just want to improve buongiornissimo-rs, feel free to open an issue or a PR.
Please follow our contributing guidelines
View buongiornissimo-rs's changelog HERE
buongiornissimo-rs is licensed under the MIT license.
You can read the entire license HERE