javgh / skygaze

Skygaze monitors the Sia network and tries to detect Skynet download activity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skygaze

Skygaze monitors the Sia network and tries to detect Skynet download activity.

When given a skylink, a Skynet portal will talk to most of the hosts on the Sia network in an attempt to find the associated skyfile. This project therefore uses a modified Sia host to listen for incoming sector requests, then tries to reconstruct the associated skylink and fetches its metadata. The collected information is provided to the user via a telnet-like server.

To self-host: Patch the Sia source code (see folder patches), compile and run siad and configure it as a host and as a Skynet portal. Take note of the directory that siad is running in - let's say it is ~/sia. In that case run: go run main.go ~/sia/skygaze.sock. Connecting to port 8023 should now provide access to Skygaze output:

$ nc localhost 8023
https://siasky.net/CABAB_1Dt0FJsxqsu_J4TodNCbCGvtFf1Uys_3EgzOlTcg | BigBuckBunny.mp4

About

Skygaze monitors the Sia network and tries to detect Skynet download activity.

License:MIT License


Languages

Language:Go 100.0%