Skip to content

hlsitechio/onai

Repository files navigation

image

πŸš€ Online Note AI - Horizon Suite

Website Lovable Project Sponsor Star

Online Note AI - Horizon Suite is a modern, AI-powered note-taking web application designed for productivity, collaboration, and security. Take notes, organize your thoughts, and leverage AIβ€”all in one place.

🌐 Website: onlinenote.ai

✨ Features

  • AI-Powered Notes - Generate, summarize, and organize notes with AI assistance
  • Rich Text Editor - Full Markdown support with real-time collaboration
  • Cloud Sync - Access your notes from anywhere, on any device
  • Beautiful UI - Modern, responsive design with dark/light mode
  • Real-time Collaboration - Work together with your team in real-time
  • JWT Authentication - Secure user authentication
  • Supabase Backend - PostgreSQL database with real-time subscriptions
  • Cross-Platform - Responsive design that works on all devices

πŸš€ Getting Started

Prerequisites

  • Node.js 16.8 or later
  • npm or yarn
  • Supabase account (for the backend)

Installation

  1. Clone the repository

    git clone https://github.com/hlsitechio/onai.git
    cd onai
  2. Install dependencies

    Using npm:

    npm install

    Or using yarn:

    yarn
  3. Set up environment variables

    Create a .env file in the root directory and add the following variables:

    VITE_SUPABASE_URL=your_supabase_url
    VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
    VITE_SUPABASE_JWT_SECRET=your_jwt_secret
    
  4. Start the development server

    npm run dev
    # or
    yarn dev

    Open http://localhost:5173 in your browser to see the application.

πŸ› οΈ Technologies

  • ⚑️ Vite - Next Generation Frontend Tooling
  • βš›οΈ React - A JavaScript library for building user interfaces
  • 🟦 TypeScript - Typed JavaScript
  • 🎨 shadcn/ui - Beautifully designed components
  • πŸ’¨ Tailwind CSS - A utility-first CSS framework
  • 🟩 Supabase - Open source Firebase alternative
  • πŸ“ Tiptap - Headless rich text editor
  • πŸ”„ React Query - Data synchronization

🌍 Deployment

Production Build

# Build the application
npm run build

# Preview the production build
npm run preview

Deployment Options

  • Vercel - Recommended for production
  • Netlify - Great for static hosting
  • Docker - For containerized deployments

🀝 Contributing

Contributions are welcome! Please read our contributing guidelines to get started.

  1. Fork the repository
  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

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

πŸ™ Acknowledgments

  • Next.js - The React Framework for Production
  • Tailwind CSS - A utility-first CSS framework
  • Supabase - The open source Firebase alternative
  • shadcn/ui - Beautifully designed components
  • Tiptap - The headless editor framework for web artisans

πŸ“§ Contact

For any questions or feedback, please open an issue or contact us at support@onlinenote.ai.


⭐ Star us on GitHub if you find this project useful!


πŸ’– Support & Sponsorship

Help us keep Online Note AI free and improve it for everyone!
Become a sponsor and get your logo featured here, early access to new features, and a say in the roadmap.
πŸ‘‰ Sponsor us on GitHub


🀝 Contributing

We welcome contributions! Please check issues, open pull requests, or discuss new features.


DEV SEEKING ! πŸ‘¨β€πŸ’» πŸ‘©β€πŸ’» πŸ“’

πŸš€ Looking for a co-worker! I’m actively seeking a collaborator to help build and improve this project.


If you love Online Note AI, please ⭐ star the repo and consider sponsoring! Your support helps us grow!

πŸš€ Why Online Note AI?

  • πŸ—’οΈAI-Powered Notes: Generate, summarize, and organize notes with AI assistance.
  • ☁️ Cloud Sync: Access your notes from anywhere, on any device.
  • πŸ“±Beautiful & Responsive UI: Built with modern UI libraries for a smooth experience.
  • πŸ”“Open Source: Community-driven development and transparency.

πŸš€ Getting Started


πŸ› οΈ Technologies


🌍 Deployment

2. Local Development

create a folder
Open powershell directly into your new folder with the name onai
# Clone the repository git clone https://github.com/hlsitechio/onai.git 
Be careful when cloning you need to cd into the right folder after 

# Start the development server
npm install 
npm run dev

Prerequisite: Node.js & npm (install guide)

3. Directly on GitHub

  • Navigate to any file and click the ✏️ "Edit" button to make changes in the browser.

4. With GitHub Codespaces

  • On the repo main page, click Code β†’ Codespaces β†’ New codespace for a full-featured, cloud-based dev environment.

πŸ“£ Contact


πŸ“± Quick Access

Scan the QR code to visit the project instantly:

frame


πŸ’– Support & Sponsorship

Help us keep Online Note AI free and improve it for everyone!
Become a sponsor and get your logo featured here, early access to new features, and a say in the roadmap.
πŸ‘‰ Sponsor us on GitHub


🀝 Contributing

We welcome contributions! Please check issues, open pull requests, or discuss new features.


DEV SEEKING ! πŸ‘¨β€πŸ’» πŸ‘©β€πŸ’» πŸ“’

πŸš€ Looking for a co-worker! I’m actively seeking a collaborator to help build and improve this project.


If you love Online Note AI, please ⭐ star the repo and consider sponsoring! Your support helps us grow! =======

Online Note AI - Full-Stack AI-Powered Note Taking App

A comprehensive note-taking application with AI assistance, built with React, Chakra UI, and modern web technologies.

πŸš€ Features

  • AI-Powered Assistant: Get intelligent suggestions and help with your notes
  • Rich Text Editor: Create and format notes with ease
  • Smart Organization: Categorize and tag your notes automatically
  • Real-time Search: Find your notes instantly with powerful search
  • Beautiful UI: Modern, responsive design with Chakra UI components
  • Authentication: Secure user authentication and session management
  • Responsive Design: Works perfectly on desktop and mobile devices

πŸ› οΈ Tech Stack

Frontend

  • React 18 with TypeScript
  • Chakra UI for component library and theming
  • React Router for navigation
  • TanStack Query for state management and data fetching
  • Lucide React for beautiful icons
  • Tailwind CSS for additional styling
  • Framer Motion for smooth animations

Backend (Ready for Integration)

  • Node.js with Express
  • JWT Authentication
  • SQLite/PostgreSQL database support
  • RESTful API architecture

πŸ“¦ Installation & Setup

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn

Quick Start

  1. Clone the repository

    git clone <your-repo-url> online-note-ai
    cd online-note-ai
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Open your browser Navigate to http://localhost:8080

Demo Credentials

πŸ—οΈ Project Structure

src/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ Layout/
β”‚   β”‚   β”œβ”€β”€ Layout.tsx          # Main layout wrapper
β”‚   β”‚   β”œβ”€β”€ Sidebar.tsx         # Navigation sidebar
β”‚   β”‚   └── Header.tsx          # Top header with search
β”œβ”€β”€ contexts/
β”‚   └── AuthContext.tsx         # Authentication context
β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ Dashboard.tsx           # Main dashboard
β”‚   β”œβ”€β”€ Chat.tsx               # AI chat interface
β”‚   β”œβ”€β”€ Editor.tsx             # Note editor
β”‚   β”œβ”€β”€ Notes.tsx              # Notes browser
β”‚   β”œβ”€β”€ Settings.tsx           # User settings
β”‚   └── Auth/
β”‚       β”œβ”€β”€ Login.tsx          # Login page
β”‚       └── Register.tsx       # Registration page
β”œβ”€β”€ theme/
β”‚   └── theme.ts               # Chakra UI theme configuration
└── index.css                  # Global styles and animations

🎨 Design System

Colors

  • Primary (Brand): Blue spectrum (#6366f1)
  • Secondary: Purple spectrum (#d946ef)
  • Gray Scale: Slate colors for text and backgrounds

Typography

  • Font Family: Inter (Google Fonts)
  • Weights: 300, 400, 500, 600, 700

Components

  • Custom Chakra UI theme with consistent spacing and border radius
  • Smooth hover animations and transitions
  • Beautiful gradient backgrounds

πŸ”§ Customization

Adding New Pages

  1. Create component in src/pages/
  2. Add route to src/pages/Index.tsx
  3. Add navigation item to src/components/Layout/Sidebar.tsx

Theming

  • Modify colors in src/theme/theme.ts
  • Update CSS variables in src/index.css
  • Customize component styles in theme configuration

AI Integration

Replace the mock AI responses in src/pages/Chat.tsx with your preferred AI service:

  • OpenAI GPT
  • Google Gemini
  • Anthropic Claude
  • Local AI models

πŸš€ Deployment

Frontend (Vercel - Recommended)

npm run build
# Deploy to Vercel

Full-Stack Deployment

  1. Backend: Deploy to Railway, Heroku, or DigitalOcean
  2. Database: PostgreSQL on Railway or Supabase
  3. Frontend: Vercel or Netlify

πŸ” Environment Variables

Create a .env.local file for local development:

VITE_API_URL=http://localhost:5000/api
VITE_AI_API_KEY=your_ai_api_key

πŸ“ Backend Integration

To connect with a backend API:

  1. Update API calls in src/contexts/AuthContext.tsx
  2. Configure endpoints in your environment variables
  3. Add API utilities in src/lib/api.ts

Example API integration:

const apiClient = axios.create({
  baseURL: process.env.VITE_API_URL,
  headers: {
    'Authorization': `Bearer ${localStorage.getItem('auth_token')}`
  }
});

🀝 Contributing

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

πŸ“„ License

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

🎯 Roadmap

  • Real AI integration (OpenAI/Gemini)
  • Collaborative editing
  • File attachments
  • Export to PDF/Markdown
  • Mobile app (React Native)
  • Offline support
  • Voice notes
  • Advanced search with filters

πŸ’‘ Tips for Development

  • Use the demo credentials for testing
  • Check browser console for helpful logs
  • Customize the AI responses in Chat.tsx
  • Add your own color schemes in theme.ts
  • Use Chakra UI components for consistency

Built with ❀️ using React, Chakra UI, and modern web technologies.

noteai-suite/main

Packages

No packages published

Contributors 2

  •  
  •