{"id":17575071,"url":"https://github.com/zigzedd/zrm","last_synced_at":"2026-05-05T05:36:27.240Z","repository":{"id":258556929,"uuid":"873593016","full_name":"zigzedd/zrm","owner":"zigzedd","description":"[MIRROR] Zig relational mapper.","archived":false,"fork":false,"pushed_at":"2024-10-17T21:01:15.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T14:57:07.797Z","etag":null,"topics":["database","mapper","orm","zig"],"latest_commit_sha":null,"homepage":"https://code.zeptotech.net/zedd/zrm","language":"Zig","has_issues":false,"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/zigzedd.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-10-16T12:32:16.000Z","updated_at":"2024-10-19T07:47:47.000Z","dependencies_parsed_at":"2024-10-22T03:01:34.055Z","dependency_job_id":null,"html_url":"https://github.com/zigzedd/zrm","commit_stats":null,"previous_names":["zigzedd/zrm"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zigzedd/zrm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigzedd%2Fzrm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigzedd%2Fzrm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigzedd%2Fzrm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigzedd%2Fzrm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigzedd","download_url":"https://codeload.github.com/zigzedd/zrm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigzedd%2Fzrm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32637527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["database","mapper","orm","zig"],"created_at":"2024-10-21T22:06:17.166Z","updated_at":"2026-05-05T05:36:27.223Z","avatar_url":"https://github.com/zigzedd.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://code.zeptotech.net/zedd/zrm\"\u003e\n\t\t\u003cpicture\u003e\n\t\t\t\u003cimg alt=\"ZRM logo\" width=\"150\" src=\"https://code.zeptotech.net/zedd/zrm/raw/branch/main/logo.svg\" /\u003e\n\t\t\u003c/picture\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n\tZRM\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n\t\u003ca href=\"https://zedd.zeptotech.net/zrm\"\u003eDocumentation\u003c/a\u003e\n|\n\t\u003ca href=\"https://zedd.zeptotech.net/zrm/api\"\u003eAPI\u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n\tZig relational mapper\n\u003c/p\u003e\n\nZRM is part of [_zedd_](https://code.zeptotech.net/zedd), a collection of useful libraries for zig.\n\n## ZRM\n\n_ZRM_ provides a simple interface to relational databases in Zig. Define your repositories and easily write queries to retrieve and save complex Zig structures.\n\n## Versions\n\nZRM 0.3.1 is made and tested with zig 0.13.0.\n\n## Work in progress\n\nZRM aims to handle a lot for you, but it takes time to make. Have a look to [the issues](https://code.zeptotech.net/zedd/zrm/issues) to see what is currently planned or being worked on.\n\n## How to use\n\n### Install\n\nIn your project directory:\n\n```shell\n$ zig fetch --save https://code.zeptotech.net/zedd/zrm/archive/v0.3.1.tar.gz\n```\n\nIn `build.zig`:\n\n```zig\n// Add zrm dependency.\nconst zrm = b.dependency(\"zrm\", .{\n\t.target = target,\n\t.optimize = optimize,\n});\nexe.root_module.addImport(\"zrm\", zrm.module(\"zrm\"));\n```\n\n### Documentation\n\nA full documentation can be found on [zedd.zeptotech.net/zrm](https://zedd.zeptotech.net/zrm).\n\n### Examples\n\nSome examples can be found in `tests` directory:\n\n- [`tests/example.zig`](https://code.zeptotech.net/zedd/zrm/src/branch/main/tests/example.zig)\n- [`tests/repository.zig`](https://code.zeptotech.net/zedd/zrm/src/branch/main/tests/repository.zig)\n- [`tests/composite.zig`](https://code.zeptotech.net/zedd/zrm/src/branch/main/tests/composite.zig)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigzedd%2Fzrm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigzedd%2Fzrm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigzedd%2Fzrm/lists"}