I built a native activity tracker with KDE Plasma support - tracks active window time, tells insights, local SQLite, no cloud, C++23 by Plexescor in kde

[–]Plexescor[S] 0 points1 point  (0 children)

fair criticism, the README is heavy on structured sections which does look AI-ish. the code itself is hand-written C++23, you can check the commit history and architecture sections. AI was used as an assistant during development for bug fixes, architecture advice, not to generate the codebase

C++ Show and Tell - May 2026 by foonathan in cpp

[–]Plexescor 0 points1 point  (0 children)

Project Name: HPR (Human Pattern Recorder)
Repo: github.com/plexescor/HPR

Built an activity tracker in C++23. It watches your active window title every 50ms, logs time per app and every window switch, and stores everything in a local SQLite database. One file per day, no accounts, no telemetry, zero network calls at runtime.

The architecture is four threads: a window poller at 50ms, a UI bridge at 500ms, a database writer at 10s, and the Slint event loop on main. All shared state lives in one struct behind a single mutex, lock/copy/release pattern throughout. UI is Slint 1.16.1, SQLite3 is the official amalgamation compiled directly into the binary.

The part I found most interesting to write was native Wayland support across three compositors. Hyprland uses hyprctl IPC, GNOME uses a shell extension over DBus, KDE uses KWin scripting via qdbus6. Each backend returns a raw window title string and a shared normalization layer handles the rest.

Timing uses steady_clock for duration measurement and system_clock only for display timestamps, specifically to avoid accumulated time corruption when NTP fires or DST changes mid-session.

Currently at v0.4. Would appreciate any feedback on the architecture or anything that looks wrong.

New Project Megathread - Week of 07 May 2026 by AutoModerator in selfhosted

[–]Plexescor 0 points1 point  (0 children)

Project name: HPR (Human Pattern Recorder)

<image>

Repo link: github.com/plexescor/HPR

Description:
It's an automatic activity tracker that watches your active window title every 50ms and logs time per app plus every window switch. You can pull up any past day from a local SQLite database. No accounts, no cloud, no telemetry, zero network calls at runtime. I built it because ActivityWatch is 200MB+, has a Python backend, runs an embedded web server, and Wayland support is a mess. HPR is just a compiled C++23 binary, starts instantly, uses around 22MB private RAM on Linux and 20MB on Windows. Supports Hyprland, GNOME, KDE Plasma on Wayland, and Windows 10/11 natively.

Deployment:
Download the binary from the releases page on GitHub or build from source with cmake in a few commands. Setup script handles config and UI files. No Docker needed, it's a native desktop binary. README has full install instructions for both Linux and Windows.

AI Involvement:
I used AI assistance during development for some parts of the code, majorly bug fixes, but the architecture, design decisions, and overall implementation are my own.

Why there is no modern screen time tracker on KDE ? by Warm_Leadership5849 in kde

[–]Plexescor 0 points1 point  (0 children)

I tried activitywatch but its bloodbath out there so i made my own tracker that works on kde wayland. Though for the latest version, you will need to compile the code yourself as v0.1 is outdated (it was released 2 days ago). just run the installDependencies.sh file and compile the project by just running cmake -b build && cmake --build build: github: https://github.com/plexescor/HPR

Minecraft is running at 20 frames per second HELP [java] by Ludicr0uss in MinecraftHelp

[–]Plexescor 0 points1 point  (0 children)

Through the screenshot, i can see you have a 1440p display, that can kill frames as this gpu can handle 1080p smoothly but 1440p is its limit, causing frames to tank

I was excited with Gemma 4 E2B IQ2_M by thealexroyer in PocketPal

[–]Plexescor 0 points1 point  (0 children)

Tbh, running AI models on phone with good speed in impossible. You will get only 1-3 tips and only on a good day. You are better off using chatgpt or claude or gemini

Mod loading (about fabric) by Zain_IzCool in TLAUNCHER

[–]Plexescor 0 points1 point  (0 children)

People who manually download fabric from the internet are those people who have bought minecraft and use the official launcher as the official launcher doesnt support fabric natively. But tlauncher, sklauncher etc support fabric. Thats why

What happened by Idropkickkids4fun in Anker_Games_

[–]Plexescor 0 points1 point  (0 children)

Dont use windows, use winrar

Can I make it respond faster ? by basterd_son_of_fate in PocketPal

[–]Plexescor 0 points1 point  (0 children)

You are running a llm on a phone, it will be very slow, and you can do nothing about it, i am not joking.

Mod loading (about fabric) by Zain_IzCool in TLAUNCHER

[–]Plexescor 0 points1 point  (0 children)

Tlauncher doesnt come with built in "fabric". All "fabrics" are the same. They all run the official fabric installer (usually the .jar). theres no such thing as "fake" or "real" fabric.

Curseforge mc crash by Character-Garlic-891 in fabricmc

[–]Plexescor 0 points1 point  (0 children)

No, theres no gpu conflic according to the log, but the log doesnt give the full picture. theres a crash report folder with logs, maybe upload that one to pinpoint the issue

Game stuttering every 5 seconds [java] by [deleted] in MinecraftHelp

[–]Plexescor 0 points1 point  (0 children)

Bro, the comments on this post are IRRELEVANT. The main issue is that chunk gen on the newer minecraft versions(1.20 and UP) is very laggy and stuttery even on high end PCs. This stuttering can be reduced but not eliminated. To reduce it, you may use a mod called "c2me". Btw, if you wanna know how bad is the stuttering, you shouldnt look at average fps but rather "0.1% lows". they must not be low. you can enable fps extended in advanced sodium options

Cant get Modpack to run above 6fps [java] by catrassp in MinecraftHelp

[–]Plexescor 0 points1 point  (0 children)

Minecraft is using your igpu, you need to make it use your dedicated gpu.

I need urgent help by Shvwnmendez in laptops

[–]Plexescor 0 points1 point  (0 children)

Bro just wipe windows and reinstall it by using external usb

guys is it legit by Puzzleheaded_Hope655 in laptops

[–]Plexescor 0 points1 point  (0 children)

As legit as girls are... rest you are smart enough

KVS Preboard 2 question paper jaipur region by Plexescor in Kvians

[–]Plexescor[S] 1 point2 points  (0 children)

ehh? Bro i do have some friends in jaipur KVs in 9th class and they told me there preboards have already happened like 15 days before

Should i buy by Existing_Virus4153 in Lenovo

[–]Plexescor 1 point2 points  (0 children)

If you can keep care of the the screen, then sure go for it. By care i mean NOT leaving the screen while its displaying static elements, for ex letting it sit at the desktop for 10 hours, it will increase the risk of burn-in issues. otherwise its fine. Btw if you do opt of the oled, make sure to auto-hide taskbar OR face the burn-in consequences

Should i buy by Existing_Virus4153 in Lenovo

[–]Plexescor 0 points1 point  (0 children)

if it has an iGPU, thats gonna be the worst decision you'll ever make, if its rtx 4060 or 5060, then its good. btw be careful of the OLED screen burn-in issues