{"id":40909747,"url":"https://github.com/ggql/gql","last_synced_at":"2026-01-22T03:02:53.238Z","repository":{"id":212884474,"uuid":"731833832","full_name":"ggql/GQL","owner":"ggql","description":"Git Query language is a SQL like language to perform queries on .git files with supports of most of SQL features such as grouping, ordering and aggregations functions","archived":false,"fork":false,"pushed_at":"2024-06-04T09:57:49.000Z","size":5453,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-06-04T11:15:34.487Z","etag":null,"topics":["database","engine","git","gitql","gql","interpreter","rust","sql"],"latest_commit_sha":null,"homepage":"https://amrdeveloper.github.io/GQL/","language":"Rust","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/ggql.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"amrdeveloper"}},"created_at":"2023-12-15T01:48:12.000Z","updated_at":"2024-06-04T09:57:53.000Z","dependencies_parsed_at":"2024-04-18T11:51:39.451Z","dependency_job_id":"4a3d76b5-fec7-4d4a-89fe-3f670cb89529","html_url":"https://github.com/ggql/GQL","commit_stats":null,"previous_names":["ggql/gql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ggql/GQL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggql%2FGQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggql%2FGQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggql%2FGQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggql%2FGQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggql","download_url":"https://codeload.github.com/ggql/GQL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggql%2FGQL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28651817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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","engine","git","gitql","gql","interpreter","rust","sql"],"created_at":"2026-01-22T03:02:34.387Z","updated_at":"2026-01-22T03:02:53.229Z","avatar_url":"https://github.com/ggql.png","language":"Rust","readme":"\u003ch1 align=\"center\"\u003eGQL - Git Query Language\u003c/h1\u003e\u003c/br\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"media/gql_logo.svg\" width=\"20%\" height=\"20%\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Crates.io\" src=\"https://img.shields.io/crates/v/gitql?style=flat-square\"\u003e\n  \u003cimg alt=\"Deps\" src=\"https://deps.rs/repo/github/amrdeveloper/gql/status.svg\"\u003e\n  \u003cimg alt=\"Release\" src=\"https://github.com/AmrDeveloper/GQL/actions/workflows/release.yaml/badge.svg\"\u003e\n  \u003cimg alt=\"Docs\" src=\"https://github.com/AmrDeveloper/GQL/actions/workflows/docs.yaml/badge.svg\"\u003e\n  \u003cimg alt=\"GitHub release\" src=\"https://img.shields.io/github/v/release/amrdeveloper/gql\"\u003e\n  \u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/amrdeveloper/gql\"\u003e\n  \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/amrdeveloper/gql\"\u003e\n  \u003cimg alt=\"GitHub all releases\" src=\"https://img.shields.io/github/downloads/amrdeveloper/gql/total\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nGQL is a query language with a syntax very similar to SQL with a tiny engine to perform queries on .git files instead of database files. The engine executes the query on the fly without the need to create database files or convert .git files into any other format. \n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"media/gql_demo.gif\" alt=\"animated\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\n---\n\n### Samples\n\nNote that all Keywords in GQL are case-insensitive, similar to SQL.\n\n```sql\nSELECT 1\nSELECT 1 + 2\nSELECT LEN(\"Git Query Language\")\nSELECT \"One\" IN (\"One\", \"Two\", \"Three\")\nSELECT \"Git Query Language\" LIKE \"%Query%\"\n\nSELECT DISTINCT title AS tt FROM commits\nSELECT name, COUNT(name) AS commit_num FROM commits GROUP BY name ORDER BY commit_num DESC LIMIT 10\nSELECT commit_count FROM branches WHERE commit_count BETWEEN 0 .. 10\n\nSELECT * FROM refs WHERE type = \"branch\"\nSELECT * FROM refs ORDER BY type\n\nSELECT * FROM commits\nSELECT name, email FROM commits\nSELECT name, email FROM commits ORDER BY name DESC, email ASC\nSELECT name, email FROM commits WHERE name LIKE \"%gmail%\" ORDER BY name\nSELECT * FROM commits WHERE LOWER(name) = \"amrdeveloper\"\nSELECT name FROM commits GROUP By name\nSELECT name FROM commits GROUP By name having name = \"AmrDeveloper\"\n\nSELECT * FROM branches\nSELECT * FROM branches WHERE is_head = true\nSELECT name, LEN(name) FROM branches\n\nSELECT * FROM tags\nSELECT * FROM tags OFFSET 1 LIMIT 1\n```\n\n---\n\n## Documentation:\n\n  - [Full Documentation](https://amrdeveloper.github.io/GQL/)\n  - [Install or Build](docs/setup.md)\n  - [Tables](docs/structure/tables.md)\n  - [Types](docs/structure/types.md)\n  - [Statements](docs/statement)\n  - [Expressions](docs/expression)\n  - [Transformations](docs/function/transformations.md)\n  - [Aggregations](docs/function/aggregations.md)\n  - [As Libraries](docs/libraries.md)\n\n---\n\n### License\n```\nMIT License\n\nCopyright (c) 2023 Amr Hesham\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","funding_links":["https://github.com/sponsors/amrdeveloper"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggql%2Fgql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggql%2Fgql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggql%2Fgql/lists"}