2 ms·
I’d be genuinely interested in seeing what people are building on top of this. Especially to see some concrete code examples, as I find those easier to learn f
by fullspectrumdev 2y ago
I’d be genuinely interested in seeing what people are building on top of this.
Especially to see some concrete code examples, as I find those easier to learn from than the current state of the docs. Especially with regard to footguns mentioned!
I’ve had a few ideas, mostly porting older projects I built in Python using the Stem library. I feel like Arti is going to be much cleaner for embedding in applications than having to also bundle the correct Tor binary… manage running it as a subprocess… etc
- _k2vp 2y agoI’m still in the process of experimentation. An example of the flushing thing is that you can’t simply pass the DataStream/connection directly into crates like fast-socks5 which depend on implicit behavior by the TCPStream struct which implements the AsyncReader/Writer traits which don’t require it. I had to manually add a bunch of flushes after each write chunk. Another thing is that some features have been partially implemented but not configurable (basically dead code for now) such as ephemeral hidden services. I spent a good few days forking and implementing that myself and am in contact with the devs to see how it could be implemented/merged in a cleaner way. Some of my code: https://gitlab.torproject.org/acheong08/arti/-/compare/main...main?from_project_id=647 https://gitlab.torproject.org/acheong08/arti/-/compare/main.... I wanted a socks5 proxy over a hidden service to securely expose my machine in a firewall without owning any servers in between or having to mess with port forwarding. Now working on a new pluggable transport to tunnel tor connections over syncthing relays. Mostly just for fun, nothing actually too useful yet