all projects
tg-fetcher
telegram bot — send a link, get structured metadata and a searchable archive.
personal telegram bot that captures every shared link into a neon postgres database with llm-extracted, normalized metadata. includes a small web ui on the same fly.io app for browsing and searching saved entries.
how it works
- send a url in telegram — github, instagram, youtube, articles, anything.
- bot detects source platform, fetches the page, runs an llm to produce structured fields (title, author, description, tags, language, extra json), replies with a preview plus inline buttons: save / re-parse / edit description / cancel.
- if the url was already saved, the bot refuses and points at the existing entry.
- on save the row is inserted into the neon links table.
- browse everything via the web ui (http basic auth).
commands
/help— usage/list [n]— recent saved entries/find <query>— search title / description / author / domain / tags/delete <id>— delete an entry with confirm