Giter Club home page Giter Club logo

telekram's Introduction

js-standard-style

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:

Sample screenshot 1 Mobile screenshot 2 Mobile screenshot 3

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:

npm install

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

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:

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.

telekram's People

Contributors

arma7x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

telekram's Issues

Telegram API Update

Yesterday myself and other received a message from Telegram stating that the version of telegram we are using will stop working soon.

Any plans to update the API?

App receives push notifications but crashes when opened

After having sideloaded the app through WebIDE and having successfully logged in, the app crashed (I must also add that this happened the second time I reinstalled the app, the first time I managed to get into the settings before it crashed).
The apps still manages to show push notifications, not all of them but whenever it connects to the Internet I suppose, though if I open the notification the app freezes on the main pages (it doesn't display the profile pictures) and force exits.
I'm using a Nokia 6300 4G on KaiOS 2.5.4 with only debugging active, no root.

Trouble with playing music on Nokia 8000, during using TeleKram

Hello, I buy Nokia 8000 device. Install Telekram and found issue.

When i listen music (FM Radio / Mp3 player / Stream etc) & run simulateosly telekram, music stopped when TeleKram loading contactlist. Music triangle has not appear on top of screen, Telekram capture main audio channel. Can you help me fix issue, I cannot find way...

Telekram on KaiOS doesn't support updated users

On KaiOS, my conversation with some users appear under the name "Unsupported User". Once you select the conversation, the following message appear: "If you found this bot, your app is outdated. Please update your app to the latest version. Official apps can be updated at : https://telegram.org/dl"

It seems that Telegram required an up-to-date app to be able to speak with some Telegram users.

Updated source using Telegram Z

Hi! I am using your app and it is amazing. I'm happy that I can use Telegram on my KaiOS Device. Some of my contacts though appear as "Unsupported User" and Telegram promts me to update my outdated app. Could your adaptation of Telegram Web be based on the newer Telegram Web Z source (https://github.com/Ajaxy/telegram-tt)?

Telegram

Why am I getting error missing app url in uploading telegram to kaios portal

Can't insert phone number on the login page

There are buttons configured to open the country list and to write the prefix by yourself, but... no enter phone number button.
Also, there is no cursor soo yeah I can't figure out how to select the number box (pressing the up/down buttons doesn't do anything)

MozActivity

if you open the app with MozActivity action, the focus () does not work in the chat list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.