FalconStats
FalconStats copied to clipboard

FalconStats
Original reddit post on /r/unixporn by @hermannbjorgvin

Requires
- Linux
- nodejs and nodejs package manager (npm)
Install
- Clone into some Folder
git clone https://github.com/Heholord/FalconStats
- Enter Folder
cd FalconStats
- Install Globally to get the Binaries avaiable
npm install -g
- SymLink into the
/etc/update-motdfolder in Ubuntu (see).
ln -s falcon-motd /etc/update-motd.d/falconstats
- Run the Auto-Configuration

For interactive configuration run
node init.js
You can always view or edit your config in scripts/config.json
Testrun your motd
falcon-motd
Run scripts
You can run all scripts configured in the scripts/config.json using
node start.js
If you want to run them individually, have a look here:
For nodejs files (*.js):
node scripts/[script].js
For shell scripts files (*.sh):
bash scripts/[script].sh
# or
sh scripts/[script].sh
# or
cd scripts
./[script].sh
Note: hddtemp may require root privileges. It defaults to using sudo. Adding
hddtemp to your user as a NOPASSWD command is one way to make it work.
Future wishes and pull request offers
If you send me a pull request I offer you to name your github repo next to the feature you have implemented
- [x] adaptable config for all scripts
- [ ] implement service.js for many services
- [x] write a startup scripts which includes the other scripts - thanks to DSigmund
- [x] interactive program would be helpful for user configuration
- [ ] implement reddit openssl comment
- [x] make a logo for this project - by J-tt
- [ ] feel free to add features
We are better together
- First pull request by TechnologyClassroom
- thank you stevesbrain for checking our dependency list. This can be a pain in the a** sometimes
- Thank you MrPowerMac for suggesting this project a licence. Now we are truly open source.
- J-tt added a logo to our project 🎉
- Thank you DSigmund for your startup script. It is very helpful!