Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

webogram

> 编程语言
Open source

Telegram web application, GPL v3

8.1K stars0 likes2 views
WebsiteGitHub

About

Telegram web application, GPL v3

Project is DEPRECATED

The project was superseeded by 2 new official Telegram Web Apps:

  • https://github.com/morethanwords/tweb - Telegram Web K, based on source code of Webogram, rewritten in TypeScript.
  • https://github.com/Ajaxy/telegram-tt - Telegram Web Z, based on its own Teact framework (which re-implements React paradigm), uses a custom version of GramJS as an MTProto implementation. Written also in Typescript.

Webogram — Telegram Web App

Telegram offers great apps for mobile communication. It is based on the MTProto protocol and has an Open API. I personally like Telegram for its speed and cloud-support (that makes a web app possible, unlike in the case of WA and others).

MTProto data can be carried over HTTP (SSL is also supported), so this project is my take at creating one.

That said, I'm using this app myself and I'd like to share its sources, so anyone can contribute to the development. Any help is welcome!

Interface

Here are some screenshots of the interface:

Unsupported at the moment

  • Secret chats
  • Black list
  • ...

Maintained locations

Description URL Type
Online Web-version (hosted on Telegram servers) https://web.telegram.org/ hosted
Online Web-version (hosted on GitHub pages) https://zhukov.github.io/webogram hosted
Chrome Web Store https://chrome.google.com/webstore/detail/telegram/ clhhggbfdinjmjhajaheehoeibfljjno packed
Firefox & FirefoxOS Marketplace https://marketplace.firefox.com/app/telegram packed

Hosted version: the app is downloaded via HTTPS as a usual website. Will be available offline due to application cache.

Packed version: the app is downloaded at once in a package via HTTPS. The package is updated less frequently than the Web-version.

All of the apps above are submitted and maintained by @zhukov, so feel free to use them and report bugs here. Please do not report bugs which are only reproducible in different locations.

Technical details

The app is based on the AngularJS JavaScript framework, and written in pure JavaScript. jQuery is used for DOM manipulations, and Bootstrap as the CSS-framework.

Running locally

The project repository is based on angularjs-seed and includes gulp tasks, so it's easy to launch the app locally on your desktop. Install node.js.

Install dependencies with:

bash
npm install

Optionally, run the following commands in the project directory to install gulp globally:

bash
sudo npm install -g gulp

This will install all the needed dependencies.

Running web-server

Just run npm start (gulp watch) to start the web server and the livereload task. Open http://localhost:8000/app/index.html in your browser.

Running as Chrome Packaged App

To run this application in Google Chrome as a packaged app, open this URL (in Chrome): chrome://extensions/, then tick "Developer mode" and press "Load unpacked extension...". Select the downloaded app folder and Webogram should appear in the list.

Run npm start (gulp watch) to watch for file changes and automatically rebuild the app.

Running as Firefox OS App

To run this application in Firefox as a packaged app, open "Menu" -> "Developer" -> "WebIDE" (or hit Shift + F8). Choose "Open packaged app" from the Project menu and select the app folder.

Run npm start (gulp watch) to watch for file changes and automatically rebuild the app.

Running in production

Run npm run clean (gulp clean), then npm run build (gulp publish) to build the minimized production version of the app. Copy dist folder contents to your web server. Don't forget to set X-Frame-Options SAMEORIGIN header (docs).

Third party libraries

Besides the frameworks mentioned above, other libraries are used for protocol and UI needs. Here is the short list:

  • JSBN
  • CryptoJS
  • zlib.js
  • UI Bootstrap
  • jQuery Emojiarea
  • nanoScrollerJS
  • gemoji
  • emoji-data

Many thanks to all these libraries' authors and contributors. A detailed list with descriptions and licenses is available here.

Licensing

The source code is licensed under GPL v3. License is available here.

Contribute

Issues· 371 open

View all issuesOpen on GitHub
  • #2134

    App id / NO fork mirror

    Updated May 10, 2023
  • #1868

    I cannot login with number

    Waiting for AnswerUpdated Mar 4, 2022
  • #2130

    I've been banned from sending messages in Telegram anyone can help please

    Updated Feb 28, 2022
  • #2128

    Remove joined notification once for all

    Updated Feb 20, 2022
  • #2124

    Don't drop the project

    Updated Jan 12, 2022
  • #866

    There's no click to focus landing area in the content area of chat

    enhancementUpdated Dec 24, 2021
  • #2122

    Question about Login?

    Updated Dec 15, 2021
  • #2118

    Increase the usage of compound assignment operators

    Updated Dec 11, 2021
  • #2116

    UPDATE_APP_TO_LOGIN ERROR

    Updated Dec 10, 2021
  • #2115

    Missing Channel Info Menu (in v0.5.7 on FFOS only)

    Updated Nov 30, 2021

> Tags

JavaScriptjavascriptmessengerprogressive-web-appsingle-page-app

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言