Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Make MTProto an external library for general usage #124

Open
thomasfr opened this issue Mar 4, 2014 · 21 comments
Open

Make MTProto an external library for general usage #124

thomasfr opened this issue Mar 4, 2014 · 21 comments
Labels

Comments

@thomasfr
Copy link

thomasfr commented Mar 4, 2014

Thanks for your great work for making Telegram with Webogram available on the Desktop / Web!
To make it easier to debug, fix bugs and reuse the base protocol implementation, it would be great if you could make the mtproto.js an external dependency and an separate GitHub Repo under your account.

@nukeador
Copy link
Contributor

nukeador commented Mar 4, 2014

Great idea :)

@RodolfoSilva
Copy link

It would be great, very good idea. Would greatly help if it were a separate project.

@stefan-niedermann
Copy link

I'm very intereted in this, too. Do you have a roadmap / Do you know how much time you will need?

@francisbrito
Copy link

👍

1 similar comment
@praswicaksono
Copy link

👍

@Walkman100
Copy link

#126 (comment)

@zhukov
Copy link
Owner

zhukov commented Jan 12, 2017

I think, I'm finally going to do this.
I'd like to decouple mtproto.js from this project and Angular.js. Current main deps are $http and $q services. I will replace $http with fetch() (and this Shim for older browsers) and $q with native promises (via bluebird). Also $rootScope will be replaced with some callbacks.

@zhukov zhukov added the ready label Jan 12, 2017
@zhukov
Copy link
Owner

zhukov commented Jan 12, 2017

This may help to make it work with angular angular/angular.js#12533 (comment)

@RodolfoSilva
Copy link

This is very useful.

@RodolfoSilva
Copy link

We can use TypeScript or Babel for make this...

@Ryuno-Ki
Copy link
Contributor

Please test Bluebird-Shim extensively under Windows. From Aurelia I've learned that it caused troubles there time and again (Internet Explore Edge vs. older ones).

@goodmind
Copy link

goodmind commented Feb 9, 2017

@zhukov any progress on this?

@laughedelic
Copy link

Any updates?

@ei-grad
Copy link

ei-grad commented Jul 6, 2017

@zhukov just in case, it should be a good idea to start a dispute for mtproto package name - https://www.npmjs.com/package/mtproto. What to do - https://www.npmjs.com/policies/disputes#tldr.

@constXife
Copy link

Any updates?

@stek29
Copy link
Collaborator

stek29 commented Nov 17, 2017

I'd consider using https://github.com/zerobias/telegram-mtproto if I was JS dev.

@abhishekgahlot
Copy link

For some reason this library https://github.com/zerobias/telegram-mtproto does ban my account if opened at different places. I tried webogram and that works. It would be great to decouple mtproto.js

@thecyberd3m0n
Copy link

thecyberd3m0n commented Mar 19, 2019 via email

@abhishekgahlot
Copy link

I am going to fork and start working on standalone library with mtprotojs file.

@goodmind
Copy link

@abhishekgahlot you will find only pain :/

@thecyberd3m0n
Copy link

thecyberd3m0n commented Mar 21, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests