0.1.0 • Published 7 years ago

hubot-tor v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

hubot-tor

A hubot script to query torproject.org to get basic information (running, for how long, flags) about relays.

See src/tor.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-tor --save

Then add hubot-tor to your external-scripts.json:

[
  "hubot-tor"
]

Environment Variables

HUBOT_TOR_FINGERPRINT - the fingerprint of the tor relay which is searched when "tor" is sent to hubot
HUBOT_TOR_TIMEDESIGNATORS - if this is set to "short", then the outpug will show e.g. "3Y 4D 5m" for the uptime, instead of "3 years, 4 days, 5 minutes"

Sample Interaction

user1>> tor
hubot>> <myrelay> is running for 3 days, 23 hours, 21 minutes with flags Fast, Running, V2Dir, Valid
user1>> relay <qeryrelay>
hubot>> <queryrelay> is running for 3 days, 23 hours, 21 minutes with flags Fast, Running, V2Dir, Valid

NPM Module

https://www.npmjs.com/package/hubot-tor

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago