Closed xaiki closed 5 years ago
tdweb is not available public yet. Hope that it will be ready in few months
...few months lather...
Another few months later...
TDweb is web version of TDLib?
@omkarnathsingh It's TDLib compiled to a WASM module. @evgeny-nadymov Is there a status or eta on this? It's becoming a thing that contributing to Telegram clients is impossible.
...another few months later... (why are you keeping it private tbh? I don't think it will expose any "secret development" or "private keys" because TDLib is already public!)
@handlerug looks like, that this library can support last unreleased features like group call/video call/etc ;)
Don't think so. It looks like TDLib compiled for web, so I don't get if it has any private features. Althrough source maps are enabled at the demo website, and TDWeb is exposed there, but it will be much conveniently if we would had that at NPM.
Any update? Please create a tsweb repo. I'm happy to contribute effort.
any update on this?
is there a way to test this repo locally?
Relevant discussion comment in the tdlib/td repo: https://github.com/tdlib/td/issues/127#issuecomment-479123702
@MattNguyen Since 1.3.0 there was a lot of improvements in interaction of TDLib with browser's API. TDLib has been successfully used to create a web client for Telegram with all of benefits provided by TDLib: https://evgeny-nadymov.github.io/telegram-react / https://github.com/evgeny-nadymov/telegram-react. The underluying JS library tdweb will be made public along with TDLib 1.4.0 release. Source code and build instructions for tdweb was already added as an example of TDLib usage in a browser to TDLib development version. The only part there, that we need to improve before release, is tdweb's documentation and usage instructions. TDLib 1.4.0 is expected to be released after Telegram X stable release and Bot API 4.2.0 release.
In the interim, you could potentially use this wasm binary: https://github.com/Bannerets/tdlib-binaries#tdlib-130-release
I haven't tried yet but could be an option.
If anyone wants a support group for experimenting with TDLib and WASM, I've made a public group here: https://t.me/tdweb_dev
Thanks for pointing out! 👍 I'd better wait for TDLib 1.4.0 release together with TDWeb release, but it's great that someone built TDLib for WebAssembly.
Here are the source files:
Now that this is released and maintained, time to close this issue? :)
Ah shit, here we go again...
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@arseny30/tdweb/-/tdweb-1.5.9.tgz
npm ERR! 404
npm ERR! 404 '@arseny30/tdweb@1.5.9' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
@evgeny-nadymov could @arseny30 publish v1.5.9, please?
I am getting this error
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@arseny30/tdweb/-/tdweb-1.7.6.tgz
npm ERR! 404
npm ERR! 404 '@arseny30/tdweb@1.7.6' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.````
hey, i'm looking at your code with much interest, but can't build a thing because tdweb seems to be gone from the web, any idea on where i can find it ?