Show HN: Surfgram – A 0-dep Telegram SDK with types generated from official docs
github.comI built surfgram because I was tired of heavy Telegram libraries and inconsistent types
Key technical decisions: — Zero Dependencies: No node-fetch, no axios, just native calls — Source of Truth: Instead of manual typing, I wrote a generator that scrapes the official Telegram Bot API docs — Type Safety: Focus on strict null checks to avoid undefined at runtime.
The repo is here: https://github.com/surfgram/surfgram I’d love to hear your feedback on the code generation logic and the API design
No comments yet.