TransportationDocumentedScanned
anyone-proxy
This skill enables IP address masking and accessing hidden services on the Anyone Network.
Share:
Installation
npx clawhub@latest install anyone-proxyView the full skill documentation and source below.
Documentation
Anyone Protocol Proxy
This skill enables Clawdbot to route requests through the Anyone Protocol network.
How It Works
The skill uses the @anyone-protocol/anyone-client NPM package to:
Setup
Install anyone-client
npm install -g @anyone-protocol/anyone-client
Start the proxy
npx @anyone-protocol/anyone-client -s 9050
Usage
Once the proxy is running, route requests through it:# Using curl to verify IP
curl --socks5-hostname localhost:9050
import { Anon } from "@anyone-protocol/anyone-client";
import { AnonSocksClient } from "@anyone-protocol/anyone-client";
async function main() {
const anon = new Anon();
const anonSocksClient = new AnonSocksClient(anon);
try {
await anon.start();
// Wait for circuits to establish
await new Promise(resolve => setTimeout(resolve, 15000));
const response = await anonSocksClient.get('');
console.log('Response:', response.data);
} catch(error) {
console.error('Error:', error);
} finally {
await anon.stop();
}
}
main();
Notes
- First connection may take up to 30 seconds while circuits are established
- The proxy persists across requests once started