ThreadAggregator/README.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2024-07-03 12:28:58 +00:00
## Makeshift reddit aggregator using pullpush.io and Jinja2
Notable problems:
* Using just pullpush.io means that the score counter usually sits at 1.
* No support for BlueSky
* Code needs comments and refactoring
* I got lazy towards the end
* Recursive quotation breaks if any of the comments have markdown quotes
* It seems like it's culling some parent comments, but I haven't bothered to check.
What this does well compared to the others (at time of writing):
* Recursive quotations
* (presumably) Rendering markdown in Jinja to make extensions easier
* (mixed) Uses async for faster processing
* This would be more useful when integrated with BlueSky or if rDrama didn't have a rate limit of 1/s for submitting comments.
* It makes it harder for people not familiar with async to use/reuse code
## Installing
```
python3 -m venv .venv
source .venv/bin/activate # (or .venv/bin/activate.fish if using fish)
python3 -m pip install -r requirements.txt
```
## Running
```
source .venv/bin/activate # (or .venv/bin/activate.fish if using fish)
python3 src/main.py
```
## Example
https://rdrama.net/post/280889/testing-yet-another-bardfinn-digest-20240702