{"id":19351718,"url":"https://github.com/operable/gbexec","last_synced_at":"2025-10-05T22:17:21.393Z","repository":{"id":90392717,"uuid":"73866361","full_name":"operable/gbexec","owner":"operable","description":"Standalone Greenbar template executor","archived":false,"fork":false,"pushed_at":"2017-11-02T23:38:42.000Z","size":17,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T10:36:50.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/operable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2016-11-16T00:02:37.000Z","updated_at":"2023-09-05T12:35:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ebfa1b7-4678-47cd-8671-e426642180e5","html_url":"https://github.com/operable/gbexec","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/operable/gbexec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operable%2Fgbexec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operable%2Fgbexec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operable%2Fgbexec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operable%2Fgbexec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/operable","download_url":"https://codeload.github.com/operable/gbexec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operable%2Fgbexec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278528628,"owners_count":26001759,"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-10-05T02:00:06.059Z","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":[],"created_at":"2024-11-10T04:37:02.428Z","updated_at":"2025-10-05T22:17:21.346Z","avatar_url":"https://github.com/operable.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Compilation prequisites\n\n* Erlang 19.1\n* Elixir 1.3.4\n* C++ compiler (Tested with gcc and clang)\n\n## Building\n\n### Native\n\n1. Clone this repo\n1. `cd` to cloned directory\n1. `mix do deps.get, escript.package`\n1. Place the contents of `gbexec/bin` in your path\n\n### Docker\n\n1. run Dev build in container:\n```\ndocker build -t gbexec:dev .\n```\n1. Test container:\n```\ndocker run --rm -v $PWD/examples:/examples -w /examples gbexec:dev -s hello.greenbar hello.json\n```\n\n## Using\n\n```\n\u003e gbexec --help\ngbexec 1.0.0\n\ngbexec (-s,--slack|-h,--hipchat) \u003ctemplate file\u003e \u003cdata file\u003e\n\n-s, --slack\tUse Slack template renderer\n-h, --hipchat\tUse HipChat renderer\n--help\t\tDisplay this help message\n\n\u003ctemplate file\u003e\tPath to a Greenbar template\n\u003cdata file\u003e\tPath to a file containing valid JSON\n```\n\n## Examples\n\n### Render a template for Slack\n\n```\n\u003e bin/gbexec -s hello.greenbar data.json\n*Hello Louise*\n```\n\n### Render a template for HipChat\n\n```\n\u003e bin/gbexec -h hello.greenbar data.json\n\u003cstrong\u003eHello Louise\u003c/strong\u003e\n```\n\nSee [examples](examples/README.md) directory for more examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperable%2Fgbexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperable%2Fgbexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperable%2Fgbexec/lists"}