Skip to content

Lightweight telegram web client based on MadelineProto

License

Notifications You must be signed in to change notification settings

EyadMahm0ud/mpgram-web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPGram Web

Lightweight Telegram web client based on MadelineProto.

Test instance is available at https://mp.nnchan.ru (not guaranteed to run a stable version).

It is highly recommended to run your own instance (read on).

Setup

  • Generate your own API id by creating a Telegram app at https://my.telegram.org/apps
  • Create api_value.php from the api_values.php.example using the api_id and api_hash you generated
  • Create config.php from the config.php.example

Deployment

Docker

You can deploy your own instance quickly with Docker Compose - see how.

Manual deployment notes

  • You should deny access to sessions folder (s/ by default, see in config.php) and MadelineProto.log
  • You must have php-gd extension installed to get images working (apt-get install php8.1-gd)
    and php-mbstring for MadelineProto (apt-get install php8.1-mbstring)
  • You need to set browscap in php.ini to get better logged in device names
  • Install Composer v2+
  • Install MadelineProto and its dependencies with composer update
  • For more details on installing MadelineProto see here

Tested browsers

Fully supported:

  • Internet Explorer 6.0 and above
  • Opera 9.0 and above
  • Nokia Browser for Symbian (Symbian 9.2 and above)
  • S40 6th Edition
  • Mozilla Firefox 2.0
  • WebPositive
  • All modern browsers (Chrome, Safari, etc)

Partially supported (Auto update doesn't work and/or no auto scroll):

  • Internet Explorer 3.0-5.0
  • Opera Mini (All versions)
  • S40 5th Edition or older
  • Internet Explorer Mobile (?)

Not supported

  • Internet Explorer 2 and older
  • ?

About

Lightweight telegram web client based on MadelineProto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.6%
  • JavaScript 1.8%
  • Dockerfile 0.6%