Hi,
I was wondering if there was any community interest in migrating the Orbot project (or portions of it) to the Kotlin language?
This is more of a personal itch since I’m migrating some of my own open-source projects to Scala/Kotlin to reduce code complexity. I will be using Tor for the endpoint connections so will be migrating/writing some of the Tor management libraries.
As a prototype, I migrated orbotservice module to Kotlin. I managed to reduce a fair amount of code and to break apart some of the pure data operations from state changes. Below is the code, if anyone is interested in seeing how it looks
https://github.com/sisbell/orbot/tree/kotlin/orbotservice
If there’s interest, I’ll write up unit tests and verify functionality before doing a merge request to the Orbot project. I would like to eventually explore making the code functional and introducing actors as event handlers.
If there is not much community interest, I’ll just maintain a fork and see how it evolves.
Best Regards,
Shane
On 04/09/2018 02:56 PM, Shane Isbell wrote:
I was wondering if there was any community interest in migrating the Orbot project (or portions of it) to the Kotlin language?
Thanks for the effort and initiative, but as the primary maintainer, I'm not ready to go there yet.
If there is not much community interest, I’ll just maintain a fork and see how it evolves.
Yes, keep us posted!
You might also consider working on this project: https://github.com/thaliproject/Tor_Onion_Proxy_Library/ as this is likely to become the basis of a future refactoring of Orbot, and/or a standalone Tor Service app.
+n
Ok great, I'll work with Yaron on this, using the proxy library as a basis.
On Mon, Apr 9, 2018 at 1:27 PM, Nathan Freitas nathan@freitas.net wrote:
On 04/09/2018 02:56 PM, Shane Isbell wrote:
I was wondering if there was any community interest in migrating the Orbot project (or portions of it) to the Kotlin language?
Thanks for the effort and initiative, but as the primary maintainer, I'm not ready to go there yet.
If there is not much community interest, I’ll just maintain a fork and see how it evolves.
Yes, keep us posted!
You might also consider working on this project: https://github.com/thaliproject/Tor_Onion_Proxy_Library/ as this is likely to become the basis of a future refactoring of Orbot, and/or a standalone Tor Service app.
+n
I did a clean implementation entirely in Kotlin. It's still bare-bones and only tested on Mac. The library handles configuration, installation and starting of Tor. It also has features for sending control messages, including adding of onions. I still need to add management clients for JavaFx/Android.
https://github.com/sisbell/i2peer
Shane
On Mon, Apr 9, 2018 at 3:12 PM, Shane Isbell shane.isbell@gmail.com wrote:
Ok great, I'll work with Yaron on this, using the proxy library as a basis.
On Mon, Apr 9, 2018 at 1:27 PM, Nathan Freitas nathan@freitas.net wrote:
On 04/09/2018 02:56 PM, Shane Isbell wrote:
I was wondering if there was any community interest in migrating the Orbot project (or portions of it) to the Kotlin language?
Thanks for the effort and initiative, but as the primary maintainer, I'm not ready to go there yet.
If there is not much community interest, I’ll just maintain a fork and see how it evolves.
Yes, keep us posted!
You might also consider working on this project: https://github.com/thaliproject/Tor_Onion_Proxy_Library/ as this is likely to become the basis of a future refactoring of Orbot, and/or a standalone Tor Service app.
+n