Skip to content

tarunerror/pullforgeOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  Pullforge OS - Browser-Based Operating System

A powerful browser-based operating system interface with AI agents, code editor, terminal, and file management capabilities.

โœจ Features

๐Ÿ–ฅ๏ธ Desktop Environment

  • Windows OS-like Interface: Draggable and resizable windows
  • App Launcher: Quick access to all applications
  • Taskbar: Window management and system information
  • Modern UI: Dark theme with smooth animations

๐Ÿ“ฑ Core Applications

๐Ÿ–ฅ๏ธ Terminal

  • WebContainer Integration: Run Node.js, npm, git commands in browser
  • XTerm.js Interface: Full-featured terminal emulator
  • Browser-side Execution: No server required

๐Ÿ’ป Code Editor

  • Monaco Editor: VS Code-like editing experience
  • Multi-language Support: JavaScript, TypeScript, Python, HTML, CSS, Markdown
  • AI Assistant: Code explanation, optimization, and generation
  • File Explorer: Integrated file tree navigation
  • Syntax Highlighting: Advanced code highlighting and IntelliSense

๐Ÿ’ฌ AI Chat

  • Multiple AI Agents: Specialized assistants for different tasks
    • ๐Ÿ”ง Coding Assistant: Programming help and code review
    • ๐ŸŽจ Design Assistant: UI/UX guidance and layouts
    • ๐Ÿ“ Writing Assistant: Documentation and content creation
    • โš™๏ธ DevOps Assistant: Deployment and infrastructure
    • โœจ General Assistant: Task automation and general queries
  • OpenRouter Integration: Access to multiple LLM providers
  • Context-aware: Understands your current project

๐Ÿ“ File Explorer

  • File Management: Upload, download, delete, rename files
  • Multiple View Modes: List and grid views
  • Search Functionality: Find files quickly
  • Context Menus: Right-click actions
  • File Type Recognition: Icons and handling for different file types

๐Ÿš€ Tech Stack

Frontend

  • Next.js 14: React framework with App Router
  • TypeScript: Type-safe development
  • Tailwind CSS: Utility-first styling
  • React Draggable: Window dragging functionality
  • React Resizable: Window resizing capabilities
  • Monaco Editor: Code editing interface
  • XTerm.js: Terminal emulation
  • Lucide React: Modern icon library

Backend & Services

  • WebContainer: Browser-based Node.js runtime
  • OpenRouter API: AI model access (planned)
  • Supabase: Authentication, storage, and vector database (planned)

๐Ÿ› ๏ธ Installation & Setup

Prerequisites

  • Node.js 18+
  • npm or yarn

Quick Start

  1. Clone the repository

    git clone https://github.com/tarunerror/pullforgeOS.git
    cd pullforgeOS
  2. Install dependencies

    npm install
  3. Run development server

    npm run dev
  4. Open in browser Navigate to http://localhost:3000

Environment Variables (Optional)

Create a .env.local file for API keys:

OPENROUTER_API_KEY=your_openrouter_key
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_key

๐Ÿ“– Usage Guide

Getting Started

  1. Launch Applications: Click the grid icon (top-left) to open the app launcher
  2. Open Terminal: Start with the Terminal app to run commands
  3. Code Editor: Open files and start coding with AI assistance
  4. AI Chat: Get help from specialized AI agents
  5. File Management: Use File Explorer to manage your project files

Keyboard Shortcuts

  • Ctrl+S: Save file (in Code Editor)
  • Enter: Send message (in Chat)
  • Shift+Enter: New line (in Chat)

Window Management

  • Drag: Click and drag window title bar to move
  • Resize: Drag window edges or corners to resize
  • Minimize: Click minus button in window header
  • Maximize: Click maximize button in window header
  • Close: Click X button in window header

๐Ÿ”ฎ Phase 2 Features โœ…

Completed Features

  • GitHub Integration: Clone repos, create PRs with AI assistance
  • Vector Embeddings: Contextual file search with Supabase
  • Live Preview: Real-time web project preview
  • Workflow Automation: n8n integration for task automation
  • Supabase Authentication: Secure user authentication with GitHub OAuth
  • GitHub App Integration: Repository access via GitHub App installation

Phase 3 (Upcoming)

  • Multi-user Support: Collaborative editing and chat
  • Real-time Collaboration: Live code editing with multiple users
  • Advanced AI Features: Code generation, debugging assistance
  • Plugin System: Extensible architecture for custom apps
  • Plugin System: Extensible app architecture
  • Cloud Sync: Cross-device file synchronization
  • Advanced AI: Custom model fine-tuning

๐Ÿ—๏ธ Architecture

ai-os/
โ”œโ”€โ”€ app/                    # Next.js App Router
โ”‚   โ”œโ”€โ”€ globals.css        # Global styles
โ”‚   โ”œโ”€โ”€ layout.tsx         # Root layout
โ”‚   โ””โ”€โ”€ page.tsx           # Main page
โ”œโ”€โ”€ components/            # Shared components
โ”‚   โ”œโ”€โ”€ Desktop.tsx        # Main desktop interface
โ”‚   โ”œโ”€โ”€ Window.tsx         # Window management
โ”‚   โ”œโ”€โ”€ Taskbar.tsx        # Bottom taskbar
โ”‚   โ””โ”€โ”€ AppLauncher.tsx    # Application launcher
โ”œโ”€โ”€ apps/                  # Individual applications
โ”‚   โ”œโ”€โ”€ terminal/          # Terminal app
โ”‚   โ”œโ”€โ”€ code-editor/       # Code editor app
โ”‚   โ”œโ”€โ”€ chat/              # AI chat app
โ”‚   โ””โ”€โ”€ file-explorer/     # File management app
โ”œโ”€โ”€ contexts/              # React contexts
โ”‚   โ””โ”€โ”€ WindowContext.tsx  # Window state management
โ””โ”€โ”€ styles/                # Additional styles
    โ””โ”€โ”€ resizable.css      # Window resizing styles

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push to 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.

๐Ÿ™ Acknowledgments

  • WebContainer: Browser-based Node.js runtime by StackBlitz
  • Monaco Editor: VS Code's editor in the browser
  • XTerm.js: Terminal emulator for the web
  • OpenRouter: Multi-model AI API access
  • Supabase: Backend-as-a-Service platform

Built with โค๏ธ for the future of browser-based development

๐Ÿš€ Ready to experience the future of coding in your browser? Let's build something amazing!

About

AI Based cloud OS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

ย 
ย 
ย 

Contributors