Skip to content

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

License

Notifications You must be signed in to change notification settings

RohanCyberOps/Planetary-Weight-Calculator

Repository files navigation


🌍 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:
    git clone https://github.com/RohanCyberOps/planetary-weight-generator.git
    cd planetary-weight-generator
  2. Install dependencies:
    npm install
  3. Start the development server:
    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.


About

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

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages