welcome-msg

Crates.iowelcome-msg
lib.rswelcome-msg
version0.2.0
created_at2025-09-15 09:39:08.809182+00
updated_at2025-09-15 10:07:27.835653+00
descriptionA simple program that prints a welcome message on the terminal.
homepage
repositoryhttps://github.com/TeenCoder159/welcome-msg
max_upload_size
id1839678
size17,384
(unsecretised)

documentation

README

Welcome-msg

A simple program that prints a welcome message on the terminal.

Installation

To install the program, you can use the following command:

cargo install welcome-msg

Usage

Setup a config file in your home directory.

touch ~/.config/welcome-msg/config.json

Edit the config file with your preferred text editor.

Example config file:

{
  "font": "~/.config/welcome-msg/ansi-shadow.flf",
  "lines": [
    "Welcome",
    "Iron Man"
  ],
  "color": [135, 175, 215]
  "center": true, (default false)
}

Fonts (optional)

You can use a custom font for the program. but they have to be .flf files.

I found a list here

Lines (minimum 1 is required)

You can add as many lines as you want.

Color (optional)

You can change the color of the text. It uses the RGB color format, and will give an error if you do not use the right format

See example config above for the correct format

To use the program, you can run the following command:

welcome-msg

Or just add it to your ~/.zshrc or ~/.bashrc file.

This will print a welcome message on the terminal.

Commit count: 5

cargo fmt