1
0
mirror of https://github.com/alexellis/seeds2.git synced 2022-05-09 04:08:56 +03:00
Alex Ellis 40d705884b Add URL
2017-06-26 17:16:40 +01:00
2017-06-15 07:39:33 +01:00
2017-06-24 16:58:30 +01:00
2017-06-15 07:39:33 +01:00
2017-06-26 17:16:40 +01:00
2017-06-15 07:47:25 +01:00
2017-06-15 07:39:33 +01:00
2017-06-15 07:39:33 +01:00
2017-06-15 07:39:33 +01:00

seeds2

A Python application for live tweeting photos of your seeds

Live Tweet

Example tweet: https://twitter.com/alexellisuk_bot/status/875077917902024706

Installation

  • Install depedencies
$ sudo apt-get install python-pip
$ sudo pip install -r requirements.txt
  • Update your access keys

Now add your Twitter keys into a config.py file:

config = {"ckey": "", "csecret": "", "akey": "", "asecret": "", "working_directory": "./", "image_quality": 35 , "tweet": True}

For testing without Tweeting you can set tweet to False in the config.py file.

  • Get the Roboto font from:

https://material.io/guidelines/resources/roboto-noto-fonts.html

  • For scheduling the code - use cron and this entry:
*/10 08-20 * * * /home/pi/seeds2/seed-it.sh

That runs once every 10 minutes between 8am and 8pm.

Description
A Python application for live tweeting photos of your seeds growing on your Raspberry Pi.
Readme 34 KiB
Languages
Python 77.6%
Dockerfile 20.1%
Shell 2.3%