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

https://github.com/rohancyberops/planetary-weight-calculator

A modern, interactive web app built with React, Vite, TypeScript, and Astro to calculate weight on different planets based on gravitational differences.
https://github.com/rohancyberops/planetary-weight-calculator

gravitation plantary react typescript vite

Last synced: over 1 year ago
JSON representation

A modern, interactive web app built with React, Vite, TypeScript, and Astro to calculate weight on different planets based on gravitational differences.

Awesome Lists containing this project

README

          

---

# šŸŒ **Planetary Weight Generator** šŸš€

A modern, interactive web app built with **React, Vite, TypeScript, and Astro** to calculate weight on different planets based on gravitational differences.

## šŸ“Œ **Features**
āœ… Enter weight on Earth and get corresponding values for other planets
āœ… Fast and optimized using **Vite**
āœ… Type-safe with **TypeScript**
āœ… **Astro** integration for static site generation (SSG)
āœ… Responsive and user-friendly UI

## šŸ›  **Tech Stack**
- āš›ļø **React** – Component-based UI
- ⚔ **Vite** – Fast development server
- šŸ”· **TypeScript** – Type safety
- 🪐 **Astro** – Static site generation

## šŸš€ **Installation & Setup**

1. Clone the repository:
```bash
git clone https://github.com/RohanCyberOps/planetary-weight-generator.git
cd planetary-weight-generator
```
2. Install dependencies:
```bash
npm install
```
3. Start the development server:
```bash
npm run dev
```
4. Open the app in your browser at `http://localhost:5173/`

## šŸŒŽ **Gravity Values Used**
| Planet | Gravity (m/s²) |
|--------|-------------|
| Mercury | 3.7 |
| Venus | 8.87 |
| Earth | 9.81 |
| Mars | 3.71 |
| Jupiter | 24.79 |
| Saturn | 10.44 |
| Uranus | 8.69 |
| Neptune | 11.15 |

## šŸŽÆ **Planned Features**
šŸ”¹ Dark mode support
šŸ”¹ Animations with Framer Motion
šŸ”¹ Support for moons and exoplanets

## šŸ¤ **Contributing**
Pull requests are welcome! Fork the repo and create a PR.

## šŸ“œ **License**
This project is open-source under the **MIT License**.

---