Skip to main content

A visually appealing and informative Message of the Day (MOTD) generator for Linux systems.

Project description

ElegantMOTD

ElegantMOTD is a Python-based Message of the Day (MOTD) generator for displaying system information in a visually appealing and informative manner. It works on Linux systems and provides details such as system load, disk usage, memory usage, swap usage, temperature, network interfaces, CPU usage, and more.

Features

  • Rich, colorful text-based output.
  • Displays various system information.
  • Customizable visual theme.
  • Easy to use and integrate into your system.

Usage

To display the Message of the Day, run the following command:

elegantmotd

You can choose a visual theme using the --theme (or -t) option:

elegantmotd --theme emoji
elegantmotd -t nerdfont

Available themes

  • none (default): no icons, clean plain text (TTY-safe)
  • emoji: colorful emojis for graphical environments
  • nerdfont: icon-rich display using Nerd Fonts

Live Updates

If you want to enable live updates of the system information, you can use the --watch/-w option:

elegantmotd --watch

With the --watch option, the MOTD will be continuously updated with the latest system information.

Output

Output

Customization

You can customize the output by modifying the motd.py file and adding or removing system information modules as per your preference. The available modules are:

  • Load
  • Disk
  • Memory
  • Temperature
  • Process
  • LoggedInUsers
  • Network
  • CPU

To add or remove a module, simply add or remove the corresponding import statement and the respective class instance from the sysinfos list in the display() function.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elegantmotd-1.0.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elegantmotd-1.0.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file elegantmotd-1.0.1.tar.gz.

File metadata

  • Download URL: elegantmotd-1.0.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for elegantmotd-1.0.1.tar.gz
Algorithm Hash digest
SHA256 048f50847aca8de6d9c4afeb3fe2e6e0e729fbb26b8f155b7c2c32a9cad89aed
MD5 1b668c0d8c0b3b4273233f93a054855e
BLAKE2b-256 74878652a4cc355d7e70381dd59eae9b029cddd5a8adcddccbbda5b546147ba2

See more details on using hashes here.

File details

Details for the file elegantmotd-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for elegantmotd-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9551f4c324342aca80700012264a6f58502eb56f38cdf26957cc3776fdec06eb
MD5 06429697a94fe83f0bf1f13856cfe5bc
BLAKE2b-256 6f8861881151de700ef6feeffc251861f0b88817a61d738a6229e523578d6e9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page