You are browsing as a guest. Sign up (or log in) to start making projects!

chaitanya57313

@chaitanya57313

Joined June 3rd, 2026

  • 6Devlogs
  • 4Projects
  • 2Ships
  • 15Votes
Hey I'm Chaitanya. I'm learning python and ui. I try to make cool stuff that solves problems we all face daily. :3
Open comments for this post

4h 37m 14s logged

Devlog: Ghost Mode — Phase 1 (Base UI & Core Detection)📅 Date: July 11, 2026🏁 Status: CompletedAfter spending the past few days building the groundwork, Phase 1 of Ghost Mode is officially done. The goal wasn’t to build flashy features yet—it was to create a solid foundation that won’t become a headache later.What got builtI restructured the project into a clean, modular architecture with separate layers for models, face detection, background services, and the UI.

Keeping everything decoupled now should make future features much easier to add.On the performance side, I built a multithreaded camera pipeline using Qt’s QThread.

Camera capture, MediaPipe face detection, and frame processing all happen off the main UI thread, so the interface stays smooth while processing frames at around 30 FPS.

The UI is heavily inspired by Raycast’s clean aesthetic—a dark theme, rounded corners, subtle borders, sidebar navigation, and custom controls.The camera preview is also custom-built. It preserves the camera’s aspect ratio, clips everything into a modern rounded container, and draws animated glowing face boxes with futuristic corner accents whenever a face is detected.

To make the app feel more alive, I also added a state-based status indicator that switches between Offline, Scanning, and Face Detected, complete with pulsing status dots.Interesting problems I ran intoOne issue was PySide6’s QImage.
Since it references raw NumPy memory, sending frames directly between threads can easily lead to crashes if that memory gets freed before the UI finishes rendering.The fix was simple but important: create a deep copy of the image before emitting it from the worker thread.

It costs a tiny bit of memory but makes the pipeline completely thread-safe.Another challenge was mapping MediaPipe’s normalized face coordinates onto a resized camera preview.
Instead of stretching the video, the preview scales while maintaining aspect ratio, so I had to convert normalized coordinates into the preview’s actual pixel space to keep the detection boxes perfectly aligned.
I also spent some time dealing with camera switching and macOS camera permissions.

Adding mutex guards around runtime camera changes eliminated the small freezes I was seeing when swapping devices.TestingI wrote unit tests for the core data models and mocked the MediaPipe detector to verify face coordinate parsing.

Results: ✅ 5 tests passed (with 2 warnings).I also did a full smoke test to make sure the application starts correctly and every module hooks together as expected.

What’s next?
With the camera pipeline, UI, and real-time face detection working, the groundwork is finally in place.

Phase 2 is where Ghost Mode starts getting interesting: Owner Enrollment. The app will learn who the device owner is and begin distinguishing them from everyone else.

0
0
1
Ship

Spotlight is a lightweight windows search engine.
To use the actual version, you'll need to download and run the python files from my github. (I am going to make an installer soon!!!). You can also try the front end demo web verison.

  • 1 devlog
  • 14h
  • 10.28x multiplier
  • 103 Stardust
Try project → See source code →
Open comments for this post

13h 35m 16s logged

SPOTLIGHT - PHASE 1 SUMMARY

Spotlight is a Windows launcher built using Python that allows users to quickly search and launch applications and files using the Alt + Space shortcut. The goal of Phase 1 was to create a fast, reliable and expandable foundation instead of a simple prototype.

The project contains 34 files and around 2100 lines of Python code. It follows a modular architecture where each component has a specific responsibility, making the application easier to maintain, test and expand in future phases.

The utilities layer stores constants, logging functions and helper functions. Constants such as search limits and window dimensions are stored in one place, while a debouncer reduces unnecessary searches when users type quickly.

The models layer contains data structures used throughout the application. These include search results, launch history and application settings.

The core engine is the most important part of Spotlight. The Cache Manager handles all database operations using SQLite and prevents the interface from freezing. The File Indexer scans folders, ignores unnecessary directories and monitors file changes automatically. The Search Engine combines SQL filtering with fuzzy matching to provide accurate search results. The Command Runner launches files and applications, while the Settings Manager saves user preferences. The Launcher connects all components together.

The services layer discovers installed applications from the Windows Start Menu, extracts their icons and manages global keyboard shortcuts.

The user interface consists of a floating, frameless search window inspired by Windows 11. It includes a search bar and a list of results showing icons, titles and categories. Users can navigate entirely with the keyboard using arrow keys, Enter and Escape.

The application uses a simple design system with a dark theme, one orange accent colour and subtle animations to create a polished appearance without distractions.

During development, an important bug was discovered. The search engine originally filtered results using the entire query, causing spelling mistakes to fail. This was fixed by filtering only the first one or two letters before applying fuzzy matching. As a result, searches with minor mistakes can still find the correct files.

Several advanced features were intentionally postponed to future phases. These include file previews, a settings window, clipboard history, plugins, calculators and natural language commands.

Performance was also prioritised. The application is designed to launch in under one second, provide search responses in under 50 milliseconds, use minimal CPU power and consume less than 150 MB of RAM.

Overall, Phase 1 successfully creates a fast, stable and scalable foundation that can support more advanced features in future versions without requiring major redesigns.

0
0
1

Followers

Loading…