Run commands via email.
- Requirement: Python (>= 2.7.3)
- Rename config_example.py to config.py -- set variables respectively.
- Use a dedicated email
- It deletes all messages it opened
- Some email providers like gmail still keep deleted messages depending on user setting
- Run run.py or in background with nohup python run.py > /dev/null 2>&1 &
- Must be a valid JSON format
- One command per line
- Use at your own risk!
Use the following email body format:
{"type": "terminal", "command": ["ls", "-la"]}
{"type": "terminal", "command": ["touch", "meow"]}
Licensed under the Apache License, Version 2.0. See: LICENSE for more info.