Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.12 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.12 KB

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

Libraries used

Only the important ones are listed