Skip to content

nishantharkut/Hogwarts-OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง™โ€โ™‚๏ธ Hogwarts OS โ€“ A Magical Linux-Based Operating System

Welcome to Hogwarts OS, a fully immersive and wizardry-themed operating system built on top of Linux Mint Cinnamon 21.3 edition. Inspired by the world of Harry Potter, this project reimagines the computing experience with a unique blend of custom themes, spell-based terminal commands, AI-powered tools, gamification, and interactive visuals.

Developed as part of the Hackanovate Hackathon at ABES Institute, Hogwarts OS is designed to combine fun, functionality, and fantasy for all magic and tech enthusiasts.


๐Ÿงฉ Problem Statement

Most operating systems offer a generic, monotonous user experience, especially for creative users and students who crave engagement, personalization, and intuitive design.

Hogwarts OS solves this by:

  • โœจ Turning the entire OS into a magical universe with house-based personalization.
  • ๐Ÿง  Embedding AI-powered tools for intuitive interactions.
  • ๐Ÿงช Introducing gamification, XP, and unlockables to make computing enjoyable and rewarding.
  • ๐Ÿ’ป Offering both a full OS experience and installable modules, making it versatile for all users.

โœจ Key Features

Feature Description
๐Ÿง™ Sorting Hat on First Login Assigns a Hogwarts House (Gryffindor, Ravenclaw, Hufflepuff, or Slytherin) via random choice or quiz, dynamically applying matching themes, wallpapers, and system sounds.
๐Ÿ—บ๏ธ Marauderโ€™s Map File Explorer Electron-based custom file explorer with parchment UI, spell-based navigation, XP unlocking, folder animations, and Agent AI for semantic search and smart file organization.
๐Ÿ”ฅ House-Themed Common Room Desktop A fullscreen control panel with animated fireplace, house points tracker, Daily Prophet widget, Owl Post notifications, and ambient visuals.
โœจ Spell-Based Terminal Replace boring commands with magical spells like Lumos (light mode), Nox (dark mode), Accio (search), Evanesco (delete), Expelliarmus (kill process), and more.
๐Ÿ“ฌ Owl Post Notification System System notification system with parchment-styled popup UI and owl sounds for alerts, messages, and system events.
๐Ÿงช Potion Brewing App Installer An animated app installer where users drag and drop โ€œingredientsโ€ (app components) to brew and install applications magically.
๐Ÿง  AI-Powered Portrait Assistant A living portrait built using Agent AI / Akash Chat API, providing help, commands, and interaction like Dumbledoreโ€™s enchanted frame.
๐Ÿ” Patronus Lock Screen Custom glowing Patronus-themed lock/login screen via GDM customization.
๐ŸŽฎ Gamification Layer Earn XP, unlock secret Hogwarts areas, track House Points, uncover hidden folders/passages, and access the Room of Requirement.
๐Ÿงน Secret Mode Switches Spell commands like Homenum Revelio (show users), Sectumsempra (force delete), and more.
๐Ÿง™โ€โ™€๏ธ Quidditch Mini-Game A fun Quidditch game built using Python & Pygame for entertainment.

๐Ÿงฐ Architecture Overview

  • Frontend: Electron (for file explorer & UI tools), HTML/CSS, GTK theming, Cinnamon customizations
  • Backend: Node.js (for Electron apps), Python (for AI, automation, games), Shell scripting
  • AI Integration: Agent AI / Akash Chat for smart assistant and search
  • System Customization: GDM, Plymouth, Grub, GNOME/GTK for visuals, startup logos, and lock screen

๐Ÿ“Œ Full system architecture diagram available in /docs/architecture.png


๐Ÿ› ๏ธ How to Use Hogwarts OS

We offer two flexible options for trying out Hogwarts OS:

๐Ÿง™โ€โ™‚๏ธ Option 1: Full Hogwarts OS (ISO File)

Get the ready-to-install Hogwarts OS ISO โ€“ a fully pre-configured Linux Mint distro with all features, themes, and magic built-in.

โœ… Best for immersive experience with everything out-of-the-box
โš ๏ธ Requires VirtualBox, bare metal, or a USB installer

๐Ÿ“ฅ Download Hogwarts OS ISO


๐Ÿงฉ Option 2: Modular App Installation on Linux Mint

Install individual magical components (Sorting Hat, Marauderโ€™s Map, Owl Post, etc.) on your existing Linux Mint system.

โœ… Best for developers and users who want to add only selected features
๐Ÿ’ก Each module comes with installation guide, setup script & dependencies

๐Ÿ“ Visit the modules/ folder to get started!


๐Ÿ“ Repository Structure

hogwarts-os/
โ”œโ”€โ”€ iso/                        # Complete OS build files (for full ISO)
โ”‚   โ”œโ”€โ”€ boot/                   # Bootloader files with Hogwarts branding
โ”‚   โ”œโ”€โ”€ casper/                 # Filesystem (squashfs) for live system
โ”‚   โ”œโ”€โ”€ preseed/                # Automated installation config (optional)
โ”‚   โ””โ”€โ”€ README.md               # Instructions for building from source
โ”‚
โ”œโ”€โ”€ modules/                   # Individual magical features/modules
โ”‚   โ”œโ”€โ”€ sorting-hat/           # House selection system
โ”‚   โ”œโ”€โ”€ marauders-map/         # Electron-based file explorer with AI
โ”‚   โ”œโ”€โ”€ owl-post/              # Notification system with owl-style popups
โ”‚   โ”œโ”€โ”€ potion-installer/      # Gamified app installer
โ”‚   โ”œโ”€โ”€ enchanted-portrait/    # AI Assistant with interactive portrait
โ”‚   โ”œโ”€โ”€ patronus-lockscreen/   # Custom login screen (GDM/SDDM)
โ”‚   โ””โ”€โ”€ quidditch-game/        # Mini-game built with Python & Pygame
โ”‚
โ”œโ”€โ”€ assets/                    # Wallpapers, icons, logos, sounds, animations
โ”‚   โ”œโ”€โ”€ wallpapers/
โ”‚   โ”œโ”€โ”€ icons/
โ”‚   โ”œโ”€โ”€ sounds/
โ”‚   โ””โ”€โ”€ animations/
โ”‚
โ”œโ”€โ”€ scripts/                   # Theme switchers, spell terminal, setup tools
โ”‚   โ”œโ”€โ”€ install.sh             # Full system setup script
โ”‚   โ”œโ”€โ”€ theme-switcher.sh      # Switch house themes manually
โ”‚   โ”œโ”€โ”€ spell-terminal.sh      # Spells mapped to terminal commands
โ”‚   โ””โ”€โ”€ startup-animation/     # Hogwarts startup logo and animation files
โ”‚
โ”œโ”€โ”€ docs/                      # Architecture diagrams, presentation, media
โ”‚   โ”œโ”€โ”€ architecture.png
โ”‚   โ”œโ”€โ”€ screenshots/
โ”‚   โ””โ”€โ”€ demo.mp4
โ”‚
โ”œโ”€โ”€ .github/                   # GitHub workflows and issue templates
โ”‚
โ”œโ”€โ”€ README.md                  # This file (project overview)
โ”œโ”€โ”€ LICENSE                    # MIT License
โ””โ”€โ”€ CONTRIBUTING.md            # Guidelines for contributors (optional)

๐Ÿงช Tech Stack

Stack Description
๐Ÿงฐ OS Base Linux Mint Cinnamon 21.3
๐ŸŽจ UI Electron, HTML, CSS, GTK, Plymouth
๐Ÿง  AI Agent AI, Akash Chat API
๐Ÿ Logic Node.js, Python, Bash
๐ŸŽฎ Game Python + Pygame
๐Ÿ–ผ๏ธ Graphics GIMP, Inkscape

๐Ÿ“ธ Screenshots


๐ŸŽฅ Demo Video

demo.video.2.mp4

๐Ÿ™Œ Team Credits

Project by: [CodeFusion / Members: Kanika Singhal | Nishant Harkut | Apeksha Jain]
Built with ๐Ÿ’› at Hackanovate Hackathon โ€“ ABES Institute of Technology


๐Ÿ›ก๏ธ License

This project is licensed under the MIT License.


โญ If you love magic + Linux, consider giving us a star!

About

Hogwarts' OS is our version of Linux mint which is completely based on the world of Harry Potter. From Boot-up to Daily usage, We have tried to make the Linux a beginner friendly OS (more than Windows).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors