Skip to content

MidhunEU/ZenAI

Repository files navigation

Zen AI

License React Puter.js

A minimalist, multimodal AI assistant powered by Puter.js.

Features

  • Chat: Text-based conversation with AI (models can be selected in settings).
  • Multimodal:
    • Text-to-Image: Generate images from prompts.
    • Text-to-Video: Create short videos.
    • Text-to-Speech: Synthesize audio.
    • OCR: Extract text from uploaded images.
    • Transcription: Transcribe uploaded audio files.
  • Privacy Mode: "Incognito" mode where history is not saved to local storage.
  • Responsive: Mobile-first design with PWA capabilities.
  • Export: Download entire chat history as a ZIP file containing Markdown and media.

Tech Stack

  • Framework: React + Vite
  • Styling: Tailwind CSS
  • AI Integration: Puter.js (v2)
  • Markdown Rendering: react-markdown (GFM, KaTeX, Highlight.js)

Getting Started

  1. Clone the repository

    git clone https://github.com/yourusername/zen-ai.git
    cd zen-ai
  2. Install dependencies

    npm install
  3. Run development server

    npm run dev

Building for Production

To create a production build (optimized for static hosting):

npm run build

The output will be in the dist directory.

Deployment

This project is optimized for Cloudflare Pages, Vercel, or Puter.com hosting.

License

MIT