Using 'reeder' to textify more kinds of web resources for llm workflows in the terminal #967
rpdelaney
started this conversation in
Show and tell
Replies: 1 comment
-
That's cool, you could make an llm-reeder llm plugin for easy use alongside llm with a keyword like
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Simon already provided strip-tags for reducing HTML to plain text. If you just need to extract plain text for use in your cli workflows, you should stick with that.
However, my use cases are a bit more demanding, as I also use LLMs to interrogate PDF documents and YouTube videos. So, I'm developing reeder to fill those gaps. My aim is to have a one-stop-shop command-line tool for textifying arbitrary web content.
Here's a simple example of reeder summarizing a news story:
$ reed 'https://www.wired.com/story/2025-4chan-hack-admin-leak/' | llm prompt -t tldr -m 4o-mini
Markdown output
Or, using reeder and llm to extract contact information into a qrcoded vCard for easy importing to a mobile device:
$ reed "https://friscolibrary.com/contactus/" | llm prompt "Extract only the contact information and format it as a vCard." -x -m 4o-mini | qrencode -t UTF8i -o -
Console output
reeder can extract subtitles from YouTube:
$ reed 'https://www.youtube.com/watch?v=d-7o9xYp7eE' | llm prompt -t tldr -m 4o
Markdown output
Finally, I'm also using reeder to generate briefs on legal documents:
$ reed 'https://storage.courtlistener.com/recap/gov.uscourts.dcd.278436/gov.uscourts.dcd.278436.81.0_5.pdf' | llm prompt -t brief -m o1-mini
JSON output
reeder is under active development: it still has rough edges, lacks docs, and the API should be considered unstable. But if you'd like to give it a try, you can install it from pypi via, e.g.
pipx install reeder
.Beta Was this translation helpful? Give feedback.
All reactions