Small Extension for Linux Debian user to quick access Alephiun Node Status
this script is delivered “as is” and I deny any and all liability for any damages arising out of using this script
Huge thanks to Bitbar and @p-e-w for creating the argos repositories
Ubuntu users, running an Alephium Node on the same subnet.
(probably works on other Debian, not tested)
Alephium Node running, with API key setup in user.conf file, known wallet name, password and IP address. Sensitive data will be stored in an encrypted files.
sudo apt update
- argos
need to be able to toggle the argos extention :
sudo apt-get -y install gnome-shell-extension-prefs
- emojis
sudo apt install gnome-characters
- zenity
sudo apt install -y zenity
- gpg
sudo apt-get -y install gpg
- jq
sudo apt install jq
from @p-e-w repository
copy the argos folder in your extensions folder
cp [email protected] ~/.local/share/gnome-shell/extensions/
logout , log back in, open Extension and toggle Argos
within terminal ~$ (Ctrl + Alt + T)
git clone https://github.com/Acktarius/AlphNodeSwagExt.git
mv the downloaded directory to /opt
sudo mv /AlphNodeSwagExt /opt/
(if you git clone directly in /opt, you 'll have to change ownship : <sudo chown your_user_name:your_user_name -R AlphNodeSwagExt>)
change directory
cd /opt/AlphNodeSwagExt
- copy the extension script
cp alphNodeStatExt.1r+.sh ~/.config/argos/alphNodeStatExt.1r+.sh
- copy the icon
cp Alephium-logo.svg ~/.icons/
- make sure the scripts files are executable
chmod 755 *.sh
- Activate argos in extension (new icon on your launch pad)(just need to be done for first use)
- within the extension, run
./first.sh
(this is to store your credentials in an encrypted file, remember your new single use passphrase, you might need it sometimes, or click autosave) - still within the extension, run
./second.sh
(if the option was declined running first.sh .This is to give the ip address of the node on your local network)
to test, run:
./main.sh
it runs when click on the icon, the status will be orange if it took longer than 10s to fetch data.
(note you may have to log out and come back to see the extension appear in your top bar.)