Skip to content

๐ŸŒŸ Matrix Calculator โ€” Smart, Fast & AI-Powered โš™๏ธ๐Ÿงฎ A modern web-based matrix calculator that performs advanced matrix operations with instant AI-generated step-by-step explanations. Built with React + Vite, powered by Googleโ€™s Generative AI, and wrapped in a smooth, animated UI.

License

Notifications You must be signed in to change notification settings

H0NEYP0T-466/Matrix_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Matrix_Calculator

GitHub License GitHub Stars GitHub Forks GitHub Issues GitHub Pull Requests Contributions Welcome

Last Commit Commit Activity Repo Size Code Size

Top Language Languages Count

Open Source Love

An AI-powered matrix calculator web application that provides instant solutions for matrix operations, complete with step-by-step explanations. Built with React, Vite, and powered by Google's Generative AI.


๐Ÿ”— Links


๐Ÿ“‘ Table of Contents


๐Ÿš€ Installation

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm or yarn
  • Google Generative AI API Key (for backend)

Setup Steps

  1. Clone the repository:

    git clone https://github.com/H0NEYP0T-466/Matrix_Calculator.git
    cd Matrix_Calculator
  2. Install frontend dependencies:

    npm install
  3. Install backend dependencies:

    cd backend
    npm install
  4. Configure environment variables:

    Create a .env file in the backend directory with your API key:

    GEMINI_API_KEY=your_google_genai_api_key
  5. Start the backend server:

    cd backend
    npm start
  6. Start the frontend development server:

    # From the root directory
    npm run dev
  7. Open the app:

    Navigate to http://localhost:5173 in your browser.


โšก Usage

  1. Launch the application by following the installation steps above.
  2. Enter your matrix values in the input fields.
  3. Select an operation (addition, subtraction, multiplication, determinant, inverse, transpose, etc.).
  4. Click "Calculate Now!" to get instant results.
  5. View step-by-step explanations powered by AI.

โœจ Features

  • Matrix Operations โ€“ Addition, subtraction, multiplication, and more
  • AI Explanations โ€“ Get detailed explanations powered by Google's Generative AI
  • Step-by-Step Solutions โ€“ Understand how the calculation was performed
  • Modern UI โ€“ Smooth animations with GSAP
  • Math Rendering โ€“ Beautiful mathematical notation with KaTeX
  • Responsive Design โ€“ Works on desktop and mobile devices

๐Ÿ“‚ Folder Structure

Matrix_Calculator/
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ controller/
โ”‚   โ”‚   โ””โ”€โ”€ controller.js
โ”‚   โ”œโ”€โ”€ model/
โ”‚   โ”‚   โ””โ”€โ”€ ai_model.js
โ”‚   โ”œโ”€โ”€ index.js
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ””โ”€โ”€ package-lock.json
โ”œโ”€โ”€ public/
โ”œโ”€โ”€ Router/
โ”‚   โ””โ”€โ”€ Router.jsx
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ Nav_bar.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ Nav_bar.css
โ”‚   โ”‚   โ”œโ”€โ”€ Page.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ Page.css
โ”‚   โ”‚   โ”œโ”€โ”€ Reveiw_page.jsx
โ”‚   โ”‚   โ””โ”€โ”€ Reveiw_Page.css
โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”œโ”€โ”€ App.css
โ”‚   โ”œโ”€โ”€ main.jsx
โ”‚   โ””โ”€โ”€ index.css
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ package-lock.json
โ”œโ”€โ”€ vite.config.js
โ”œโ”€โ”€ eslint.config.js
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ CONTRIBUTING.md
โ”œโ”€โ”€ SECURITY.md
โ””โ”€โ”€ CODE_OF_CONDUCT.md

๐Ÿค Contributing

Contributions are welcome! Please read the Contributing Guidelines for details on how to submit pull requests, report bugs, and suggest features.


๐Ÿ“œ License

This project is licensed under the MIT License. See the LICENSE file for details.


๐Ÿ›ก Security

For reporting security vulnerabilities, please read our Security Policy.


๐Ÿ“ Code of Conduct

Please read and follow our Code of Conduct to ensure a welcoming and inclusive community.


๐Ÿ›  Tech Stack

Languages

JavaScript HTML5 CSS3

Frameworks & Libraries

React React Router Vite Express.js GSAP

DevOps / CI / Tools

ESLint npm Git

Cloud / AI Services

Google AI


๐Ÿ“ฆ Dependencies & Packages

Frontend - Runtime Dependencies

axios โ€“ Promise based HTTP client for the browser and Node.js

gsap โ€“ Professional-grade animation library

react โ€“ A JavaScript library for building user interfaces

react-dom โ€“ React package for working with the DOM

react-markdown โ€“ Render Markdown as React components

react-router โ€“ Declarative routing for React

react-router-dom โ€“ DOM bindings for React Router

rehype-katex โ€“ Rehype plugin to render math with KaTeX

remark-math โ€“ Remark plugin to support math

Frontend - Dev Dependencies

@eslint/js โ€“ ESLint JavaScript plugin

@types/react โ€“ TypeScript definitions for React

@types/react-dom โ€“ TypeScript definitions for React DOM

@vitejs/plugin-react โ€“ Official React plugin for Vite

eslint โ€“ Pluggable JavaScript linter

eslint-plugin-react-hooks โ€“ ESLint rules for React Hooks

eslint-plugin-react-refresh โ€“ Validate React Refresh

globals โ€“ Global identifiers from different JavaScript environments

vite โ€“ Next generation frontend tooling

Backend - Runtime Dependencies

@google/genai โ€“ Google Generative AI SDK

cors โ€“ Node.js CORS middleware

dotenv โ€“ Loads environment variables from .env file

express โ€“ Fast, unopinionated web framework for Node.js


Made with โค by H0NEYP0T-466

About

๐ŸŒŸ Matrix Calculator โ€” Smart, Fast & AI-Powered โš™๏ธ๐Ÿงฎ A modern web-based matrix calculator that performs advanced matrix operations with instant AI-generated step-by-step explanations. Built with React + Vite, powered by Googleโ€™s Generative AI, and wrapped in a smooth, animated UI.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •