Skip to content
/ tinymotd Public
forked from bderenzo/tinymotd

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

License

Notifications You must be signed in to change notification settings

mstcl/tinymotd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 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

Languages

  • Shell 100.0%