Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RikudouSage/LemmyAutoTldrBot
https://github.com/RikudouSage/LemmyAutoTldrBot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/RikudouSage/LemmyAutoTldrBot
- Owner: RikudouSage
- License: mit
- Archived: true
- Created: 2023-08-01T23:36:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-23T12:31:13.000Z (4 months ago)
- Last Synced: 2024-07-23T14:32:17.688Z (4 months ago)
- Language: PHP
- Size: 164 KB
- Stars: 132
- Watchers: 1
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lemmy - LemmyAutoTldrBot - activity/y/RikudouSage/LemmyAutoTldrBot) (Projects / Tools)
README
# Lemmy AutoTL;DR bot
This bot reads content from a supported site and reports back the summary.
## Interesting parts
- [summarizer.py](python/source/summarizer.py) - the script that does the summarization itself
- [site handlers](src/SiteHandler) - directory with classes that extract the text from the site
- [handler command](src/Command/ReplyToPostsCommand.php) - 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](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](serverless.yaml) - contains configuration for deploying the docker image to AWS Lambda
- [publish.yaml](.github/workflows/publish.yaml) - publishes the source code to AWS Lambda on every push## Libraries used
*Only the important ones are listed*
- [sumy](https://pypi.org/project/sumy/)
- [rikudou/lemmy-api](https://packagist.org/packages/rikudou/lemmy-api)
- [Symfony](https://symfony.com/)