Skip to content
All projects

Friendly Computer Cat: OS-Level Pomodoro Enforcer & Session Tracker

A native, hardware-level focus enforcer and Pomodoro tracker. Utilizes low-level Win32 hooks to physically lock peripheral input during mandatory rest cycles, breaking hyper-focus loops while persisting historical work session data via an SQLite backend.

Performance & metrics

  • Near-zero idle CPU overhead due to native C/C++ execution and tightly optimized render loops
  • Absolute zero UI blocking during heavy I/O database operations or GIF decoding via strict thread isolation
  • Custom doubly linked list (LinkedList.h) ensures minimal heap fragmentation and stable memory footprints during history pagination

Why I built it

Standard productivity timers are easily bypassed and rely entirely on user discipline. I engineered this tool to solve a personal pain point: hyper-focusing and losing track of time during deep development sessions. By injecting low-level keyboard and mouse hooks into the Windows message queue, the app physically forces the user to step away from the computer until the break cycle completes. It is highly effective for engineers or individuals with ADHD or OCD, breaking the hyper-focus loop to prevent cognitive burnout while automatically logging all completed tasks so users can review their productivity history.

Architecture & decisions

The system is architected across a strict C/C++ language boundary. The frontend is a highly responsive, custom immediate-mode GUI built with Raylib in C, utilizing pthread for non-blocking asynchronous asset decoding. The backend persistence layer is written in modern C++, wrapping SQLite3 with full transaction safety and utilizing spdlog for systemic logging. To bridge the ABI gap, a bespoke C-wrapper explicitly exposes the C++ database object methods to the C GUI, passing memory-safe structs mapped via a custom doubly linked list implementation.

Key features

  • Hardware-level peripheral locking via Win32 WH_KEYBOARD_LL and WH_MOUSE_LL global hooks
  • Persistent session tracking and historical data logging via SQLite to visualize completed work intervals
  • Asynchronous UI and asset loading pipelines using pthread to prevent frame drops
  • C/C++ interoperability layer exposing modern C++ SQLite transactions to the C frontend
  • Failsafe hardware interrupt sequence (CTRL+ALT+SHIFT+Q) mapped directly to the keyboard hook

Technical review

This project serves as a masterclass in C/C++ interoperability and OS-level manipulation, functioning as both a strict system utility and an accessibility tool. By isolating the database and logging logic in modern C++ and exposing it via a strict C ABI, the project maintains memory safety while allowing the Raylib frontend to render at maximum frame rates. The implementation of Windows API hooks reliably intercepts and discards user-space input, effectively mitigating mental exhaustion, while the integrated SQLite database ensures all focus sessions are meticulously recorded for historical review.

Backend & API

Modern C++26 Chat Server Template: CMake, Ninja, GCC and vcpkg

A C++26 distributed system template that builds with the same commands on Windows and Linux. It ships with a CORS-enabled REST API, a full-duplex WebSocket chat server, end-to-end encrypted rooms with AES-256-GCM, persistent messages in SQLite, Tor SOCKS5 support and Catch2 unit tests.

  • C++
  • PowerShell
  • Boost.Beast
  • +11

Networking & Protocols

Private

Major project

Cyberia & Wired Protocol

A secure, decentralized operating system and network layer built on Wired — a custom, high-performance communication protocol. Instead of HTTP, it uses a mutually encrypted TCP handshake and AES-encrypted WebSocket payloads for strong data confidentiality.

  • Rust
  • C++
  • Tauri
  • +6

Malware Analysis

Ferivonica (System Internals)

Experimental software that analyzes system behavior using the Windows Hook API, processes keyboard/mouse inputs, and demonstrates reverse engineering capabilities.

  • C++
  • Windows API
  • Win32 Hooking

Need something similar?

I can build a system like this for you, too.

Describe your project in a few sentences, and we'll work out the right approach and an estimated scope together.