forked from onryo/siona
Extremely Private HUSH and HAC explorer
https://explorer.hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
onryo
e4f812b6a9
|
11 months ago | |
---|---|---|
address | 11 months ago | |
addresses | 11 months ago | |
api | 11 months ago | |
bin | 11 months ago | |
block | 11 months ago | |
blocks | 11 months ago | |
crons | 11 months ago | |
git | 2 years ago | |
tx | 11 months ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 11 months ago | |
index-1.html | 11 months ago | |
index-new.html | 11 months ago | |
index-prev.html | 11 months ago | |
index.html | 11 months ago | |
template.html | 11 months ago | |
update.sh | 11 months ago | |
update_api.sh | 11 months ago | |
update_explorer_data.sh | 11 months ago |
README.md
Siona
This is Siona, a maximum privacy block explorer designed for chains which support zaddrs and which runs explorer.hush.is and explorer.hush.land.
It is written in Perl 5 and generates static HTML with no Javascript and basic inline CSS for styling. It requires a Redis server running on localhost, which is for caching and reduces disk i/o.
Installing dependencies
Requires JSON::Any and Redis Perl modules, and redis-server debian package.
To install JSON::Any first get CPAN:
sudo apt-get install libpath-tiny-perl
Start CPAN and install JSON::Any.pm module, then Redis.pm the same way:
cpan
> install JSON::Any.pm
Instructions
Assume you put update.sh
in /home/$USER and your Hush source code in ~/git/hush3 , add this to your $USER crontab with crontab -e
:
# set env vars that Siona will use
SIONA_DOMAIN=explorer.some.poop
SIONA_ACNAME=GAZOOTZ
SIONA_CLI=~/git/hush3/src/hush-cli -ac_NAME=${SIONA_ACNAME}
# update explorer data every 5 minutes
*/5 * * * * ~/update.sh
Copyright
2016-2023 The Hush Developers
License
GPLv3