| Crates.io | welcome-msg |
| lib.rs | welcome-msg |
| version | 0.2.0 |
| created_at | 2025-09-15 09:39:08.809182+00 |
| updated_at | 2025-09-15 10:07:27.835653+00 |
| description | A simple program that prints a welcome message on the terminal. |
| homepage | |
| repository | https://github.com/TeenCoder159/welcome-msg |
| max_upload_size | |
| id | 1839678 |
| size | 17,384 |
A simple program that prints a welcome message on the terminal.
To install the program, you can use the following command:
cargo install welcome-msg
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)
}
You can use a custom font for the program. but they have to be .flf files.
I found a list here
You can add as many lines as you want.
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.