- https://github.com/sonicnkt/telegram2mqtt
- Telecast with Popey
- Jupiter Broadcasting / Linux Academy
Notes on getting the lambda layer with feedgen working
- Create a cloud9 instance on AWS and load the lambda function
- Follow this guide on the AWS docs to install
lxml
first, then install the remaining modules likefeedgen
andpcloud
. - Upload the new version of the lambda function by clicking the upload button
- In the lambda config page on AWS, make sure that the python 3.6 runtime is selected!
Old notes (possibly delete)
- Create new EC2 image based on amazon linux 2 distribution. Create a new keypair and save the
pem
file to the local machine. Use these instructions to connect via SSH - Install python3, pip, and virtual environments as detailed here
- Launch virtual environment per above link. Install
lxml
,feedgen
, andpcloud
python modules viapip
. - Adapt solution from this SO post to create zip file. Should look something like this:
for dir in lib64/python3.7/site-packages \
lib/python3.7/site-packages
do
if [ -d $dir ] ; then
pushd $dir; zip -r ~/deps.zip .; popd
fi
done
- Exit session and download zip file to local machine via
scp
- Upload zip file as new layer in lambda layer management interface