https://github.com/romanslack/vos_frontend
Flutter frontend for the VOS project
https://github.com/romanslack/vos_frontend
Last synced: 9 months ago
JSON representation
Flutter frontend for the VOS project
- Host: GitHub
- URL: https://github.com/romanslack/vos_frontend
- Owner: RomanSlack
- Created: 2025-09-20T18:41:28.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-20T19:17:19.000Z (9 months ago)
- Last Synced: 2025-09-20T21:17:17.239Z (9 months ago)
- Language: Dart
- Size: 88.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VOS Frontend
[](https://flutter.dev)
[](https://dart.dev)
[](https://openai.com)
[](https://claude.ai/code)
A modern **Virtual Operating System** interface built with Flutter, featuring a sleek dark theme, AI-powered workspace, and elegant modal window management.

## ๐ What is VOS?
VOS (Virtual Operating System) is a cutting-edge Flutter web application that simulates a modern operating system interface within your browser. It features:
- **๐จ Dark Modern Design** - Elegant UI with subtle bevels, shadows, and VOS design system
- **๐ฑ Modal App Management** - Up to 4 concurrent apps with drag, resize, minimize, and fullscreen
- **๐ฏ Smart App Rail** - Interactive launcher with visual state indicators
- **โก High Performance** - Optimized animations and efficient state management
- **๐ฅ๏ธ Responsive Workspace** - Grid-based workspace with smooth fade effects
## ๐ Quick Start
### Prerequisites
- Flutter SDK 3.0+
- Modern web browser (Firefox recommended for best performance)
### Installation & Launch
1. **Clone the repository:**
```bash
git clone https://github.com/yourusername/VOS_frontend.git
cd VOS_frontend
```
2. **Install dependencies:**
```bash
flutter pub get
```
3. **๐ฏ Launch VOS (Recommended):**
```bash
flutter run -d web-server --web-port=8080
```
4. **Open in your browser:**
Navigate to **http://localhost:8080** in Firefox or Chrome
> **๐ก Pro Tip:** Use Firefox for optimal performance, or try `--profile` mode for faster Chrome experience.
## ๐๏ธ Architecture & Components
### Core Components
- **๐๏ธ AppRail** - Left navigation with 9 app launchers (Phone, Calendar, Tasks, Notes, Browser, Analytics, Shop, Chat, Notifications)
- **๐ผ๏ธ VosModal** - Draggable, resizable modal windows with window controls
- **๐ Workspace** - Grid background with edge fade effects
- **๐ Smart Notifications** - Elegant 4-modal limit warnings
- **โก Modal Manager** - Production-grade state management system
### Design System
- **Colors**: Dark theme (`#212121` background, `#303030` surfaces, `#EDEDED` text)
- **Typography**: Clean, consistent text hierarchy
- **Shadows**: Dual-layer shadow system for depth
- **Icons**: Material Design outlined icons with circular backgrounds
- **Animations**: Smooth 150ms transitions with proper easing
## ๐ฎ Features
### โจ Modal Window System
- **4 Concurrent Apps** - Maximum productivity without clutter
- **Drag & Drop** - Smooth repositioning within workspace bounds
- **Resize Controls** - Bottom-right corner resize handles
- **Window States** - Normal, minimized, fullscreen modes
- **Smart Positioning** - Auto-cascading placement for new windows
### ๐ฏ App Management
- **Visual Indicators** - Green dots (open), orange pulsing dots (minimized)
- **One-Click Launch** - Instant app opening from rail
- **State Persistence** - Remembers window positions and states
- **Limit Protection** - Elegant notifications prevent system overload
### ๐จ Performance Optimizations
- **Efficient Rebuilds** - Strategic widget isolation and caching
- **Controlled Animations** - Managed animation lifecycles
- **Smart State Management** - Change detection and minimal notifications
- **Memory Management** - Proper disposal and cleanup
## ๐ ๏ธ Development
### Project Structure
```
lib/
โโโ core/
โ โโโ modal_manager.dart # State management for modals
โ โโโ themes/ # VOS design system
โโโ presentation/
โ โโโ widgets/
โ โ โโโ app_rail.dart # Left navigation rail
โ โ โโโ vos_modal.dart # Modal window component
โ โ โโโ workspace.dart # Grid background workspace
โ โ โโโ app_icon.dart # Enhanced app launcher icons
โ โโโ pages/
โ โโโ home/ # Main application layout
```
### Key Technologies
- **Flutter Web** - Cross-platform UI framework
- **Custom State Management** - Optimized ChangeNotifier pattern
- **Custom Painting** - Grid backgrounds and resize handles
- **Gesture Detection** - Advanced drag, resize, and hover handling
## ๐งช Testing & Performance
### Launch Options
```bash
# Development (slower but with hot reload)
flutter run -d web-server --web-port=8080
# Profile mode (faster performance)
flutter run -d web-server --web-port=8080 --profile
# Different renderers
flutter run -d chrome --dart-define=FLUTTER_WEB_USE_SKIA=true # CanvasKit
flutter run -d chrome --dart-define=FLUTTER_WEB_USE_SKIA=false # HTML
```
### Performance Tips
- **Use Firefox** for best Flutter web performance
- **Close browser DevTools** during testing
- **Try Profile Mode** for production-like performance
- **Disable browser extensions** that might interfere
## ๐ฑ Browser Compatibility
| Browser | Performance | Features | Recommended |
|---------|-------------|----------|-------------|
| Firefox | โญโญโญโญโญ | Full | โ
Yes |
| Chrome | โญโญโญ | Full | โ ๏ธ Use --profile |
| Safari | โญโญโญ | Full | โ
Good |
| Edge | โญโญโญโญ | Full | โ
Good |
---
**Built with Flutter** | **Experience the future of virtual operating systems**