.github/workflows | ||
api | ||
build/docker | ||
cmd | ||
deployments/docker | ||
docs | ||
internal | ||
scripts | ||
.dockerignore | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md | ||
snapcraft.yaml |
Trandoshan dark web crawler
This repository is a complete rewrite of the Trandoshan dark web crawler. Everything has been written inside a single Git repository to ease maintenance.
Why a rewrite?
The first version of Trandoshan (available here) is working great but not really professional, the code start to be a mess, hard to manage since split in multiple repositories, etc..
I have therefore decided to create & maintain the project in this specific directory, where all process code will be available (as a Go module).
How build the crawler
Since the docker image are not available yet, one must run the following script in order to build the crawler fully.
./scripts/build.sh
How to start the crawler
Execute the /scripts/start.sh
and wait for all containers to start.
You can start the crawler in detached mode by passing --detach to start.sh
Note
Ensure you have at least 3GB of memory as the Elasticsearch stack docker will require 2GB.
How to start the crawling process
Since the API is exposed on localhost:15005, one can use it to start the crawling process:
using trandoshanctl executable:
trandoshanctl schedule https://www.facebookcorewwwi.onion
or using the docker image:
docker run creekorful/trandoshanctl schedule https://www.facebookcorewwwi.onion
this will schedule given URL for crawling.
How to view results
Using trandoshanctl
trandoshanctl search <term>
Using kibana
You can use the Kibana dashboard available at http://localhost:15004. You will need to create an index pattern named 'resources', and when it asks for the time field, choose 'time'.