merlinstardust / tidbyt-messages

Container to send text-based messages to my Tidbit device.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tidbyt Messages

Code for a container intended to be run in AWS Lambda. Takes input and generates a scrolling message for display on a Tidbyt device. API token and device ID are stored as env variables in the Lambda function, which is why they are harvested from the environment in the python code. Example execution:

curl -XPOST "https://api.brianwtracey.com/message" \
  -d '{"replacements":{"MESSAGE_TEXT":"Hello world how are you today?", "HEX_COLOR":"cc7ba6"}}'

About

Container to send text-based messages to my Tidbit device.


Languages

Language:HTML 56.7%Language:Python 31.6%Language:Dockerfile 6.4%Language:Starlark 4.1%Language:Shell 1.2%