Go library for accessing and controlling Tor clients and servers, including embedding Tor statically.
Bine is a Go library for accessing and controlling Tor clients and servers. It provides a comprehensive API to interact with the Tor network, enabling features like creating onion services, embedding Tor statically into binaries, and programmatically managing Tor processes. It solves the problem of integrating Tor functionality directly into Go applications without relying on external tools or complex setups.
Go developers building privacy-focused applications, anonymity tools, or services that require Tor integration, such as secure communication platforms or censorship-resistant software.
Developers choose Bine for its idiomatic Go API, support for static Tor embedding, and ease of creating onion services. Its net-compatible interfaces and full Tor controller API support make it a versatile and powerful alternative to other Tor integration libraries.
Go library for accessing and embedding Tor clients and servers
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides complete support for the Tor controller API, enabling programmatic control similar to Stem, as stated in the README for advanced Tor management.
Uses standard Go net.Conn and net.Listen APIs, allowing seamless integration with existing networking code, demonstrated in the example for easy adoption.
Allows Tor to be compiled into the binary, eliminating separate distribution, with details in the embedded package docs for simplified deployment.
Simplifies creating secure v3 onion services with a clean API, as shown in the README example with just a few lines of code.
Integration tests require Tor on PATH or specific flags like -tor.network, making CI/CD setup more cumbersome, as noted in the testing section.
Embedded control socket feature is not supported on Windows, limiting functionality for cross-platform applications, explicitly mentioned in the README.
Static embedding of Tor significantly boosts executable size from ~7MB to ~24MB, which could impact distribution and resource constraints, as highlighted in the README.