Spegel is a proof-of-concept terminal web browser that fetches HTML and uses an LLM to convert it into markdown for terminal display.
Users can define custom views and prompts to personalize content, such as extracting recipes or simplifying text.
Spegel supports live adjustment of prompts and views during browsing sessions.
It leverages Textual for the TUI and streams only complete lines to avoid partial markdown rendering issues.
The tool is installable via pip and its source code is available on GitHub for contributions.
Get notified when new stories are published for "🇺🇸 Hacker News English"