Documentation website for MTGo, a fast and idiomatic Go client library for the Telegram MTProto API.
The site is built with VitePress and deployed to GitHub Pages at:
https://mtgo-labs.github.io/website/
- Guides for installation, authentication, handlers, filters, middleware, and storage.
- API documentation for clients, configuration, messages, media, users, and generated types.
- CLI, plugin, advanced transport, and example pages.
- Generated Telegram TL constructor and method reference pages.
Install dependencies:
npm ciRun the local docs server:
npm run devBuild the static site:
npm run buildPreview the production build:
npm run previewThe generated TL documentation is produced from the MTGo source tree:
npm run tlgenNote
npm run tlgen expects the main MTGo repository to exist at ../mtgo relative to this website directory.
Deployments are handled by GitHub Actions in .github/workflows/deploy.yml.
Every push to main builds the VitePress site and publishes .vitepress/dist through GitHub Pages.