Incomplete code for rendering and posting a rDrama thread based on a user's post history.
 
 
Go to file
bung 77f1d100bf Initial commit 2024-07-03 07:59:26 -05:00
src Initial commit 2024-07-03 07:59:26 -05:00
.gitignore Initial commit 2024-07-03 07:59:26 -05:00
README.md Initial commit 2024-07-03 07:59:26 -05:00
requirements.txt Initial commit 2024-07-03 07:59:26 -05:00

README.md

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