{"id":25084193,"url":"https://github.com/cedlemo/OCaml-GObject-Introspection","last_synced_at":"2025-10-22T05:30:42.287Z","repository":{"id":19086987,"uuid":"86165158","full_name":"cedlemo/OCaml-GObject-Introspection","owner":"cedlemo","description":"OCaml bindings to GObject-Introspection based on OCaml-Ctypes.","archived":false,"fork":false,"pushed_at":"2022-03-31T12:53:16.000Z","size":2488,"stargazers_count":17,"open_issues_count":5,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-25T16:51:14.346Z","etag":null,"topics":["ctypes","ffi-bindings","gobject-introspection","ocaml","ocaml-bindings"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedlemo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-25T14:56:53.000Z","updated_at":"2023-12-08T18:59:54.000Z","dependencies_parsed_at":"2022-07-18T23:18:24.626Z","dependency_job_id":null,"html_url":"https://github.com/cedlemo/OCaml-GObject-Introspection","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedlemo%2FOCaml-GObject-Introspection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedlemo%2FOCaml-GObject-Introspection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedlemo%2FOCaml-GObject-Introspection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedlemo%2FOCaml-GObject-Introspection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedlemo","download_url":"https://codeload.github.com/cedlemo/OCaml-GObject-Introspection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237604122,"owners_count":19337254,"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":["ctypes","ffi-bindings","gobject-introspection","ocaml","ocaml-bindings"],"created_at":"2025-02-07T06:46:28.458Z","updated_at":"2025-10-22T05:30:36.409Z","avatar_url":"https://github.com/cedlemo.png","language":"OCaml","funding_links":[],"categories":["Libraries And Frameworks"],"sub_categories":["OCaml and ReasonML"],"readme":"[![Build Status](https://travis-ci.org/cedlemo/OCaml-GObject-Introspection.svg?branch=master)](https://travis-ci.org/cedlemo/OCaml-GObject-Introspection)\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\n\n# gobject-introspection OCaml package\n\nThe OCaml bindings to the [GObject-Introspection](https://gi.readthedocs.io/en/latest/index.html) library based on Ctypes.\n\n## Installation\n\nthe package gobject-introspection is now published and available in the opam-repository:\n\n```\nopam install gobject-introspection\n```\n\n## API:\n\nhttps://cedlemo.github.io/OCaml-GObject-Introspection/\n\n## Usage\n\nTwo ideas to explore:\n\n - Create a generic Ctypes bindings generator, based on ocaml-gobject-introspection,\n   for the GNOME libraries : https://github.com/cedlemo/OCaml-GI-ctypes-bindings-generator\n\n - Create a generic FFI bindings generator for bucklescript in order to be able to\n   use the javascript bindings to the GNOME libraries. (I am not sure if it is\n   faisable).\n\n   - https://devdocs.baznga.org/\n   - https://bucklescript.github.io/bucklescript/Manual.html#_ffi\n   - https://github.com/glennsl/bucklescript-ffi-cheatsheet\n   - https://github.com/Place1/node-gir\n\n## Wiki :\n\nhttps://github.com/cedlemo/OCaml-GObject-Introspection/wiki#introduction\n\n###  table of content.\n\n- [Introduction](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#introduction)\n- [Implementation details](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#implementation-details)\n  - [GObjectIntrospection Info Structures hierarchy and type coercion functions](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#gobjectintrospection-info-structures-hierarchy-and-type-coercion-functions)\n  - [How the underlying C structures allocation and deallocation are handled](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#how-the-underlying-c-structures-allocation-and-deallocation-are-handled)\n  - [Progress](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#progress)\n    - [Finished](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki/#finished)\n    - [Remains](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki/#remains)\n  - [Resources](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki/#resources)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedlemo%2FOCaml-GObject-Introspection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedlemo%2FOCaml-GObject-Introspection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedlemo%2FOCaml-GObject-Introspection/lists"}