Comments (27)
I want to develop something.
But I fear have to rewrite all c libs in javascript.
In my vacations after the new year I hope to start the project.
from tg.
Thank you!
I'm pretty sure you can find some help (if needed) on the Mozilla's list:
http://lists.mozilla.org/
Also, @loqui developers maybe interested on this.
from tg.
I don't have much experience with emscripten, but would it work for this?
Best Regards,
from tg.
Hi guys I recommend this e-book https://leanpub.com/quickguidefirefoxosdevelopment/ for want learn the first steps in Firefox OS
from tg.
I have many busy in work but I don't gave up of the ideia.
I am a teacher and I have a few students in a research group that could take the first steps.
I will meet in the coming week.
from tg.
I'm working on it (learning the API first).
from tg.
Would you guys be OK if I create an organization (Telegram FFOS) and added you guys to it so we can collaborate?
from tg.
No problem.
Me and 'my' students, we are learning the api of FFOS.
The goal for the semester is develop the user interface.
from tg.
@dannluciano cool, I've added you to the org. I was planning on doing it as my final school project. I'm also looking into Emscripten
edit: @sebasmagri about Emscripten I think it should work, we would only have to work on the UI then. Except for the part where we have to extract what is just the API from this project because we don't need the whole CLI stuff. So In a way (I think) we need to turn this into a library, not a client (which would be really good since it would open up possibilities for clients in other languages). So far I'm trying to comment and document the code because it's terribly commented.
from tg.
So I tried building with Emscripten and (as expected) did not work out of the box.
from tg.
@rcsole Do you think there is some reusable out of the Emscripten output? We'd need to determine if it's worth the effort or if we'd go with a new API upon FxOS specific TCPSocket API as referenced at loqui/im#161 (Spanish).
from tg.
@sebasmagri Honestly, I have no clue. The Emscripten doesn't not get far enough to output anything. I am, however, trying to isolate the API from this project, comment it, and then run Emscripten on it because this does seem like a viable project and having a base on C instead of JavaScript does sound like a better plan.
Either way I think the way to go is write some C (or C++) code which afterwards let's us run Emscripten on it, because that's be helpful if anyone were to try and port it to say python or lua (the C part, not the JS part).
I'll add you to the org @sebasmagri
from tg.
@rcsole having a base C library does sound great. It would be extracted from tg's code and tg would be able to use it also.
from tg.
@sebasmagri exactly my idea. But I am going rather slow because this code, while great, is poorly commented (actually not commented whatsoever) and it does have a couple thousand lines in total.
from tg.
It would be amazing to get some support from tg for this... ;-)
from tg.
Indeed, it would be really great. I don't think it's going to happen though. I'll start by commenting the code on the Telegram-FFOS fork, and I guess I'll send pull requests every now and then. Ideally I'll create a new repo containing the API only. I'll keep in touch!
from tg.
i like the idea
i know javascript but no idea of C
count on me, please!
from tg.
@sebasmagri What do you want from this C library? In particular, how do you see it's interface?
from tg.
@vysheng a pretty straight forward library with methods for common API operations needed for a client would suffice. It doesn't need to deal with UI, just API operations.
from tg.
@sebasmagri Problem is with data structures that are used to represent user, message and so on.
from tg.
@vysheng I have not had time to deeply look at the code. Could you please elaborate?
Thanks for showing up!
Regards,
from tg.
@sebasmagri I use some big structures where I can put everithing, that server can tell me about this peer (user, for example). It is easy to use in app, because you have all information about peer in one structure, but for library it is not so good, because it will use more memory, then user wants.
from tg.
@vysheng a good starting point would be to break such big structures in smaller types for each entity exposed in the API. You could use such types and keep them in your big structure later if you want to.
from tg.
http://zhukov.github.io/webogram may be this is helpful. Someone already wrote a web based client for telegram.
from tg.
@pravi thank you!
from tg.
I would like to join the Telegram FFOS team! Thanks.
from tg.
The webogram project looks like it is already going good. I think it would be wise to join this project for a FFOS version, because FFOS runs webapps anyway.
I don't completely understand the idea of having a C library as a base, you can't run any C in web apps. Besides that, the app will comunicate with the Telegram API, so why would you need some shared codebase anyway?
from tg.
Related Issues (20)
- Jasim74927492@gmail
- Juthi
- 2527
- اياتي HOT 2
- raspbian make
- termination_signal_handler in make HOT 2
- g
- Z
- "Make" fails on Ubuntu 20.04 HOT 3
- _Originally posted by @dhmii50 in https://github.com/vysheng/tg/issues/1787_
- Outdated api HOT 3
- https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=18fbca16-2224-45f6-85b0-f7bf2b39b3f3&scope=openid%20profile%20email%20offline_access&redirect_uri=https%3A%2F%2Flearn.microsoft.com%2F_themes%2Fdocs.theme%2Fmaster%2Fen-us%2F_themes%2Fglobal%2Fidentity-redirect.html&client-request-id=4ef28716-2289-4678-b97c-5341608f9a67&response_mode=fragment&response_type=code&x-client-SKU=msal.js.browser&x-client-VER=2.32.2&client_info=1&code_challenge=w9C_Mt8dXNYgvyrOigoR3xqe61-maIvYvayx7QA--6U&code_challenge_method=S256&prompt=select_account&nonce=f43388c9-9be2-48a9-9718-8e7cdabaae2f&state=eyJpZCI6ImM5ZGI0MzRmLTIyNTYtNDY5OC04OWI0LTE0ZGRkMDgyZTM0MyIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3D%7Chttps%253A%252F%252Flearn.microsoft.com%252Fru-ru%252Ftraining%252Fbrowse%252F%253Fsource%253Dlearn
- I encountered several problems when using telegram-cli for the first time HOT 3
- tg won't compile on Raspberry Pi HOT 2
- make fails on Fedora
- 6840717977:AAFOztLPRLc3I1USwaMmqZ7Juvmjn7vRNQ0 HOT 1
- ban whatsapp
- Where are we with the TrustWallet support for Tron using in the browser extension?
- make tg on debian HOT 8
- *** 1706666423.275465 Notification API_64BIT_LOGIN_APP_OUTDATED_23: You are using an outdated app that is no longer supported. To access your messages, please update your app to the latest version.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tg.