{"id":13393183,"url":"https://github.com/filhodanuvem/gitql","last_synced_at":"2025-12-16T23:52:08.089Z","repository":{"id":14193008,"uuid":"16899487","full_name":"filhodanuvem/gitql","owner":"filhodanuvem","description":"💊 A git query language","archived":false,"fork":false,"pushed_at":"2024-10-14T14:32:41.000Z","size":9167,"stargazers_count":6304,"open_issues_count":10,"forks_count":163,"subscribers_count":88,"default_branch":"main","last_synced_at":"2025-12-12T02:59:06.859Z","etag":null,"topics":["git","go","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Go","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/filhodanuvem.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":"2014-02-17T02:19:11.000Z","updated_at":"2025-11-06T23:01:47.000Z","dependencies_parsed_at":"2023-07-13T03:21:36.886Z","dependency_job_id":"b333c3c0-41be-4398-8572-8a59f1c5ed50","html_url":"https://github.com/filhodanuvem/gitql","commit_stats":{"total_commits":296,"total_committers":30,"mean_commits":9.866666666666667,"dds":"0.45608108108108103","last_synced_commit":"9aab2f5d0eaf9984720c0036653147b4b4253b88"},"previous_names":["cloudson/gitql"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/filhodanuvem/gitql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filhodanuvem%2Fgitql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filhodanuvem%2Fgitql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filhodanuvem%2Fgitql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filhodanuvem%2Fgitql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filhodanuvem","download_url":"https://codeload.github.com/filhodanuvem/gitql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filhodanuvem%2Fgitql/sbom","scorecard":{"id":293274,"data":{"date":"2025-08-11","repo":{"name":"github.com/filhodanuvem/gitql","commit":"9aab2f5d0eaf9984720c0036653147b4b4253b88"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":1,"reason":"Found 1/6 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/tag.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.3.1 not signed: https://api.github.com/repos/filhodanuvem/gitql/releases/88986299","Warn: release artifact v2.3.0 not signed: https://api.github.com/repos/filhodanuvem/gitql/releases/45919095","Warn: release artifact v2.2.1 not signed: https://api.github.com/repos/filhodanuvem/gitql/releases/45759332","Warn: release artifact 2.2.0 not signed: https://api.github.com/repos/filhodanuvem/gitql/releases/43652377","Warn: release artifact 2.1.0 not signed: https://api.github.com/repos/filhodanuvem/gitql/releases/32144817","Warn: release artifact v2.3.1 does not have provenance: https://api.github.com/repos/filhodanuvem/gitql/releases/88986299","Warn: release artifact v2.3.0 does not have provenance: https://api.github.com/repos/filhodanuvem/gitql/releases/45919095","Warn: release artifact v2.2.1 does not have provenance: https://api.github.com/repos/filhodanuvem/gitql/releases/45759332","Warn: release artifact 2.2.0 does not have provenance: https://api.github.com/repos/filhodanuvem/gitql/releases/43652377","Warn: release artifact 2.1.0 does not have provenance: https://api.github.com/repos/filhodanuvem/gitql/releases/32144817"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tag.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/tag.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tag.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tag.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/filhodanuvem/gitql/tag.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:5","Warn: containerImage not pinned by hash: Dockerfile:19: pin your Docker image by updating alpine:3.18 to alpine:3.18@sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-1765 / GHSA-2q89-485c-9j2x","Warn: Project is vulnerable to: GO-2024-2453 / GHSA-9763-4f94-gfch","Warn: Project is vulnerable to: GO-2025-3754 / GHSA-2x5j-vhc8-9cwm","Warn: Project is vulnerable to: GO-2024-2456 / GHSA-449p-3h89-pw88","Warn: Project is vulnerable to: GO-2024-2466 / GHSA-mw99-9chc-xw7r","Warn: Project is vulnerable to: GO-2025-3367 / GHSA-r9px-m959-cxf4","Warn: Project is vulnerable to: GO-2025-3368 / GHSA-v725-9546-7q7m","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T18:51:24.914Z","repository_id":14193008,"created_at":"2025-08-17T18:51:24.914Z","updated_at":"2025-08-17T18:51:24.914Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27773220,"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","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"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":["git","go","hacktoberfest"],"created_at":"2024-07-30T17:00:45.255Z","updated_at":"2025-12-16T23:52:08.067Z","avatar_url":"https://github.com/filhodanuvem.png","language":"Go","readme":"Gitql \n![](https://github.com/cloudson/gitql/workflows/CI/badge.svg) \n[![Go Report Card](https://goreportcard.com/badge/github.com/filhodanuvem/gitql)](https://goreportcard.com/report/github.com/filhodanuvem/gitql) \n[![Open Source Helpers](https://www.codetriage.com/filhodanuvem/gitql/badges/users.svg)](https://www.codetriage.com/filhodanuvem/gitql)\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License MIT\"\u003e\n\u003c/a\u003e\n===============\n\nGitql is a Git query language.\n\nIn a repository path...\n\n![how to use](howtouse.gif)\n\nSee more [here](https://asciinema.org/a/97094)\n\n## Reading the code \n⚠️ Gitql is my first golang project. If you are a beginner looking for using the project as a guideline (how to organise or make an idiomatic go code), I recommend you [polyglot](https://github.com/filhodanuvem/polyglot) instead. \n\n## Requirements \n- Go 1.16+ \n\n## How to install\n\nYou can access the [releases page](https://github.com/cloudson/gitql/releases) and just grab the binary. If you want to compile itself just run `go build .`.\n\n## Examples\n\n`gitql \"your query\" `  \nor  \n`git ql \"your query\" `\n\nAs an example, this is the `commits` table:\n\n| commits |\n| ---------|\n| author |\n| author_email |\n| committer |\n| committer_email |\n| hash |\n| date |\n| message |\n| full_message |\n\n(see more tables [here](tables.md))\n\n## Example Commands\n* `select hash, author, message from commits limit 3`\n* `select hash, message from commits where 'hell' in full_message or 'Fuck' in full_message`\n* `select hash, message, author_email from commits where author = 'cloudson'`\n* `select date, message from commits where date \u003c '2014-04-10'`\n* `select message from commits where 'hell' in message order by date asc`\n* `select distinct author from commits where date \u003c '2020-01-01'`\n\n## Questions?\n\n`gitql` or open an [issue](https://github.com/cloudson/gitql/issues)\n\nNotes:\n* Gitql doesn't want to _kill_ `git log` - it was created just for science! :sweat_smile:\n* It's read-only - no deleting, inserting, or updating tables or commits. :stuck_out_tongue_closed_eyes:\n* The default limit is 10 rows.\n* It's inspired by [textql](https://github.com/dinedal/textql).\n* Gitql is a compiler/interpreter instead of just read a sqlite database with all commits, tags, etc. because we would need to sync the tables every time before run sql and we would have sqlite bases for each repository. :neutral_face:\n","funding_links":[],"categories":["Go","Uncategorized","CLI 项目","Repositories"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilhodanuvem%2Fgitql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilhodanuvem%2Fgitql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilhodanuvem%2Fgitql/lists"}