{"id":13521169,"url":"https://github.com/mleonidas/tree-sitter-authzed","last_synced_at":"2025-03-31T20:30:50.160Z","repository":{"id":150349624,"uuid":"602131999","full_name":"mleonidas/tree-sitter-authzed","owner":"mleonidas","description":"Tree Sitter Grammer and Parser for Authzed Schema","archived":false,"fork":false,"pushed_at":"2023-10-06T15:37:41.000Z","size":1030,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T23:44:43.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mleonidas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-15T15:05:52.000Z","updated_at":"2024-07-22T07:12:04.000Z","dependencies_parsed_at":"2023-07-27T06:46:08.015Z","dependency_job_id":"efa6cbed-a89f-4368-9d43-d690c2deefad","html_url":"https://github.com/mleonidas/tree-sitter-authzed","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/mleonidas%2Ftree-sitter-authzed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mleonidas%2Ftree-sitter-authzed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mleonidas%2Ftree-sitter-authzed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mleonidas%2Ftree-sitter-authzed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mleonidas","download_url":"https://codeload.github.com/mleonidas/tree-sitter-authzed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246535778,"owners_count":20793320,"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-08-01T06:00:29.809Z","updated_at":"2025-03-31T20:30:49.800Z","avatar_url":"https://github.com/mleonidas.png","language":"JavaScript","funding_links":[],"categories":["Developer Tools"],"sub_categories":["Third-party Tools"],"readme":"# tree-sitter-authzed\n\n## Usage with Neovim\n\nDISCLAIMER: until I can package this appropriately this is how I currently have it setup\n\nCopy queries/highlights.scm to ~/.config/nvim/queries/authzed/highlights.scm or create your own\n\nadd this to your neovim config for treesitter\n\n```\nlocal parser_config = require(\"nvim-treesitter.parsers\").get_parser_configs()\nparser_config.authzed = {\n        install_info = {\n                url = \"https://github.com/mleonidas/tree-sitter-authzed\", -- local path or git repo\n                files = { \"src/parser.c\" },\n                generate_requires_npm = false,\n                requires_generate_from_grammar = false,\n                -- optional entries:\n                branch = \"main\", -- default branch in case of git repo if different from master\n        },\n        filetype = \"authzed\", -- if filetype does not match the parser name\n}\n```\nRefresh your neovim instance and run `:TsInstall authzed`\nSetup an autogroup for the file extension of your choice\n\n```\naugroup Authzed\n  au!\n  autocmd BufNewFile,BufRead *.authzed set ft=authzed\n  autocmd BufNewFile,BufRead *.zed set ft=authzed\n  autocmd BufNewFile,BufRead *.azd set ft=authzed\naugroup END\n```\nHopefully once I package this appropriately and create a vim plugin all of this will be automatic\nYou can also find a refrence to my neovim configuration in my dotfiles repo\n\n\n## Example of the highlights\n![syntax](./docs/images/example-highlights.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmleonidas%2Ftree-sitter-authzed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmleonidas%2Ftree-sitter-authzed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmleonidas%2Ftree-sitter-authzed/lists"}