Skip to content

hisabaleumr56-del/hisab-al-omr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ•ฐ๏ธ Age Calculator (Hijri / Gregorian) โ€” ุญุงุณุจุฉ ุงู„ุนู…ุฑ

A lightweight, open-source Hijri & Gregorian age calculator built with vanilla HTML, CSS, and JavaScript โ€” no frameworks, no dependencies, fully client-side.

This is a simplified, standalone version of the calculator engine that powers HisabAlUmr.com โ€” a free Arabic-language platform offering precise age, date, and Islamic calculator tools.

โœจ Features

  • ๐Ÿ“… Gregorian date of birth input with day/month/year dropdowns
  • โณ Calculates exact age in years, months, days, weeks, hours, and minutes
  • ๐ŸŽ‚ Countdown to next birthday
  • ๐ŸŒ™ RTL (right-to-left) Arabic UI out of the box
  • ๐ŸŽจ Clean, dark-themed, responsive single-file design
  • โšก Zero dependencies โ€” just open index.html in a browser

๐Ÿš€ Demo

Open index.html directly in your browser, or view it live here.

๐Ÿ”ง Why this exists

Most age calculators online only handle the Gregorian calendar. Many Arabic and Muslim-majority audiences also need accurate Hijri (Islamic) calendar conversions for birthdays, religious dates, and milestones.

This repo shares the core open-source logic. The full-featured version โ€” with accurate Hijri conversion, life-clock visualization, heartbeat/sleep-time estimates, shareable result cards, and more Islamic calculator tools (Zakat, pregnancy, sleep cycles) โ€” is available free at:

๐Ÿ‘‰ hisabaleumr.com

๐Ÿ“ Usage

Clone the repo and open the file โ€” that's it:

git clone https://github.com/your-username/age-calculator.git
cd age-calculator
open index.html

No build step, no npm install, no server required.

๐Ÿ› ๏ธ Tech Stack

  • HTML5
  • CSS3 (custom properties / variables)
  • Vanilla JavaScript (ES6+)

๐Ÿค Contributing

Pull requests are welcome! Ideas for contributions:

  • Accurate Hijri calendar conversion algorithm
  • i18n support (English / Urdu / Turkish)
  • Unit tests for date edge cases (leap years, month boundaries)

๐Ÿ“„ License

MIT License โ€” free to use, modify, and distribute.

๐Ÿ”— Related Tools

More Arabic calculator tools from the same project:


โญ If you find this useful, consider starring the repo!

About

"Free open-source Hijri & Gregorian age calculator built with HTML, CSS, and JavaScript. Full-featured version with Islamic calendar tools at hisabaleumr.com"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages