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.
- Host: GitHub
- URL: https://github.com/rohancyberops/planetary-weight-calculator
- Owner: RohanCyberOps
- License: mit
- Created: 2025-02-15T16:47:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T14:09:56.000Z (over 1 year ago)
- Last Synced: 2025-03-10T19:51:29.100Z (over 1 year ago)
- Topics: gravitation, plantary, react, typescript, vite
- Language: Astro
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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**.
---