gdubicki / dynamotd Goto Github PK
View Code? Open in Web Editor NEW๐ฅ MOTD for your servers that shows the info you need, with semantic colors
๐ฅ MOTD for your servers that shows the info you need, with semantic colors
F.e. https://freegeoip.app ?
A dependency doesn't work natively, see shirou/gopsutil#1000.
amd64 version works without issues though.
We forced the labels color to be white, which is invisible with a terminal with white/light background...
The label color should be default instead.
Compare:
gdubicki@mac ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/disk1s5 466G 11G 104G 10% /
(...)
...to:
gdubicki@mac ~/git/dynamotd (master)*$ ./dynamotd-darwin-amd64
(...)
Disk space (/) : 10.51 GiB of 115 GiB disk space used (9.20%)
The used space roughly matches but the total - does not.
(I have checked that this issue does not occur on Linux.)
We would need to drop the priviledges as the programs are run as root this way. So while global settings from /etc
will be read, the user-level ones will not.
TODO: study https://stackoverflow.com/questions/41248866/golang-dropping-privileges-v1-7.
I found an app with a similar goal, but much more popular and advanced: https://github.com/dylanaraps/neofetch
However I think that dynamotd's advantage is its speed, so it would be good to do some benchmarks and share their results.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.