Skip to content

Swoyamjeetcodes/ArsenalAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AI Tools App

A comprehensive suite of AI-powered tools built with React and Google's Generative AI

Live Demo Backend API

✨ Features

This AI Tools App provides five powerful AI-driven features:

πŸ“ Text Summarizer

  • Summarizes long texts into concise, readable summaries
  • Perfect for articles, documents, and research papers

πŸ–ΌοΈ Image Captioner

  • Generates detailed descriptions of uploaded images
  • Supports multiple image formats (JPG, PNG, WebP, etc.)

🌍 Language Translator

  • Translates text between multiple languages
  • Powered by Google's advanced translation capabilities

πŸ’» Code Explainer

  • Explains code snippets in simple, understandable terms
  • Supports multiple programming languages
  • Line-by-line code analysis

πŸ” Visual Q&A

  • Ask questions about uploaded images
  • Get intelligent answers based on image content
  • Interactive image analysis

πŸ› οΈ Tech Stack

Frontend

  • React 19 - Modern React with latest features
  • Vite - Fast build tool and dev server
  • Tailwind CSS - Utility-first CSS framework
  • Axios - HTTP client for API requests
  • React Icons - Beautiful icon library

Backend

  • Node.js - JavaScript runtime
  • Express.js - Web framework
  • Google Generative AI - AI/ML capabilities
  • CORS - Cross-origin resource sharing
  • dotenv - Environment variable management

Deployment

🌐 Live Demo

Frontend: https://ai-tools-frontend-iota.vercel.app

Backend API: https://ai-tools-backend-m520.onrender.com

πŸš€ Deployment Status

  • βœ… Frontend: Successfully deployed on Vercel
  • βœ… Backend: Successfully deployed on Render
  • βœ… API Integration: All endpoints working correctly
  • βœ… CORS: Properly configured for cross-origin requests

πŸ“‹ Prerequisites

Before running this project, make sure you have:

  • Node.js (v16 or higher)
  • npm or yarn
  • Google AI Studio API Key (Get one here)

πŸš€ Quick Start

1. Clone the Repository

git clone https://github.com/BrajamohanDas-afk/Ai-Tools-App.git
cd Ai-Tools-App

2. Set Up the Backend

cd Backend
npm install

# Create .env file
echo "GOOGLE_API_KEY=your_google_api_key_here" > .env

# Start the server
npm start
# or
node server.js

3. Set Up the Frontend

cd ../client
npm install

# Start the development server
npm run dev

4. Open Your Browser

Visit http://localhost:5173 to see the app in action!

πŸ“ Project Structure

Ai-Tools-App/
β”œβ”€β”€ Backend/
β”‚   β”œβ”€β”€ server.js          # Express server
β”‚   β”œβ”€β”€ package.json       # Backend dependencies
β”‚   └── .env              # Environment variables
β”œβ”€β”€ client/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/    # React components
β”‚   β”‚   β”‚   β”œβ”€β”€ Summarizer.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ ImageCaptioner.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Translator.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ CodeExplainer.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ VisualQA.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Navbar.jsx
β”‚   β”‚   β”‚   └── Sidebar.jsx
β”‚   β”‚   β”œβ”€β”€ config/
β”‚   β”‚   β”‚   └── api.js      # API configuration
β”‚   β”‚   β”œβ”€β”€ App.jsx        # Main app component
β”‚   β”‚   └── main.jsx       # Entry point
β”‚   β”œβ”€β”€ package.json       # Frontend dependencies
β”‚   └── vite.config.js     # Vite configuration
└── README.md

πŸ”§ Environment Variables

Create a .env file in the Backend directory:

GOOGLE_API_KEY=your_google_generative_ai_api_key
PORT=3000

πŸ“‘ API Endpoints

Method Endpoint Description
GET / Health check
POST /summarize Summarize text
POST /caption Generate image captions
POST /translate Translate text
POST /explain-code Explain code snippets
POST /visual-qa Visual question answering

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ License

This project is open source and available under the MIT License.

πŸ‘¨β€πŸ’» Author

Brajamohan Das

πŸ™ Acknowledgments

  • Google AI for the Generative AI API
  • React for the amazing frontend framework
  • Vercel for frontend hosting
  • Render for backend hosting

⭐ If you found this project helpful, please give it a star!

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors