Show HN: Surfgram – A 0-dep Telegram SDK with types generated from official docs

I 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

1 points anybodyy 10 months ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton