🧬 BioCounter - add fun facts since you were born
📆 2025-12-05 17:20
Ever wondered exactly how many days you've been alive? Or how many times your heart has beaten? Or how far light has traveled since the moment you were born?
I recently built a small Bash script called BioCounter, and it turns your birthday into a bundle of fun stats - mixing everyday life, biology, astronomy, and a bit of cosmic perspective. It calculates your age in days and then reveals a long list of quirky, surprising facts about your time on Earth.
Whether you're a Linux tinkerer, a shell-script enthusiast, or someone who just enjoys fascinating numbers about human existence, this tiny script is a fun one to try and maybe make a page on your own website:
⏳ BioCounter: Days Alive And Fun Stats
✨ What BioCounter Does
Give it your birthdate, and the script will:
- Calculate how many total days you've been alive
- Convert that into years, months, and days
- Show how many hours, breaths, heartbeats, blinks, and sleep you've lived through
- Reveal how many Earth rotations and lunar cycles you've experienced
It's a lightweight, dependency free script that runs on any Linux or macOS system with bash and date.
🔧 Easy to Extend - Just Add Math!
One of the best things about BioCounter is how easy it is to expand. Every fun fact is powered by simple arithmetic based on:
- seconds
- minutes
- hours
- days
- or any fixed rate (heartbeats, blinks, breaths, rotations, etc.)
If you want to add a new fact - for example, "How many cups of coffee the average person consumes in your lifetime," or "How many meters your fingernails grow" - all you need to do is:
- Decide the rate per minute/hour/day/year
- Multiply that rate by the number of days (or seconds) you've been alive
- Add a new printf line with your emoji of choice
No external libraries, no complex logic - just basic math and a one-line print statement.
The script
BioCounter a fun playground for creativity, curiosity, and numerical trivia.