Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tiny dynamic motd generator (system, disks, network, ...)

License

Notifications You must be signed in to change notification settings

bderenzo/tinymotd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tinymotd

Tinymotd generate a configurable dynamic motd via shell script

Features

  • Easy configuration and customisation
  • Tiny (<100kb) optimized scripts
  • Minimal dependencies
  • Many widgets: docker, lxc, apt, pacman, certificates, disks, ...

Demo

tinymotd

Setup

Automated

The automated install use systemd timer or cron and bashrc.
To install this, with root rights:

  • Clone the repo
  • Install: ./install -u <user>
  • Configure layout: vim ./config
  • Configure widgets: vim ./widgets/<widget-name>
  • Run interactively: ./generate

The script runs:

  • every hour for system information (cpu, disks, ...)
  • every day for other information (certificates, packages, ...)

Manual

To install manually, with root rights:

  • Clone the repo
  • Configure layout: vim ./config
  • Configure widgets: vim ./widgets/<widget-name>
  • Run interactively: ./generate
  • Generate a static motd file: ./generate > ./data/motd
  • Use the jobs scheduler of your choice to regenerate motd (for instance systemd timer or cron)
  • Add a print of your motd file at login (for instance in ~/.bashrc)

About

Tiny dynamic motd generator (system, disks, network, ...)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages