Skip to content

davesohamm/SnackOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SnackOS ๐Ÿ–ฅ๏ธ

Captain America Spider-Man Batman

A browser-based operating system simulation โ€” Your personal JARVIS prototype!

"Just like Iron Man's AI assistant, but running in your browser"


๐ŸŽฏ What is SnackOS?

SnackOS is a fully functional browser simulation of an operating system with voice control capabilities. It's a prototype of what a voice-controlled OS could look like โ€” think of it as your own mini JARVIS! ๐Ÿค–

Built with React, it features a complete desktop environment with multiple apps, voice commands, and a beautiful user interface inspired by modern operating systems.


๐ŸŽค Voice Commands

SnackOS features an always-on voice assistant that responds to natural language. Just speak, and it obeys!

๐Ÿš€ App Control

Opening Apps

"Open calculator"
"Launch terminal"
"Play tic tac toe"
"Start snake game"
"Show calendar"
"Open files"
"Launch music player"
"Open paint"
"Show clock"
"Open notes"
"Start task manager"
"Launch todo"
"Open settings"

Closing Apps

"Close calculator"
"Exit terminal"
"Close tic tac toe"
"Quit snake"
"Close all" (closes all open windows)

๐Ÿงฎ Calculator Commands

"What is 9 times 2"
"Calculate 45 plus 33"
"12 minus 7"
"100 divided by 5"

๐Ÿ“… Calendar Commands

"Open november 2023 calendar"
"Open january 2026 calendar"
"What day is on 29th january 2030"
"What is the date on next monday"
"Add new event - my birthday is on 28th december"

๐Ÿ“ To-Do Commands

"Add in the todo list - buy groceries at 5 pm"
"Add in the todo list - meeting tomorrow at 10 am"

๐ŸŽจ Paint Commands

"Draw a circle"
"Draw a square"
"Draw a triangle"
"Draw a star"
"Draw a heart"
"Draw a cat"
"Draw a smiley"
"Draw a house"
"Draw a tree"
"Draw number 3"
"Draw letter A"
"Clear canvas"

๐Ÿ–ผ๏ธ Wallpaper Commands

"Change the wallpaper" (cycles through all wallpapers)

๐Ÿ“ฑ Apps & Features

๐Ÿงฎ Calculator

  • Scientific calculator with multiple modes
  • Basic, scientific, and programmer modes
  • History tracking
  • Keyboard shortcuts support
  • Voice-controlled calculations

๐ŸŽฎ Games

Snake Game

  • Classic snake gameplay
  • Score tracking
  • Speed increases as you progress
  • Keyboard controls (arrow keys)

Tic Tac Toe

  • Play against an unbeatable AI (Minimax algorithm)
  • Three difficulty levels: Easy, Medium, Impossible
  • Score tracking
  • Beautiful animations

๐Ÿ“… Calendar

  • Month/year navigation
  • Event creation and management
  • Color-coded events
  • Voice-controlled navigation
  • Natural language date queries

๐Ÿ—‚๏ธ File Manager

  • Virtual file system
  • Create/delete files and folders
  • Navigate directories
  • File preview
  • Modern UI with breadcrumbs

๐Ÿ“ Notes

  • Simple note-taking app
  • Auto-save functionality
  • Multiple notes support
  • Clean, distraction-free interface

๐Ÿ’ผ Task Manager

  • Real-time CPU/memory/disk usage simulation
  • List all running apps
  • Kill/close apps
  • System resource monitoring

๐Ÿ–ฅ๏ธ Terminal

  • Functional command-line interface
  • Commands: ls, cd, cat, echo, clear, neofetch, help
  • Command history (โ†‘/โ†“ arrows)
  • Tab auto-completion
  • Classic terminal aesthetics

โœ… To-Do List

  • Create tasks with priorities (low, medium, high)
  • Set deadlines
  • Categories
  • Browser notifications
  • Filter by status/priority
  • Voice-controlled task creation

๐ŸŽจ Paint

  • Brush, eraser, fill bucket tools
  • Color picker
  • Adjustable brush sizes
  • Undo/redo functionality
  • Export as PNG
  • Voice-controlled drawing

๐ŸŽต Music Player

  • Upload and play MP3 files
  • Playlist management
  • Real-time audio visualizer (3 modes: bars, circular, waveform)
  • Playback controls (play, pause, next, previous)
  • Shuffle and repeat modes
  • Volume control
  • Beautiful glassmorphism UI

๐Ÿ“– Markdown Editor

  • Split-pane view (editor + live preview)
  • Export options (HTML, Markdown, PDF)
  • Syntax highlighting
  • Auto-save

๐Ÿ• Clock

  • Analog clock with world time
  • Multiple timezone support
  • Stopwatch
  • Timer
  • Real-time updates

โš™๏ธ Settings

  • Theme toggle (light/dark)
  • Accent color customization
  • Wallpaper selection (7 beautiful wallpapers)
  • Clock format (12h/24h)

โœจ Features

๐ŸŽค Voice Assistant

  • Always-on listening โ€” no need to press a button
  • Natural language processing
  • Supports casual phrasing ("hey close the calculator please")
  • Real-time feedback
  • Floating microphone button

๐ŸชŸ Window Management

  • Drag and drop windows
  • Resize windows
  • Minimize/maximize/close
  • Window snapping (drag to edges)
  • Focus management
  • Multiple windows simultaneously

๐ŸŽจ Beautiful UI

  • Modern, clean design
  • Glassmorphism effects
  • Smooth animations
  • macOS-inspired aesthetics
  • Dark theme optimized
  • Responsive layout

๐Ÿ”‹ System Features

  • Real-time battery status (shows actual laptop battery)
  • Date and time display
  • WiFi status
  • Volume control
  • GitHub link

๐Ÿ’พ Smart Loading

  • Asset preloading for smooth experience
  • Service worker caching
  • Offline support
  • Progress tracking

๐Ÿ–ฅ๏ธ Fullscreen Mode

  • Welcome screen with automatic fullscreen prompt
  • F11 keyboard shortcut support
  • Optimal viewing experience

๐Ÿš€ Getting Started

Installation

# Clone the repository
git clone https://github.com/yourusername/snackos.git

# Navigate to directory
cd snackos

# Install dependencies
npm install

# Run development server
npm run dev

Usage

  1. Open the website in your browser
  2. Allow microphone access for voice commands
  3. Click "Enter Fullscreen Mode" for the best experience
  4. Start exploring โ€” use voice commands or click on dock icons!

๐Ÿ› ๏ธ Tech Stack

  • React โ€” UI framework
  • TypeScript โ€” Type safety
  • Zustand โ€” State management
  • Framer Motion โ€” Animations
  • Lucide Icons โ€” Beautiful icons
  • Web APIs โ€” Speech Recognition, Battery Status, Web Audio
  • Vite โ€” Build tool

๐ŸŽฏ Voice Assistant Tips

  1. Speak clearly โ€” The mic is always listening
  2. Be natural โ€” "Hey, open the calculator please" works!
  3. Try variations โ€” "launch", "start", "play", "open" all work
  4. Use filler words โ€” It ignores "please", "hey", "the", etc.
  5. Calculator โ€” Just ask math questions naturally
  6. Paint โ€” Command it to draw shapes, numbers, or objects

๐ŸŒŸ Highlights

โœ… Voice-controlled everything โ€” Open apps, close apps, calculate, draw, add todos
โœ… Unbeatable Tic Tac Toe AI โ€” Challenge the Minimax algorithm
โœ… Real battery status โ€” Shows your actual laptop battery
โœ… Audio visualizer โ€” Beautiful real-time music visualization
โœ… Smart preloading โ€” All assets loaded for smooth experience
โœ… Natural language โ€” Talk to it like JARVIS!


๐Ÿ“ธ Screenshots

Desktop Environment

Beautiful desktop with multiple windows, dock, and voice assistant

Voice-Controlled Apps

Speak commands to control everything โ€” just like Iron Man's JARVIS!

Games & Productivity

From Snake to Tic Tac Toe, Notes to Calendar โ€” everything you need


๐Ÿค Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests
  • Improve documentation

๐Ÿ“„ License

This project is open source and available under the MIT License.


๐Ÿ‘จโ€๐Ÿ’ป Author

Soham Dave


Windows Calendar Files Notes

Built with โค๏ธ and React

"Your personal JARVIS awaits โ€” just say the word!" ๐ŸŽคโœจ

About

Web-based Visual Experience of Jarvis Enabled OS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages