An open API service indexing awesome lists of open source software.

https://github.com/jasdeepkhalsa/meditation-calculator

Meditation calculator to help you decide how much time to commit to daily meditation, and how much it amounts to over a lifetime
https://github.com/jasdeepkhalsa/meditation-calculator

Last synced: 5 months ago
JSON representation

Meditation calculator to help you decide how much time to commit to daily meditation, and how much it amounts to over a lifetime

Awesome Lists containing this project

README

          

# Meditation Goal Calculator

This is a simple web application to help you calculate the total time you would spend meditating over a certain period, given your daily or weekly meditation practice and remaining life expectancy.

## Features

* Calculates total meditation time based on session length, frequency, and life expectancy.
* Responsive design for use on desktop, tablet, and mobile.
* Modern UI with Bootstrap and custom styling.

## Local Development

To run this project locally:

1. **Prerequisites:**
* Node.js (version 20.x or later recommended)
* npm (comes with Node.js)

2. **Clone the repository (if you haven't already):**
```bash
git clone https://github.com/jasdeepkhalsa/meditation-calculator.git
cd meditation-calculator
```

3. **Install dependencies:**
```bash
npm install
```

4. **Run the development server:**
```bash
npm run dev
```
This will start the Vite development server, typically at `http://localhost:5173`.

5. **To build the project for production:**
```bash
npm run build
```
The output will be in the `dist` directory.

6. **To preview the production build locally:**
```bash
npm run preview
```

## Deployment

This project is automatically built and deployed to GitHub Pages upon pushes to the `master` branch.

It is available at: [https://jasdeepkhalsa.github.io/meditation-calculator/](https://jasdeepkhalsa.github.io/meditation-calculator/)

## Contributing

Pull requests are welcome.

Please make sure to update unit tests as appropriate.