Easily remember and see upcoming birthdays ๐
- Show how far away birthdays are
- Support for dates without specifying the year
- Support for timezones, so you can wish your friends a happy birthday when the clock hits midnight in their country
- Blazingly fast, even with large datasets โก๏ธ
# Adds a birthday
$ bday add --name "Hiyajo Maho" --date 02/11/1989
Added entry for Hiyajo Maho, born: 02/11/1989
# Adds a birthday, without specifying the year
$ bday add --name "Akiha Rumiho" --date 03/04
Added entry for Akiha Rumiho, born: 03/04
# List all birthdays
$ bday list
โญโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโโโโโฎ
โ # โ Name โ Date โ Age โ In โ
โโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโโโค
โ 1 โ Hiyajo Maho โ 02 November โ 34 ๐ก 35 โ in 8 months โ
โโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโโโค
โ 2 โ Akiha Rumiho โ 03 April โ ? โ in 2 months โ
โฐโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโฏ
# List birthdays that will occur before a date
$ bday list --before 15/05/2024
โญโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโฌโโโโโโโโโโโโโโฎ
โ # โ Name โ Date โ Age โ In โ
โโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโผโโโโโโโโโโโโโโค
โ 1 โ Akiha Rumiho โ 03 April โ ? โ in 2 months โ
โฐโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโดโโโโโโโโโโโโโโฏ
# List only the n birthdays closest to today
$ bday list --limit 1
โญโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโฌโโโโโโโโโโโโโโฎ
โ # โ Name โ Date โ Age โ In โ
โโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโผโโโโโโโโโโโโโโค
โ 1 โ Akiha Rumiho โ 03 April โ ? โ in 2 months โ
โฐโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโดโโโโโโโโโโโโโโฏ
Display the birthdays that will happen in the next 7 days
A personal favorite of mine is adding this to my ~/.bashrc
to display upcoming birthdays.
bday list --before $(date -d "+7 days" "+%Y-%m-%d") 2> /dev/null
Note that this displays nothing if no birthdays are coming up.
cargo install bday
git clone "https://github.com/Matthieu-LAURENT39/bday"
cd bday
cargo install --path .
This project was inspired by IonicaBizau's "birthday" tool.
I wanted to try making my own version in Rust as a learning experience.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.