βββ βββββββββββββ βββββββ ββββββββ βββ βββββββββββββββββββββββββββββββ βββ βββββββββββββββββ βββββββββββ ββββ ββββββββββββββββββ βββββββββββ βββββββ ββββββ ββββββββββββββββββββ βββββ ββββββ βββ βββββββ ββββββββ a little bit of me...
A nostalgic journey back to classic desktop computing
VirOS (formerly VirOS) is a modern web-based simulation of classic desktop operating systems. It features an interactive desktop environment with draggable icons, windowing system, and terminal emulation - all accessible from any device with a web browser.
The application offers a nostalgic computing experience combined with modern web technologies to create a unique interface that works seamlessly across desktop and mobile devices.
- π₯οΈ Desktop Environment: Fully interactive desktop with draggable icons and window management
- π‘οΈ System Files: Protected system files (System, Projects, Buffer, Terminal, bibhu.exe) that cannot be deleted or renamed
- π» Terminal Emulator: Functional terminal with command support
- π File Management: Create, rename, delete, and organize files and folders
- π± Responsive Design: Optimized for all device sizes - desktop, tablet and mobile
- π Theme Support: Toggle between light and dark modes
- βοΈ Cloud Storage: Persistent state with browser localStorage (settings and files)
- State Management: Zustand for global state with persistence
- UI Components: Custom-built Windows and Desktop components
- DnD: React DnD for drag-and-drop functionality
- API: RESTful API for data operations
- Node.js (v18 or higher)
- npm or yarn
- PostgreSQL database
-
Clone the repository
git clone https://github.com/yourusername/VirOS.git cd viros -
Install dependencies
npm install
-
Configure environment variables
Create a
.envfile with your database connection:DATABASE_URL=postgresql://username:password@localhost:5432/VirOS -
Set up the database
npm run db:push
-
Launch the development server
npm run dev
-
Open in browser
Navigate to
http://localhost:3000
We provide Docker support for easy deployment:
-
Build the image
docker build -t viros . -
Run the container
docker run -p 3000:3000 \ -e DATABASE_URL=postgresql://username:password@host.docker.internal:5432/viros \ viros
| Action | Description |
|---|---|
| Left-click | Select item |
| Double-click | Open item |
| Right-click (on desktop) | Show desktop context menu |
| Right-click (on item) | Show item context menu (open, rename, delete) |
| Drag | Move items around the desktop |
| Drag to Buffer | Move item to the Buffer |
The following system files cannot be deleted or renamed:
- System: View system information
- Projects: Store and organize your files
- Terminal: Access command-line interface
- Buffer: Temporary storage for deleted items (like Recycle Bin/Trash)
- bibhu.exe: View developer portfolio and information
help- Show available commandsecho [text]- Display textdate- Show current date/timeclear- Clear the terminalls- List fileswhoami- Show current userneofetch- Display system informationuname- Display OS namecowsay [message]- Display a cow saying your messagefortune- Get a random fortune messageping [address]- Simulate pinging an addressclear- Clear the terminalls- List fileswhoami- Show current user
-
Build the application
npm run build
-
Start the production server
npm start
VirOS can be deployed to any platform that supports Node.js:
- Heroku: Easy deployment with PostgreSQL add-on
- Vercel: Great for frontend with serverless functions for the backend
- AWS/GCP/Azure: For more scalable enterprise deployment
- DigitalOcean: Simple deployment with App Platform
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by classic desktop operating systems like Windows 95/98 and early MacOS
- Icon designs from Lucide React
- Built with modern web technologies while honoring the nostalgia of classic interfaces
Made with β€οΈ by tech9ic
Β© 2025 VirOS Project