Awesome
Lemmy AutoTL;DR bot
This bot reads content from a supported site and reports back the summary.
Interesting parts
- summarizer.py - the script that does the summarization itself
- site handlers - directory with classes that extract the text from the site
- handler command - the class that handles the bot loop itself, meaning it ties all the parts together and is the entry point
- all the stuff for building and deploying the project:
- Dockerfile - creates the docker image that runs the bot
- You can also use it as an always-up-to-date reference on how to make the bot work on your local computer
- serverless.yaml - contains configuration for deploying the docker image to AWS Lambda
- publish.yaml - publishes the source code to AWS Lambda on every push
- Dockerfile - creates the docker image that runs the bot
Libraries used
Only the important ones are listed