#menu #food #regex #html-parser #mayk

app ruoka-rs

Fetch the mayk.fi menu efficiently

8 stable releases

1.0.7 Nov 6, 2022
1.0.6 Aug 14, 2022
1.0.4 Jul 22, 2022

#1 in #food

22 downloads per month

Custom license

120KB
69 lines

🦀 ruoka-rs

A tool to quickly get the menu from mayk.fi/tietoa-meista/ruokailu. The program curls the html, parses it with Regex and makes it more colorful.

demo.gif

Installation

Linux & MacOS

Run the following in your terminal:

cargo build                           # compile
mv ./target/debug/ruoka-rs /usr/bin   # move the program to bin

Other systems

Install the package via cargo:

cargo install ruoka-rs

Missing cargo?

🦀 On Linux and MacOS systems, run:

curl https://sh.rustup.rs -sSf | sh

🦀 On Windows, download and run rustup-init.exe. It will start the installation in a console.

For other installation options and information, visit the install page of the Rust website.

🦀 Build and Install Cargo from Source

Alternatively, you can build Cargo from source.

Enjoy!

(Also, feel free to contact zeriaxdev if you have any issues or questions.)

Dependencies

~14–23MB
~347K SLoC