{"id":17477926,"url":"https://github.com/arunanshub/preload","last_synced_at":"2025-10-16T03:02:07.035Z","repository":{"id":105091530,"uuid":"409847829","full_name":"arunanshub/preload","owner":"arunanshub","description":"preload is an adaptive readahead daemon that prefetches files mapped by applications from the disk to reduce application startup time.","archived":false,"fork":false,"pushed_at":"2023-12-15T02:59:59.000Z","size":89,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T23:20:00.209Z","etag":null,"topics":["linux","prefetch","preload","readahead","speedup"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arunanshub.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-24T05:52:43.000Z","updated_at":"2024-08-03T19:28:19.000Z","dependencies_parsed_at":"2023-12-15T03:49:12.565Z","dependency_job_id":"3a1b2f21-3ee4-474f-93fa-899cea42f00c","html_url":"https://github.com/arunanshub/preload","commit_stats":{"total_commits":69,"total_committers":2,"mean_commits":34.5,"dds":0.04347826086956519,"last_synced_commit":"58d1a62f289fce80b7b1baf2532bedc00edf4f36"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fpreload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fpreload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fpreload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fpreload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arunanshub","download_url":"https://codeload.github.com/arunanshub/preload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249259146,"owners_count":21239422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["linux","prefetch","preload","readahead","speedup"],"created_at":"2024-10-18T20:10:12.571Z","updated_at":"2025-10-16T03:02:06.963Z","avatar_url":"https://github.com/arunanshub.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ℹ️ Check out https://github.com/arunanshub/preload-rs for preload implemented in Rust\n\n# preload\n\n\u003e This is currently a WIP\n\nThis preload is a clone of [Behdad Esfahbod's preload](http://preload.sf.net).\nThe only difference is that this project uses [`meson`](https://mesonbuild.com)\nas its build system.\n\nNote that this is a work in progress. So, if you're going to use it, make sure\nthat you check [`meson.build`](/meson.build) first.\n\nConfiguration file for `preload` is generated from buildfile (`meson.build`)\nitself.\n\n## Building\n\nIt is highly recommended that you use `prefix` as `/usr`.\n\nThe proper way to build is:\n\n```bash\nmeson build --prefix=/usr\n# ...\nninja -C build\n```\n\nEven if you don't use `--prefix`, it is `/usr` by default.\n\n### Manpage Generation\n\nOptionally, you'd require `help2man` for dynamic manpage generation, which is\nhandled directly by Meson.\n\n## Testing\n\nSince `preload` is an executable, the tests are defined in a bash script\n[`runtests.sh`](/runtests.sh), and are run via `meson`.\n\nYou can use\n\n```sh\nninja -C build test\n```\n\nor\n\n```sh\nmeson test -C build\n```\n\nto run the tests.\n\n## Why `meson`?\n\n- Because it is easier to configure.\n- Also because I hate Make, CMake and all other shit.\n- Also because I had no intention to understand how the author's build config\n  worked/works.\n- Because I wanted a cleaner codebase.\n\n## Style Guide\n\n[Chromium Style Guide](https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/c++/c++.md)\nis used with some minor modifications:\n\n- Maximum column length: 79\n- Indent width: 4\n\nUse this to generate a `.clang-format` file:\n\n```bash\nclang-format \\\n    -style=\"{BasedOnStyle: Chromium, ColumnLimit: 79, IndentWidth: 4}\" \\\n    --dump-config \u003e .clang-format\n```\n\nCheck [Mesonbuild's guide on `clang-format`](https://mesonbuild.com/Code-formatting.html)\nfor more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunanshub%2Fpreload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farunanshub%2Fpreload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunanshub%2Fpreload/lists"}