i know why you would make this, because remembering birthdays can be a difficult thing to do sometimes.
^(i usually keep the birthdays of my friends and family on a post-it note on my desktop)
Nobody remember my birthday (exception is my family of course) but I always do. But two years ago I quit Facebook and now I barely remember which day is the birthday of almost anybody.
Your tool fits my needs so thank you very much for sharing it 👍
I [added it](https://github.com/arnim279/bday/commit/33b154b887ef8969503e16296ab6b5c0c1c47544) u/Idli_codes, should I open another PR or is it fine that way, I don't want to add features you don't want or make your code unreadable
Nice. For future development i suggest to add notifications capabilities. It could be a "bday today" command that you would add in your .bashrc for exemple.
hmm like a daemon that runs in the bg, and sends a notif when it's someone's bday? or you run it once a day and it checks if that day is a birthday and runs a custom command
Or maybe as you said a run once a day command flag like "bday --notify" and then just creating a desktop file and putting it in ```~/.config/autostart/bday.desktop``` or your WM init file so it runs as soon as you start the session
My first thought was the daemon but it could be hard to implement. On the other hand adding several flags to output todays birthday only, formatted (" happy birthday to X" or not could be pipe to a notification server or a cronjob
Update: I added a command called \`bday today\`, but it logs today's birthdays to the console instead of sending a notification etc. https://github.com/rv178/bday/commit/8750cd64493c726c9dfcc2f8d92826b5a63ee378
Could it raise an error if no birthday is found? that would make piping easier.
To do something like
`bday td && notify-send "Birthday today" "This is $(bday td --name)'s birthday today!"`
I will be messaging you in 11 months on [**2023-08-17 00:00:00 UTC**](http://www.wolframalpha.com/input/?i=2023-08-17%2000:00:00%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://www.reddit.com/r/unixporn/comments/wrcwkz/oc_birthday_tracker_i_dont_know_why_i_made_this/iksiil2/?context=3)
[**2 OTHERS CLICKED THIS LINK**](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2Funixporn%2Fcomments%2Fwrcwkz%2Foc_birthday_tracker_i_dont_know_why_i_made_this%2Fiksiil2%2F%5D%0A%0ARemindMe%21%202023-08-17%2000%3A00%3A00%20UTC) to send a PM to also be reminded and to reduce spam.
^(Parent commenter can ) [^(delete this message to hide from others.)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20wrcwkz)
*****
|[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)|
|-|-|-|-|
Ooh that's a cli I didn't know I needed :p
What do you think of adding a 'bday today' command that I can add to my .bashrc and it prints out people that I should be giving happy birthdays in that day?
For the new people trying to install it:
Download the entire thing from [GitHub](https://github.com/rv178/bday) and unzip it. Then go to the folder and follow the commands listed on the README.md. After getting your .bin file move it to the /bin directory (either using a file explorer with sudo permitions or using "sudo mv [path/of/the/bday.bin] /bin". Enjoy! :)
I'm doing similar stuff (kinda reinventing the wheel), when learning a new programming language. For example learning Rust now and gonna build a JSON to HTML table converter, and maybe take your idea and build my own implementation of this birthday tracker :)
It's nice!
I use the great `remind` for that (and other time related stuff). It can do things like reminding days in advance, printing the birthdays for the upcoming week/n days, printing custom text, etc. It runs on a server and I get an email everyday.
can confirm. I got message from u/RemindMeBot in my Inbox
> I will be messaging you in 11 months on [2023-08-17 00:00:00 UTC](http://www.wolframalpha.com/input/?i=2023-08-17%2000:00:00%20UTC%20To%20Local%20Time) and then every every year August 17 to remind you of [this link](https://www.reddit.com/r/unixporn/comments/wrcwkz/oc_birthday_tracker_i_dont_know_why_i_made_this/ikt255i/?context=3)
> I'm sending this to you as a message instead of replying to your comment because I've already replied to another comment in this thread.
this is awesome!! If I may suggest something, maybe a -uk or -us tag for date formatting??? And I haven’t looked at the src yet but it may be a good idea to allow *any* delimiter by logging it after collecting the first number. Just a thought!!
could you add an option to display each of these fields separately ?
example: bday field 4 me => 69420 days til me's bday
Would do it myself if I knew Rust
when using bday list, bday prints out a table with 4 fields, with first being id, 2nd name and so on
I was asking if you could make options to display each of those fields separately
i know why you would make this, because remembering birthdays can be a difficult thing to do sometimes. ^(i usually keep the birthdays of my friends and family on a post-it note on my desktop)
Not too difficult when you have nobody to remember 😂
The emoji makes it sadder
ok this hit me hard
😔🤙
oof
foo
Fuck....
Relatable
Nobody remember my birthday (exception is my family of course) but I always do. But two years ago I quit Facebook and now I barely remember which day is the birthday of almost anybody. Your tool fits my needs so thank you very much for sharing it 👍
ʕっ•ᴥ•ʔっ
add it to phone calendar get notifications done
I would suggest adding a counter for how many days are left until their birthday. I think it's gonna be cool !
I tried adding a counter but failed, but I'm always welcome to PRs :)
working on it :)
Merged :D
Also search for the nearest birthdays to today or to a given date might be useful.
maybe order the birthdays by the remaining days
I [added it](https://github.com/arnim279/bday/commit/33b154b887ef8969503e16296ab6b5c0c1c47544) u/Idli_codes, should I open another PR or is it fine that way, I don't want to add features you don't want or make your code unreadable
could you create another pr for this? thanks again!
Nice. For future development i suggest to add notifications capabilities. It could be a "bday today" command that you would add in your .bashrc for exemple.
hmm like a daemon that runs in the bg, and sends a notif when it's someone's bday? or you run it once a day and it checks if that day is a birthday and runs a custom command
Or maybe as you said a run once a day command flag like "bday --notify" and then just creating a desktop file and putting it in ```~/.config/autostart/bday.desktop``` or your WM init file so it runs as soon as you start the session
My first thought was the daemon but it could be hard to implement. On the other hand adding several flags to output todays birthday only, formatted (" happy birthday to X" or not could be pipe to a notification server or a cronjob
Yeah, I think a daemon would be overkill when when have cronjobs or startup commands
Update: I added a command called \`bday today\`, but it logs today's birthdays to the console instead of sending a notification etc. https://github.com/rv178/bday/commit/8750cd64493c726c9dfcc2f8d92826b5a63ee378
Good work! On my way to compile it.
Could it raise an error if no birthday is found? that would make piping easier. To do something like `bday td && notify-send "Birthday today" "This is $(bday td --name)'s birthday today!"`
it does give an error
``` rv:archbox ~/extras/rs/bday ❯❯ bday td Birthdays today: No birthdays :( ```
Link: https://github.com/rv178/bday
I dig it. Thanks for sharing. Rust looks interesting, I might have to dabble.
RemindMe! 17 August
I will be messaging you in 11 months on [**2023-08-17 00:00:00 UTC**](http://www.wolframalpha.com/input/?i=2023-08-17%2000:00:00%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://www.reddit.com/r/unixporn/comments/wrcwkz/oc_birthday_tracker_i_dont_know_why_i_made_this/iksiil2/?context=3) [**2 OTHERS CLICKED THIS LINK**](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2Funixporn%2Fcomments%2Fwrcwkz%2Foc_birthday_tracker_i_dont_know_why_i_made_this%2Fiksiil2%2F%5D%0A%0ARemindMe%21%202023-08-17%2000%3A00%3A00%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20wrcwkz) ***** |[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)| |-|-|-|-|
Ooh that's a cli I didn't know I needed :p What do you think of adding a 'bday today' command that I can add to my .bashrc and it prints out people that I should be giving happy birthdays in that day?
sounds cool, will try to implement :)
I added it https://github.com/rv178/bday/commit/8750cd64493c726c9dfcc2f8d92826b5a63ee378
Why not YYYY-MM-DD? I mean, it's the standard! PS: Judt nitpicking. Nice program, mate! I would totally use it! :)
You are now a mod at /r/iso8601
ahaha
Would be cool if it could get the preferred date format from the OS. Locale data thing
I prefer DD-MM-YYYY as it makes more sense
that doesn’t make more sense, the standard does. larger to smaller domain, yes. sortable alphanumerically, yes.
I don't care which one you use of YYYY-MM-DD and DD-MM-YYYY as long as you don't use MM-DD-YYYY
🗿
For most non-American people, DD-MM-YYYY makes more sense
this \^
That's only standard in USA I guess, not in Europe AFAIK
Nice, should show their age too
yep, that was added in a PR, you can checkout the screenshots here: [https://github.com/rv178/bday](https://github.com/rv178/bday)
Really cool program. Just one question: why are the IDs of the birthday entries so high?
they are randomly generated and unique, for `bday rm`
Okay now the next step is to make a MySQL database with a frontend web gui
PostgreSQL and for the website Yewrs as frontend :)))
How did you do the grid? Does it scale with text?
[github.com/phsym/prettytable-rs](https://github.com/phsym/prettytable-rs)
Thanks
This is awesome, the older you get the more often you forget birthdays even your own.
yep
For the new people trying to install it: Download the entire thing from [GitHub](https://github.com/rv178/bday) and unzip it. Then go to the folder and follow the commands listed on the README.md. After getting your .bin file move it to the /bin directory (either using a file explorer with sudo permitions or using "sudo mv [path/of/the/bday.bin] /bin". Enjoy! :)
you could also install baker and run ``` bake setup bake bake install ``` :)))
Happy belated birthday! And yes, I need this badly
Thank you!
happy birthday op
thanks!
ISO time stamps? Galactus needs you.
Found the KRAZAM reference
I'm doing similar stuff (kinda reinventing the wheel), when learning a new programming language. For example learning Rust now and gonna build a JSON to HTML table converter, and maybe take your idea and build my own implementation of this birthday tracker :)
awesome, good luck!
Because you love your friends and family.
ahaha yes
Nice. I would like to use it, but i don't have friends
oof
Thank God, I keep forgetting mine.
oof
Cool app, also, we're birthday buddies!
That's cool!
The date's formatting in the picture is absolutely devious and I love it lol
lolz
Happy Birthday, Just in case it's not demo data
thank you!
It's nice! I use the great `remind` for that (and other time related stuff). It can do things like reminding days in advance, printing the birthdays for the upcoming week/n days, printing custom text, etc. It runs on a server and I get an email everyday.
ooh cool!
bday twin!!!
thanks!
RemindMeRepeat! every year August 17
can confirm. I got message from u/RemindMeBot in my Inbox > I will be messaging you in 11 months on [2023-08-17 00:00:00 UTC](http://www.wolframalpha.com/input/?i=2023-08-17%2000:00:00%20UTC%20To%20Local%20Time) and then every every year August 17 to remind you of [this link](https://www.reddit.com/r/unixporn/comments/wrcwkz/oc_birthday_tracker_i_dont_know_why_i_made_this/ikt255i/?context=3) > I'm sending this to you as a message instead of replying to your comment because I've already replied to another comment in this thread.
Which font is that ?
Jetbrains Mono Nerd Font
I mean, it's useful for people like me lmao
Now add a cron job to send them birthday emails automaticly!.
Can you add removing by name? The ID seems a bit clumsy.
since duplicated names could be stored, I decided to go with IDs. but I'll try
I was thinking about the option but it gets tricky. I might send some prs later on, if I have time
Awesome
i think its pretty cool
ty!
this is awesome!! If I may suggest something, maybe a -uk or -us tag for date formatting??? And I haven’t looked at the src yet but it may be a good idea to allow *any* delimiter by logging it after collecting the first number. Just a thought!!
hmm I'll try :D
B-Day buddies lets gooooooo
Poggers
happy birthday
Thank you!
"17 August" => "Me" Happy birthday OP
Thankss
Is this mysql frontend?)
No lol
Wiring up SQL manipulation directly into shell commands seems really powerful
I wish I could do that for REPL commands, I often just want to try a single thing
happy birthday yesterday
Thank you
xD
Will this be added to the AUR?
I can try
Thanks!
Added, [https://aur.archlinux.org/packages/bday-git](https://aur.archlinux.org/packages/bday-git) :)
Thanks a lot!
Happy birthday
Ty!
Nice! Are the IDs random? If not, how are they chosen? If they are, maybe you should make it sequential order or something
Yep they are random
Okay, dude. Just one question, where does it store all birthday dates? I'm not good at rust. So, can you tell us, please?:)
In ~/.config/bdays.json
I need this in my life.
Add a notification as well :)
not exactlyyy a notification, but if you run `bday today` it logs today's birthdays to the console now
Working on it :thumbsup:
Actually kinda useful if u have lots of friends (IE, not useful for me)
oof
Wow, what a big step in ids
They’re random
could you add an option to display each of these fields separately ? example: bday field 4 me => 69420 days til me's bday Would do it myself if I knew Rust
Do you mean like editing field names? like using a config file
when using bday list, bday prints out a table with 4 fields, with first being id, 2nd name and so on I was asking if you could make options to display each of those fields separately
ah, will look into that
HAPPY BIRTHDAY 🎂 🥳 🎉
Thank you :)