{"id":26247900,"url":"https://github.com/olksdr/sentry-native","last_synced_at":"2026-04-21T08:32:30.223Z","repository":{"id":282101703,"uuid":"947487248","full_name":"olksdr/sentry-native","owner":"olksdr","description":"Sentry Native packaged for Zig.","archived":false,"fork":false,"pushed_at":"2025-10-04T07:39:43.000Z","size":7,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T18:42:28.032Z","etag":null,"topics":["crash-reporting","error-reporting","getsentry","monitoring","native","sentry","zig","zig-package","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/olksdr.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-12T19:07:01.000Z","updated_at":"2025-10-04T07:39:42.000Z","dependencies_parsed_at":"2025-12-26T09:03:15.095Z","dependency_job_id":null,"html_url":"https://github.com/olksdr/sentry-native","commit_stats":null,"previous_names":["olksdr/sentry-native"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/olksdr/sentry-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olksdr%2Fsentry-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olksdr%2Fsentry-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olksdr%2Fsentry-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olksdr%2Fsentry-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olksdr","download_url":"https://codeload.github.com/olksdr/sentry-native/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olksdr%2Fsentry-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32083714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["crash-reporting","error-reporting","getsentry","monitoring","native","sentry","zig","zig-package","ziglang"],"created_at":"2025-03-13T14:15:55.007Z","updated_at":"2026-04-21T08:32:30.196Z","avatar_url":"https://github.com/olksdr.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentry Native\n\nThis is the [sentry-native](https://github.com/getsentry/sentry-native), packaged for [Zig](https://ziglang.org/).\n\nThis is a build wrapper, which prepars the library which can be linked and exposes the sentry native C API.\n\n_Note_: This will work for simple use-cases, but this still needs more testing.\n\n## Installation\n\nFirst add the dependencies to your project\n\n```shell\n\u003e zig fetch --save git+https://github.com/olksdr/sentry-native.git\n```\n\nAnd after you can import `sentry_native` in yout `build.zig`. _Note_: the dash (\"-\") is replaced with underscore (\"_\") in the name.\n\n```zig\n\nconst sentry_native = b.dependency(\"sentry_native\", .{\n    .target = target,\n    .optimize = optimize,\n    // Only if you run on Unix-like system you might want to link with libcurl (deafult is \"false\").\n    .curl = true,\n    // Only if you are on Windows (default \"false\").\n    .winhttp = true,\n});\n\n\n// Link the Sentry library to your exe.\nexe.linkLibrary(sentry_native.artifact(\"sentry\"));\n// Add the imports to the root module, so you can use those in your code, e.g.:\n// const sentry = @import(\"sentry\");\nexe.root_module.addImport(\"sentry\", sentry_native.module(\"sentry\"));\n\n```\n\nYou might have to install additional dependencies and makes sure the your dev environment is configured and all paths and includes are in-place.\nDifferent systems will have different requirements (e.g. on Windows you might have to install WindowsSDK and make sure that `PATH` is properly set up, etc.).\n\n## Maintenance\n\nWhen updating `sentry-native` to the new relase (or commit), make sure to check and update the list of file `*.c` files, and also make sure that includes are correct.\nWhen updating to the new release, make sure to change also the version in the `build.zig` update fetching new `sentry-native` commit.\n\n### Known limitations:\n\nCurrently only `none` or `inproc` (enabled by default) backends are supported.\n\n### TODO:\n\nAs part of this build the following items still on the list:\n\n- [ ] Support Crashpad backend.\n- [ ] Support Breakpad backend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folksdr%2Fsentry-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folksdr%2Fsentry-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folksdr%2Fsentry-native/lists"}