{"id":19359189,"url":"https://github.com/opslevel/opslevel-jq-parser","last_synced_at":"2025-02-24T12:16:07.434Z","repository":{"id":204960259,"uuid":"713042152","full_name":"OpsLevel/opslevel-jq-parser","owner":"OpsLevel","description":"A jq wrapper which aids in converting data to opslevel-go input structures","archived":false,"fork":false,"pushed_at":"2025-01-06T17:16:44.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-06T18:28:37.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/OpsLevel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-11-01T18:08:19.000Z","updated_at":"2025-01-06T17:16:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"303668f2-d911-44e8-9e12-04a9c19334c9","html_url":"https://github.com/OpsLevel/opslevel-jq-parser","commit_stats":null,"previous_names":["opslevel/opslevel-jq-parser"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpsLevel%2Fopslevel-jq-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpsLevel%2Fopslevel-jq-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpsLevel%2Fopslevel-jq-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpsLevel%2Fopslevel-jq-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpsLevel","download_url":"https://codeload.github.com/OpsLevel/opslevel-jq-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240475235,"owners_count":19807292,"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-11-10T07:14:20.534Z","updated_at":"2025-02-24T12:16:07.414Z","avatar_url":"https://github.com/OpsLevel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/OpsLevel/opslevel-jq-parser/blob/main/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/OpsLevel/opslevel-jq-parser.svg\" alt=\"License\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://go.dev\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/go-mod/go-version/OpsLevel/opslevel-jq-parser\" alt=\"Made With Go\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://GitHub.com/OpsLevel/opslevel-jq-parser/releases/\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/v/release/OpsLevel/opslevel-jq-parser?include_prereleases\" alt=\"Release\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://GitHub.com/OpsLevel/opslevel-jq-parser/issues/\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues/OpsLevel/opslevel-jq-parser.svg\" alt=\"Issues\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/OpsLevel/opslevel-jq-parser/graphs/contributors\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/contributors/OpsLevel/opslevel-jq-parser\" alt=\"Contributors\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/OpsLevel/opslevel-jq-parser/pulse\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/commit-activity/m/OpsLevel/opslevel-jq-parser\" alt=\"Activity\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/OpsLevel/opslevel-jq-parser\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/OpsLevel/opslevel-jq-parser/branch/main/graph/badge.svg\" alt=\"CodeCov\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://dependabot.com/\"\u003e\n        \u003cimg src=\"https://badgen.net/badge/Dependabot/enabled/green?icon=dependabot\" alt=\"Dependabot\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://pkg.go.dev/github.com/opslevel/opslevel-jq-parser/v2024\"\u003e\n        \u003cimg src=\"https://pkg.go.dev/badge/github.com/opslevel/opslevel.svg\" alt=\"Go Reference\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[![Overall](https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fapp.opslevel.com%2Fapi%2Fservice_level%2FAN4c4UlHKKLbrHAlFzF4FKXpeGYnjEtC5765UYF1Exc)](https://app.opslevel.com/services/opslevel-jq-parser/maturity-report)\n\n\n\n# opslevel-jq-parser\nA jq wrapper which aids in converting data to opslevel-go input structures\n\nThis library leverages https://github.com/flant/libjq-go which are CGO bindings to the JQ library which provide C native speed\n\n#  Installation\n\n```bash\ngo get github.com/opslevel/opslevel-jq-parser/v2024\n```\n\nThen wherever you compile or test that project you'll need to add\n\n```bash\ndocker run --name \"libjq\" -d flant/jq:b6be13d5-glibc\ndocker cp libjq:/libjq ./libjq \ndocker rm libjq\nexport CGO_ENABLED=1\nexport CGO_CFLAGS=\"-I$(pwd)/libjq/include\"\nexport CGO_LDFLAGS=\"-L$(pwd)/libjq/lib\"\n```\n\nHere is a nice stanza you can put into your GitHub Actions workflow files\n\n\u003e NOTE: the version is important - please see https://github.com/flant/libjq-go#notes\n\n```yaml\n      - name: Setup LibJQ\n        run: |-\n          docker run --name \"libjq\" -d flant/jq:b6be13d5-glibc\n          docker cp libjq:/libjq ./libjq \n          docker rm libjq\n          echo CGO_ENABLED=1 \u003e\u003e $GITHUB_ENV\n          echo CGO_CFLAGS=\"-I$(pwd)/libjq/include\" \u003e\u003e $GITHUB_ENV\n          echo CGO_LDFLAGS=\"-L$(pwd)/libjq/lib\" \u003e\u003e $GITHUB_ENV\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopslevel%2Fopslevel-jq-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopslevel%2Fopslevel-jq-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopslevel%2Fopslevel-jq-parser/lists"}