{"id":48824689,"url":"https://github.com/wasteddreams/preheat-linux","last_synced_at":"2026-04-14T17:31:41.184Z","repository":{"id":328643168,"uuid":"1116230839","full_name":"wasteddreams/preheat-linux","owner":"wasteddreams","description":"Adaptive Linux readahead daemon that reduces application cold-start times by 30–60% using intelligent preloading. Designed for Debian-based systems with systemd.","archived":false,"fork":false,"pushed_at":"2026-01-01T06:12:40.000Z","size":526,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T18:17:28.602Z","etag":null,"topics":["c","daemon","debian-linux","kali-linux","linux","performance","preload","slow-device","speed","systemd","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasteddreams.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-14T13:13:31.000Z","updated_at":"2026-01-01T06:12:43.000Z","dependencies_parsed_at":"2026-01-01T16:01:43.191Z","dependency_job_id":null,"html_url":"https://github.com/wasteddreams/preheat-linux","commit_stats":null,"previous_names":["wasteddreams/kali-preload","wasteddreams/preheat"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/wasteddreams/preheat-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasteddreams%2Fpreheat-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasteddreams%2Fpreheat-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasteddreams%2Fpreheat-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasteddreams%2Fpreheat-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasteddreams","download_url":"https://codeload.github.com/wasteddreams/preheat-linux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasteddreams%2Fpreheat-linux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31808505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","daemon","debian-linux","kali-linux","linux","performance","preload","slow-device","speed","systemd","ubuntu"],"created_at":"2026-04-14T17:31:40.342Z","updated_at":"2026-04-14T17:31:41.177Z","avatar_url":"https://github.com/wasteddreams.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Preheat — Linux Application Preload Daemon\n\n[![Typing SVG](https://readme-typing-svg.demolab.com?font=Fira+Code\u0026weight=500\u0026size=18\u0026duration=3000\u0026pause=1000\u0026color=F7931A\u0026center=true\u0026vCenter=true\u0026width=450\u0026lines=Predict+%E2%80%A2+Preload+%E2%80%A2+Perform;Adaptive+readahead+daemon;30-60%25+faster+cold+starts)](https://github.com/wasteddreams/preheat-linux)\n\n[![License: GPL v2](https://img.shields.io/badge/License-GPL_v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)\n[![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux\u0026logoColor=black)](https://www.kernel.org/)\n[![Systemd](https://img.shields.io/badge/Systemd-Ready-green?logo=systemd\u0026logoColor=white)](https://systemd.io/)\n[![Performance](https://img.shields.io/badge/Speedup-30--60%25-orange?logo=speedtest\u0026logoColor=white)]()\n[![🎁 Easter Egg](https://img.shields.io/badge/🎁-Click_Me-purple)](https://www.youtube.com/watch?v=dQw4w9WgXcQ)\n\n*Can reduce application cold-start times by 30–60% on HDD-based systems*\n\n\u003c/div\u003e\n\nPreheat is a lightweight Linux preload daemon that predicts and preloads application files to reduce cold-start times on HDD and low-resource systems. It is a userspace performance daemon, not a kernel module, and works on any systemd-based Linux distribution.\n\n---\n\n## Motivation\n\nI dual-boot Kali Linux with Windows. These days, I use Kali a lot more since I'm learning cybersecurity.\n\nMy laptop isn't new, and Kali runs on an HDD, so after a cold boot, things can feel slow. Opening a browser, a terminal, or other tools I use all the time takes longer than it should. What annoyed me was that the system usually had free RAM, but it wasn't being used for anything useful.\n\nI'd heard of [preload](https://pkgs.org/download/preload) before, and the idea clicked. If I keep opening the same applications every day, the system should notice that and prepare for it. Instead of just installing something and moving on, I decided to try building my own version to understand how it works and learn more about Linux internals.\n\nAround that time, I came across Antigravity and the whole \"vibe coding\" approach, which pushed me to experiment more and move faster without overthinking everything upfront. That helped me take this beyond a rough experiment and actually turn it into something stable. I was able to build and iterate on system-level behavior while keeping the rest of the system untouched, which was important to me.\n\nThat's how Preheat came about. It's a small daemon that watches what I use, learns from it, and preloads things it thinks I'll open next. Nothing fancy, nothing hidden. You can see what it's doing and why.\n\nIt started as something I built for my own setup, but it turned out useful enough that I decided to clean it up and share it.\n\n---\n\n## Quick Start\n\n```bash\n# Clone and install\ngit clone https://github.com/wasteddreams/preheat-linux.git\ncd preheat-linux\nsudo ./setup.sh install\n\n# Verify\npreheat-ctl status\n```\n\n→ [Full Installation Guide](docs/installation.md)\n\n---\n\n## Features (v1.0.2)\n\n| Feature | Description |\n|---------|-------------|\n| Two-tier tracking | Priority pool (user apps) vs Observation pool (system) |\n| Session-aware boot | Aggressive 5-min preload window on login |\n| Smart seeding | Immediate value from XDG/shell history |\n| Pool management | `promote`, `demote`, `show-hidden`, `reset` |\n| Health checks | `health`, `explain`, `stats --verbose` |\n| Single-instance | PID file locking prevents duplicate daemons |\n\n---\n\n## How Preheat Differs from preload\n\n- Session-aware learning instead of static heuristics\n- Two-tier pool separation (user vs system apps)\n- Transparent decision explanations (`preheat-ctl explain`)\n- Designed for modern systemd environments\n\n---\n\n\u003e [!WARNING]\n\u003e **Snap applications are NOT supported.** Ubuntu's snap packages (Firefox, Chromium, etc.) run in an AppArmor sandbox that blocks the daemon from tracking them. If you use Ubuntu 22.04+, consider installing apps via `apt` or Flatpak instead. See [Known Limitations](docs/known-limitations.md) for details.\n\n## Essential Commands\n\n```bash\npreheat-ctl status              # Daemon status\npreheat-ctl health              # Quick health check\nsudo preheat-ctl stats          # Hit rate \u0026 statistics\npreheat-ctl explain firefox     # Decision reasoning\nsudo preheat-ctl promote code   # Always preload this app\n```\n\n→ [CLI Reference](docs/api-reference.md)\n\n---\n\n## How It Works\n\n**SCAN** `/proc` → **LEARN** patterns → **PREDICT** scores → **PRELOAD** to cache\n\n*A continuous feedback loop that adapts to your usage patterns.*\n\n→ [Detailed Explanation](docs/how-it-works.md)\n\n---\n\n## Performance\n\n| Metric | Value |\n|--------|-------|\n| Startup improvement | 30-60% for frequent apps |\n| Daemon memory | ~5-10 MB RSS |\n| CPU overhead | \u003c 1% |\n\n---\n\n## Project Status\n\nPreheat is stable for daily use and actively tested on Kali and Debian-based systems.\n\n---\n\n## Documentation\n\n| Getting Started | Reference |\n|-----------------|-----------|\n| [Installation](docs/installation.md) | [Configuration](docs/configuration.md) |\n| [Quick Start](docs/quick-start.md) | [API Reference](docs/api-reference.md) |\n| [How It Works](docs/how-it-works.md) | [Troubleshooting](docs/troubleshooting.md) |\n\n---\n\n## Acknowledgments\n\n- Inspired by the original [preload](https://sourceforge.net/projects/preload/) project\n- Built with [Antigravity](https://antigravity.google/) using Claude Opus 4.5 Thinking and Claude Sonnet 4.5 Thinking\n\n---\n\n## License\n\nGPL v2 — See [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasteddreams%2Fpreheat-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasteddreams%2Fpreheat-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasteddreams%2Fpreheat-linux/lists"}