{"id":19052829,"url":"https://github.com/dfhack/hooks","last_synced_at":"2026-06-19T08:01:45.649Z","repository":{"id":71139335,"uuid":"581705205","full_name":"DFHack/hooks","owner":"DFHack","description":"Shim code compiled into DF that loads and calls DFHack","archived":false,"fork":false,"pushed_at":"2022-12-27T19:33:27.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-11-12T08:25:57.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DFHack.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-12-24T02:37:01.000Z","updated_at":"2023-01-15T00:03:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"1bb44e79-0f6b-4658-9b0c-ddd6dee1e54a","html_url":"https://github.com/DFHack/hooks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DFHack/hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DFHack","download_url":"https://codeload.github.com/DFHack/hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fhooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34522042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T23:28:10.301Z","updated_at":"2026-06-19T08:01:45.624Z","avatar_url":"https://github.com/DFHack.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hooks\n\nShim code compiled into DF `g_src` that loads and calls a \"dfhooks\" library located\nin the root DF game directory. If a \"dfhooks\" library cannot be found or loaded, or\nif it does not provide the specific API call that the hook is looking for, the shim\nwill return immediately and have no effect.\n\nThe shim will pass calls through to a library named according to the convention of\nthe host platform it was compiled for:\n\n- `dfhooks.dll` (Windows)\n- `libdfhooks.so` (Linux)\n- `libdfhooks.dylib` (OSX)\n\nThis shim code is released into the public domain. See `LICENSE` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfhack%2Fhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfhack%2Fhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfhack%2Fhooks/lists"}