An open API service indexing awesome lists of open source software.

https://github.com/imthaghost/tornix

Tornix provides an easy way to manage streams over Tor. The program separates streams across circuits by connection metadata.
https://github.com/imthaghost/tornix

go golang stream-isolation tor torsocks

Last synced: over 1 year ago
JSON representation

Tornix provides an easy way to manage streams over Tor. The program separates streams across circuits by connection metadata.

Awesome Lists containing this project

README

          


net



Tornix is a user-friendly tool that enhances privacy and security on the Tor network by providing easy-to-manage stream isolation,
enabling users to route their internet traffic securely through separate Tor circuits for discrete, protected online activities.






# Usage
```bash
go get "github.com/imthaghost/tornix"
```

# Examples

```go
package main

import (
"io"
"log"

"github.com/imthaghost/tornix"
)

func main() {
// include the max concurrent sessions
manager := tornix.NewManager(10)
// start a new session
session, client, err := manager.StartNewSession()
if err != nil {
log.Fatal(err)
}

// check your client's IP with AWS
resp, err := client.Get("https://checkip.amazonaws.com")
if err != nil {
log.Fatal(err)
}
body, err := io.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}

log.Println(string(body))
// 185.220.100.254
}
```