/

I2PControl for Lua and Conky-Lua

You will need:

conky-lua , lua5.1 and lua-socket . You will need lua-sec for use with i2pd. On Ubuntu or Debian, just:

Usage:

First, enable i2pcontrol on your I2P router by going to Web App Configuration and starting the jsonrpc app. The i2pcontrol.lua expects the password to be itoopie , which is the default. You can change the password by setting the I2P_CONTROL_PASSWORD variable in your shell. Once you have done so, execute the following commands to test them:

sudo apt-get install conky-all lua5.1 lua-socket lua-sec
git clone --recursive https://github.com/eyedeekay/graphic-monitoring
cd graphic-monitoring
conky -c _dot_conkyrc

screenshot.png

Other ways of setting it up:

# from this directory(a checkout)
conky -c _dot_conkyrc
# installation to $HOME/.conkyrc
mkdir -p $HOME/lua
cp -rv lua/* $HOME/lua/
cp -v _dot_conkyrc $HOME/.conkyrc
# usage with i2pd
export I2P_CONTROL="http://127.0.0.1:7650"
conky -c _dot_conkyrc

screenshot-2.png

Get the source code:
Show license
MIT License

Copyright (c) 2023 idk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Hide license
I2P