# buongiornissimo-rs

~ Scrapes for the best Italian boomer flavoured images ~

Get started Β· Documentation

Developed by @veeso

Current version: 0.2.1 (23/05/2023)

License-MIT Repo stars Downloads counter Latest version Ko-fi

Build CI Coveralls Docs

--- - [buongiornissimo-rs](#buongiornissimo-rs) - [About buongiornissimo-rs πŸ“·](#about-buongiornissimo-rs-) - [Features 🎁](#features-) - [Get started 🏁](#get-started-) - [Add buongiornissimo-rs to your Cargo.toml πŸ¦€](#add-buongiornissimo-rs-to-your-cargotoml-) - [Scrape for buongiornissimo β˜•](#scrape-for-buongiornissimo-) - [Examples πŸ”](#examples-) - [Documentation πŸ“š](#documentation-) - [Support the developer β˜•](#support-the-developer-) - [Contributing and issues 🀝🏻](#contributing-and-issues-) - [Changelog ⏳](#changelog-) - [License πŸ“ƒ](#license-) --- ## About buongiornissimo-rs πŸ“· 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. ## Features 🎁 - Different providers to prevent api outages and to differentiate the contents. - Support for different kind of greetings based on the current date - Utilities functions to retrieve the moveable feasts date (such as Easter, Carnival, Corpus domini...). *requires the `moveable-feasts` feature* - A super comfy function `greeting_of_the_day()` to retrieve the best greeting for the day --- ## Get started 🏁 ### Add buongiornissimo-rs to your Cargo.toml πŸ¦€ ```toml buongiornissimo-rs = "^0.2.0" ``` Supported features are: - `no-log`: disable logging - `moveable-feasts` (*default*): enable getters for moveable feasts ### Scrape for buongiornissimo β˜• ```rust use buongiornissimo_rs::{IlMondoDiGrazia, 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 = IlMondoDiGrazia::default().scrape(motd).await?; // Do whatever you want with the scraped images... Ok(()) } ``` Currently these providers are supported: - BuongiornissimoCaffe - IlMondoDiGrazia ### Examples πŸ” You can check the example to scrape a buongiornissimo imagerunning the example, which is located at `examples/buongiornissimo.rs`: ```sh cargo run --example buongiornissimo --features moveable-feasts ``` --- ## Documentation πŸ“š The developer documentation can be found on Rust Docs at --- ## Support the developer β˜• 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: [![ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/veeso) [![PayPal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://www.paypal.me/chrisintin) [![bitcoin](https://img.shields.io/badge/Bitcoin-ff9416?style=for-the-badge&logo=bitcoin&logoColor=white)](https://btc.com/bc1qvlmykjn7htz0vuprmjrlkwtv9m9pan6kylsr8w) [![litecoin](https://img.shields.io/badge/Litecoin-345d9d?style=for-the-badge&logo=Litecoin&logoColor=white)](https://blockchair.com/litecoin/address/ltc1q89a7f859gt7nuekvnuuc25wapkq2f8ny78mp8l) --- ## Contributing and issues 🀝🏻 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](CONTRIBUTING.md) --- ## Changelog ⏳ View buongiornissimo-rs's changelog [HERE](CHANGELOG.md) --- ## License πŸ“ƒ buongiornissimo-rs is licensed under the MIT license. You can read the entire license [HERE](LICENSE)