Skip to content

thecoderxyz/Intellihub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelliHub AI Platform

A Unified Workspace with Specialized AI Tools

An AI-powered productivity platform integrating six core tools—Study Buddy, Text Tools, Code Helper, Creative Corner, Travel Planner, and Image Generator—into one seamless experience.

<br />
Intellihub Logo
contributors last update forks stars open issues license


✨ Core Features

IntelliHub provides a suite of powerful, AI-driven tools designed for various tasks, all accessible from a single dashboard.

Feature Icon Description
Study Buddy 🎓 Provides educational assistance and generates study materials.
Text Tools 📝 Summarizes, reframes, and drafts content like emails.
Code Helper 💻 Analyzes, explains, and generates code snippets.
Creative Corner 🎨 Generates creative content, such as recipes.
Travel Planner ✈️ Creates detailed travel itineraries on demand.
Image Generator 🖼️ Creates stunning visuals from text prompts using DALL-E 3.

🛠️ Tech Stack

IntelliHub is built with a modern, type-safe, and scalable full-stack TypeScript architecture.

Component Technology
Frontend React TypeScript Vite TailwindCSS
UI System shadcn/ui Radix UI
Backend Node.js Express.js
Database PostgreSQL Drizzle ORM Neon
AI Services OpenAI (GPT-4 & DALL-E 3)
Tooling Zod TanStack Query

🏗️ System Architecture Deep Dive

Click to expand for detailed architecture information

Frontend Architecture

  • Framework Stack: React 18 with TypeScript, using Vite for development and builds.
  • UI System: shadcn/ui with Radix UI primitives and Tailwind CSS, following a clean, utility-focused design inspired by Linear.
  • State Management: TanStack Query (React Query) for server state and a centralized apiRequest utility for fetch calls.
  • Routing: Client-side routing handled by Wouter, with dedicated routes for the dashboard and each tool.
  • Styling: Dark mode-first design with CSS variables and tool-specific accent colors for clear visual organization.

Backend Architecture

  • Server Framework: Express.js on Node.js with TypeScript.
  • API Structure: RESTful API endpoints organized by feature (e.g., /api/study, /api/text, /api/code).
  • Request Validation: Zod schemas for robust, runtime-safe request validation, with shared types between frontend and backend.
  • AI Integration: Deep integration with the OpenAI API (GPT & DALL-E 3) using role-based system and user prompts.
  • Error Handling: Centralized middleware for consistent error formatting and HTTP status codes.

Data & Design

  • Data Storage: Abstracted storage layer currently using in-memory storage (MemStorage). Drizzle ORM is configured for a future migration to a PostgreSQL database on Neon.
  • Design System: A cohesive system using HSL colors, the Inter and JetBrains Mono fonts, and consistent component patterns from shadcn/ui.

⚙️ Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

  • Node.js (v18 or later)
  • npm or yarn
  • Git

Installation

  1. Clone the repository:

    git clone [https://github.com/thecoderxyz/Intellihub.git](https://github.com/thecoderxyz/Intellihub.git)
    cd Intellihub
  2. Install dependencies: This project is a monorepo. Install dependencies for both frontend and backend from the root.

    npm install
  3. Set up Environment Variables:

    • Create a .env file in the packages/backend directory.
    • Copy the contents of .env.example into it.
    • Add your API keys:
      OPENAI_API_KEY="your_openai_api_key"
      DATABASE_URL="your_neon_database_url"
  4. Run the Development Server:

    • From the root directory, start both the frontend and backend concurrently:
    npm run dev

    The application will be available at http://localhost:5173.


🤝 How to Contribute

Contributions make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit your Changes (git commit -m 'Add some AmazingFeature').
  4. Push to the Branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

📜 License

Distributed under the MIT License. See LICENSE for more information.


📧 Contact

Ranjit Nath


Built with TypeScript, passion, and a little bit of AI magic ✨

Releases

No releases published

Packages

No packages published

Languages