Skip to content

carrot8/Mayk-Menu-Terminal-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

MAYK Menu Terminal Client

v1.0.2

What is this?

MAYK Menu Terminal Client is a python script that displays the contents of the Mayk food menu for the current week.

How does it work?

It just gets the menu from mayk.fi/tietoa-meista/ruokailu like curl, parses it with Regex and styles it.


Quick guide

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!

Python installation (if you don't have it already)

Debian based (Ubuntu, Pop!_OS etc)

sudo apt install python

Arch based (Manjaro, EndeavourOS)

sudo pacman -S python

RedHat based (Fedora)

sudo rpm -i python

Installation

Linux

  1. Install python if you don't have it, please check the above guide for how to install python.
  2. git clone https://github.com/libreMayk/Mayk-Menu-Terminal-Client Clone the repo
  3. cd Mayk-Menu-Terminal-Client Change dir to the cloned repo
  4. chmod +x ruoka Give executable permissions for the program
  5. mv ruoka /usr/bin/ Move the program to bin
  6. If any problems just feel free to contact me!
Copy (Linux)
git clone https://github.com/libreMayk/Mayk-Menu-Terminal-Client; cd Mayk-Menu-Terminal-Client; chmod +x ruoka; mv ruoka /usr/bin/

Crazies (Termux)

  1. Install python: pkg i python
  2. git clone <https://github.com/libreMayk/Mayk-Menu-Terminal-Client>
  3. cd Mayk-Menu-Terminal-Client
  4. Use your favorite text editor to change the #! /usr/bin/python to #! /data/data/com.termux/files/usr/bin/python
  5. Then you will need to use that editor again to add the RUOKA to your path vim ~/.bashrc then add export PATH=$PATH:~/Mayk-Menu-Terminal-Client/ruoka to the end
  6. Now you can just run ruoka --help
  7. If any problems feel free to contact me!

Photos

image termuxMaykMenu

Contact

Please free to contact Carrot8

Maintainers:

Carrot8, unityH24

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages