nonnil / TorCI

Web-based GUI for TorBox
GNU General Public License v3.0
22 stars 3 forks source link
nim privacy proxy security tor torbox wifi wifi-router wifi-security wpa2

Build Status Lines of code Licence: GPL-3.0

TorCI

TorCI is a Configuration Interface for TorBox. It is implemented in the Nim programming language.

WARNING: THIS IS A ALPHA VERSION, THEREFORE YOU MAY ENCOUNTER BUGS. IF YOU DO, OPEN AN ISSUE VIA OUR GITHUB REPOSITORY.

Features:

Roadmap

Screenshots

Login Status AP Bridges

Installation

Docker

To build and run TorCI in Docker

$ docker build -t torci:debug .
$ docker run --rm -d -p 1984:1984 torci:debug
# See debug logs
$ docker logs `CONTAINER_ID`

Reach TorCI: 0.0.0.0:1984 (username and password: torbox)

Nimble

To compile the scss files, you need to install libsass. On Ubuntu and Debian, you can use libsass-dev.

$ git clone https://github.com/nonnil/torci
$ cd torci
$ nimble build
$ nimble scss

and Run:

$ sudo ./torci

Then access the following address with a browser:

http://0.0.0.0:1984

SystemD

You can use the SystemD service (install it on /etc/systemd/system/torci.service)

To run TorCI via SystemD you can use this service file:

[Unit]
Description=front-end for TorBox
After=syslog.target
After=network.target

[Service]
Type=simple

User=root

WorkingDirectory=/home/torbox/torci
ExecStart=/home/torbox/torci/torci

Restart=always
RestartSec=15

[Install]
WantedBy=multi-user.target