Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

tfl-tree

Requirements

On your Raspberry Pi, you need to install some dependencies:

  • libttspico-utils for speech synthesis using the pico2wave command
  • mediainfo for getting information about generated speech
sudo apt install libttspico-utils mediainfo

ffmpeg should already be installed. This is required to package the video with the generated audio

You should install Python requirements in a virtual environment. This is designed to run on Python 3, so you can initialise your virtual environment using Python's built-in venv module, then activate the environment and install dependencies like so:

python3 -m venv venv
source venv/bin/activate
pip install -U pip
pip install -e ".[pi]"

If you want to install dependencies on another computer (e.g. if you're editing the code and your IDE is trying to help you with code completion), install the dependencies from requirements.txt instead of that last pip install line above:

pip install -r requirements.txt

Run tests

This project uses the built-in Python UnitTest module. To run the tests, call python -m unittest

Configuration

Configuration is done through environment variables. Look at config.py for the available variables. You can set them by creating a .env file in the project root.

About

Raspberry Pi-powered Twitter bot that records a video of a Christmas tree every time the Tube status changes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages