{"id":19052825,"url":"https://github.com/dfhack/dfhooks","last_synced_at":"2025-06-11T05:32:42.546Z","repository":{"id":234869449,"uuid":"789658430","full_name":"DFHack/dfhooks","owner":"DFHack","description":"DF hook chainloader","archived":false,"fork":false,"pushed_at":"2025-03-07T23:18:59.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T00:23:49.871Z","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":"mit","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":"2024-04-21T07:23:01.000Z","updated_at":"2025-03-07T23:19:02.000Z","dependencies_parsed_at":"2024-04-21T08:45:56.995Z","dependency_job_id":"a1a9e996-4066-4d8a-b821-34f5849f2f78","html_url":"https://github.com/DFHack/dfhooks","commit_stats":null,"previous_names":["dfhack/dfhooks"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fdfhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fdfhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fdfhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fdfhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DFHack","download_url":"https://codeload.github.com/DFHack/dfhooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFHack%2Fdfhooks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259207417,"owners_count":22821662,"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":[],"created_at":"2024-11-08T23:28:09.623Z","updated_at":"2025-06-11T05:32:42.263Z","avatar_url":"https://github.com/DFHack.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dfhooks\nDwarf Fortress dfhooks API chainloader.\n\nThis library implements the dfhooks API as (defacto) defined in the DF\n[g\\_src](https://github.com/Putnam3145/Dwarf-Fortress--libgraphics--/blob/master/g_src/dfhooks.cpp)\nsources and propagates the calls to other libraries that similarly implement\nthe API.\n\nThose libraries must also be installed in the top-level Dwarf Fortress game\ndirectory and conform to the following per-platform naming scheme:\n\n- Windows: `dfhooks_{name}.dll` (e.g. `dfhooks_mylib.dll`)\n- Linux: `libdfhooks_{name}.so`\n- MacOS: `libdfhooks_{name}.dylib`\n\nIn addition to the symbols required by the dfhooks API, a library can also\nexport a `dfhooks_priority` symbol, which must be of type `int32_t`. Libraries\nwith lower values in the exported `dfhooks_priority` will be called first when\ncallbacks are propagated, except for shutdown, for which libraries with lower\nvalues will be called last. If a library does not export a priority, the value\n0 is used.\n\nIf you need to position yourself relative to DFHack, DFHack exports a priority\nof 100.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfhack%2Fdfhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfhack%2Fdfhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfhack%2Fdfhooks/lists"}