All Projects → WeiChiaChang → what-to-eat

WeiChiaChang / what-to-eat

Licence: other
🍴 A useful tool helps you deciding what to eat for lunch.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to what-to-eat

l
Cross-platform html/io [L]ogger with simple API.
Stars: ✭ 26 (+36.84%)
Mutual labels:  wtfpl
zzlib
zlib-compressed file depacking library in Lua
Stars: ✭ 44 (+131.58%)
Mutual labels:  wtfpl
Efficient-office
Alfred-Workflows,Vim,Script,Mac
Stars: ✭ 36 (+89.47%)
Mutual labels:  osascript
platform info
Containts info about current platform such as Build mode and Operating system
Stars: ✭ 21 (+10.53%)
Mutual labels:  wtfpl
keyboard
A terrible terrible soft-keyboard that randomises keys on every press.
Stars: ✭ 17 (-10.53%)
Mutual labels:  wtfpl
sublime-applescript
AppleScript command completions, build system and useful snippets. Supports editing binary scripts
Stars: ✭ 50 (+163.16%)
Mutual labels:  osascript
sponge
sponge is a website crawler and links downloader command-line tool
Stars: ✭ 37 (+94.74%)
Mutual labels:  wtfpl
alert
Cross-platform, isomorphic alert, for Node and browser (previously alert-node)
Stars: ✭ 27 (+42.11%)
Mutual labels:  osascript
node-jxa
Use your favorite node.js modules (and JS editor) for your Javascript OSX automation scripts
Stars: ✭ 52 (+173.68%)
Mutual labels:  osascript

🍴 what-to-eat

PRs Welcome CC 4.0

A useful tool that helps you deciding what to eat for lunch.

what-to-eat

回台南工作打滾也半年多了,每天最煩惱的倒不是 deadline,而是不知道要吃什麼午餐。

研究了一下 Mac 自帶的 osascriptshell script,並搭配簡單的 crontab 每日定時推播。

🎉 Installing / Getting started

A quick introduction of how to use, first of all:

git clone https://github.com/WeiChiaChang/what-to-eat.git

Recommend installing on desktop directly, or you may have some tiny changes to make from show.sh file.

Add some crontab setting on your Mac:

crontab -e

You will enter a terminal with empty wording, is time to get your hands dirty with vim syntax:

First, press Esc then i.

Then input:

20 12 * * 1-7 sh ~/Desktop/what-to-eat/show.sh

This script will be automatically executed at 12:20 on every day-of-week from Monday through Sunday.

crontab-guru will do a favor for you .

Last step, press Esc then :, w, q and Enter.

Everything all done now, enjoy your lunch! turtle

🔧 Configuration

Lunch lists can be customized on src/testLunch.json this file.

©️ License

CC 4.0

© WeiChiaChang

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].