Go to file
2022-04-19 15:12:20 +02:00
.husky
deploy
dev Main Menu: Add Beta changelog and discussion chat (#1810) 2022-04-19 15:11:48 +02:00
dist [Build] 2022-04-09 03:47:49 +02:00
public [Build] 2022-04-09 03:47:49 +02:00
src Auth QR Code: Better animation 2022-04-19 15:12:20 +02:00
.babelrc
.browserslistrc [Refactoring] More stylelint constraints; Update browserlist (#1708) 2022-02-20 13:39:06 +02:00
.editorconfig
.env.example
.eslintignore Main Menu: Add Beta changelog and discussion chat (#1810) 2022-04-19 15:11:48 +02:00
.eslintrc [Refactoring] ESLint: Add addCallback where possible (#1780) 2022-03-25 13:15:55 +01:00
.gitattributes
.gitignore
.patch-version [Build] 2022-04-09 03:47:49 +02:00
.postcssrc
.stylelintrc.json Calls: Introduce peer-to-peer calls (#1791) 2022-04-09 01:18:22 +02:00
CHANGELOG.md 1.40.0 2022-04-01 21:01:52 +02:00
jest.config.js [Tests] Fix tests 2021-10-22 13:49:27 +03:00
LICENSE
package-lock.json [Dev] Update dependencies (#1825) 2022-04-19 15:12:00 +02:00
package.json [Dev] Update dependencies (#1825) 2022-04-19 15:12:00 +02:00
README.md Update README.md 2021-08-22 15:22:55 +03:00
tsconfig.json Main Menu: Add Beta changelog and discussion chat (#1810) 2022-04-19 15:11:48 +02:00
webpack.config.js Main Menu: Add Beta changelog and discussion chat (#1810) 2022-04-19 15:11:48 +02:00

Telegram Web Z

This project won the first prize 🥇 at Telegram Lightweight Client Contest and now is an official Telegram client available to anyone at web.telegram.org/z.

According to the original contest rules, it has nearly zero dependencies and is fully based on its own Teact framework (which re-implements React paradigm). It also uses a custom version of GramJS as an MTProto implementation.

The project incorporates lots of technologically advanced features, modern Web APIs and techniques: WebSockets, Web Workers and WebAssembly, multi-level caching and PWA, voice recording and media streaming, cryptography and raw binary data operations, optimistic and progressive interfaces, complicated CSS/Canvas/SVG animations, reactive data streams, and so much more.

Feel free to explore, provide feedback and contribute.

Local setup

mv .env.example .env

npm i

Obtain API ID and API hash on my.telegram.org and populate the .env file.

Dev mode

npm run dev

Invoking API from console

Start your dev server and locate GramJS worker in console context.

All constructors and functions available in global GramJs variable.

Run npm run gramjs:tl full to get access to all available Telegram requests.

Example usage:

await invoke(new GramJs.help.GetAppConfig())

Bug reports and Suggestions

If you find an issue with this app, let Telegram know using the Suggestions Platform.