tor_control

tor_control is a crystal library for controlling a tor process through its control port.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      tor_control:
        git: https://codeberg.org/wuestenfee/tor_control.git
  2. Run shards install

Usage

require "tor_control"

Checkout the example for reference.

Development

The Tor control protocol is specified at https://spec.torproject.org/control-spec/

The traffic with Tor is being logged for debugging, set up logging to access it.

Contributing

  1. Fork it (https://codeberg.org/wuestenfee/tor_control/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors