v1.0.2
MAYK Menu Terminal Client is a python script that displays the contents of the Mayk food menu for the current week.
It just gets the menu from mayk.fi/tietoa-meista/ruokailu like curl
, parses it with Regex and styles it.
Just run git clone https://github.com/libreMayk/Mayk-Menu-Terminal-Client.git; cd Mayk-Menu-Terminal-Client; mv ./ruoka /usr/bin; chmod +x /usr/bin/ruoka/; pip install colorama
and ruoka --help
to get info with the program!
sudo apt install python
sudo pacman -S python
sudo rpm -i python
- Install python if you don't have it, please check the above guide for how to install python.
git clone https://github.com/libreMayk/Mayk-Menu-Terminal-Client
Clone the repocd Mayk-Menu-Terminal-Client
Change dir to the cloned repochmod +x ruoka
Give executable permissions for the programmv ruoka /usr/bin/
Move the program to bin- If any problems just feel free to contact me!
git clone https://github.com/libreMayk/Mayk-Menu-Terminal-Client; cd Mayk-Menu-Terminal-Client; chmod +x ruoka; mv ruoka /usr/bin/
- Install python:
pkg i python
git clone <https://github.com/libreMayk/Mayk-Menu-Terminal-Client>
cd Mayk-Menu-Terminal-Client
- Use your favorite text editor to change the
#! /usr/bin/python
to#! /data/data/com.termux/files/usr/bin/python
- Then you will need to use that editor again to add the RUOKA to your path
vim ~/.bashrc
then addexport PATH=$PATH:~/Mayk-Menu-Terminal-Client/ruoka
to the end - Now you can just run
ruoka --help
- If any problems feel free to contact me!
Please free to contact Carrot8