{"id":18990581,"url":"https://github.com/baristalabs/chakrasharp","last_synced_at":"2025-04-22T11:17:24.444Z","repository":{"id":74447176,"uuid":"79391600","full_name":"BaristaLabs/ChakraSharp","owner":"BaristaLabs","description":"Mono/.NET bindings for ChakraCore","archived":false,"fork":false,"pushed_at":"2018-08-18T00:59:32.000Z","size":29,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-22T11:17:11.156Z","etag":null,"topics":["chakra","cppsharp","pinvoke"],"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/BaristaLabs.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":"2017-01-18T22:33:39.000Z","updated_at":"2024-05-08T14:56:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"42083489-da2f-4a4c-b018-939f68edf5af","html_url":"https://github.com/BaristaLabs/ChakraSharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaristaLabs%2FChakraSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaristaLabs%2FChakraSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaristaLabs%2FChakraSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaristaLabs%2FChakraSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaristaLabs","download_url":"https://codeload.github.com/BaristaLabs/ChakraSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250228693,"owners_count":21395958,"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":["chakra","cppsharp","pinvoke"],"created_at":"2024-11-08T17:10:27.479Z","updated_at":"2025-04-22T11:17:24.402Z","avatar_url":"https://github.com/BaristaLabs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChakraSharp\n\nA quick \u0026 dirty pass at generating a [ChakraCore](https://github.com/Microsoft/ChakraCore) P/Invoke layer in C# using [CppSharp](https://github.com/mono/CppSharp)\n\nNote: [ChakraSharpCastXml](https://github.com/BaristaLabs/ChakraCoreCastXml) is an improvement over the approach offered here.\n\n### Advantages\n - Generates P/Invoke layer directly from ChakraCore Jsrt headers; any changes and additions made to ChakraCore can be integrated quickly and easily without manual porting\n - Function and parameter descriptions contained in the Jsrt headers are retained and included in the generated cs file.\n - Customization of the generated code can be performed by forking this project and adding/changing the passes.\n \n### Instructions\n1. Clone this repo\n2. Clone Microsoft/ChakraCore - you won't need to build Chakra as the headers are used to generate the P/Invoke. In your implementing program you can use the version on NuGet.\n3. Ensure that the path in ChakraShare.CLI/Program.cs points to the path where ChakraCore was cloned.\n4. Build and run ChakraSharp.CLI -- ChakraCore.cs will be generated. Take this file and use it in the application that you'd like to use Chakra in.\n\nFor a sample of how to use the generated ChakraCore.cs file, see [ChakraSharp-Sample](https://github.com/BaristaLabs/ChakraSharp-Sample)\n\nFor a high-level object model, see [BaristaCore](https://github.com/BaristaLabs/BaristaCore)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaristalabs%2Fchakrasharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaristalabs%2Fchakrasharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaristalabs%2Fchakrasharp/lists"}