Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VisualByte

VisualByte is an AI-powered Java learning platform that helps beginners understand Java, Object-Oriented Programming (OOP), and Data Structures & Algorithms (DSA) through personalized explanations, visual learning, real-world analogies, and concise revision notes.

🌐 Live Demo: https://visual-byte.vercel.app/


📖 Overview

Learning Java often requires switching between documentation, videos, notes, and AI chatbots. VisualByte brings these learning experiences together into a single platform designed to make programming concepts easier to understand.

Powered by Google Gemini 2.5 Flash, VisualByte provides beginner-friendly explanations tailored to the user's learning needs.


✨ Features

🤖 AI Tutor

Ask questions about Java and receive personalized, beginner-friendly explanations covering topics such as:

  • Java Fundamentals
  • Object-Oriented Programming
  • Collections Framework
  • Exception Handling
  • Multithreading
  • Data Structures
  • Algorithms

🎨 Visual Explorer

Breaks down programming concepts into structured visual explanations, making abstract topics easier to understand.

🌱 Analogy Playground

Explains complex programming concepts using simple real-world analogies to build intuition before diving into technical details.

📋 Revision Cheatsheet

Generates concise revision notes for quick review, interview preparation, and exam revision.


🏗️ Architecture

User
   │
   ▼
Frontend (HTML • CSS • JavaScript)
   │
   ▼
Serverless API (/api/explain)
   │
   ▼
Security Layer
├── Input Validation
├── CORS Protection
├── Rate Limiting
└── Timeout Handling
   │
   ▼
Gemini 2.5 Flash API
   │
   ▼
AI Generated Response

⚙️ Tech Stack

Frontend

  • HTML5
  • CSS3
  • Vanilla JavaScript

Backend

  • Node.js
  • Vercel Serverless Functions

AI

  • Google Gemini 2.5 Flash

Deployment

  • Vercel

Version Control

  • Git
  • GitHub

🚀 Installation

Clone the repository:

git clone https://github.com/PriyanshuRaj2077/VisualByte.git
cd VisualByte

Install dependencies:

npm install

Create a .env.local file:

GEMINI_API_KEY=YOUR_API_KEY

Run locally:

vercel dev

🔌 API

POST /api/explain

Generates AI-powered educational responses.

Request

{
  "prompt": "Explain Binary Search in Java"
}

Response

{
  "explanation": "Binary Search is an efficient searching algorithm..."
}

🔐 Security

VisualByte includes multiple security measures to ensure safe and reliable API usage:

  • Input Validation
  • CORS Protection
  • Rate Limiting
  • Request Timeout
  • Secure Environment Variables

API keys are stored securely using Vercel Environment Variables and are never exposed to the client.


🚀 Future Roadmap

  • User Authentication
  • Learning Progress Tracking
  • Personalized Learning Paths
  • Interactive Coding Playground
  • Quiz Generation
  • AI Practice Questions
  • Chat History
  • Multi-language Support

👨‍💻 Author

Priyanshu Raj

Computer Science (AI & ML) Student passionate about Java, Backend Development, AI, and Educational Technology.

🌐 Live Project: https://visual-byte.vercel.app/

About

Interactive AI-powered platform for learning Java, OOP, and DSA concepts.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages