{"id":36736983,"url":"https://github.com/code-game-project/cg-gen-events","last_synced_at":"2026-01-12T12:24:05.856Z","repository":{"id":38002439,"uuid":"488568708","full_name":"code-game-project/cg-gen-events","owner":"code-game-project","description":"Easily generate CodeGame event definitions for a variety of languages.","archived":false,"fork":false,"pushed_at":"2023-01-03T13:04:49.000Z","size":188,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-06-21T03:17:52.680Z","etag":null,"topics":["cge"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-game-project.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}},"created_at":"2022-05-04T11:53:21.000Z","updated_at":"2024-01-12T18:30:12.000Z","dependencies_parsed_at":"2023-02-01T06:15:15.012Z","dependency_job_id":null,"html_url":"https://github.com/code-game-project/cg-gen-events","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/code-game-project/cg-gen-events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-game-project%2Fcg-gen-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-game-project%2Fcg-gen-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-game-project%2Fcg-gen-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-game-project%2Fcg-gen-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-game-project","download_url":"https://codeload.github.com/code-game-project/cg-gen-events/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-game-project%2Fcg-gen-events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cge"],"created_at":"2026-01-12T12:24:05.685Z","updated_at":"2026-01-12T12:24:05.851Z","avatar_url":"https://github.com/code-game-project.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cg-gen-events\n![CGE Version](https://img.shields.io/badge/CGE-v0.4-green)\n\nEasily generate [CodeGame](https://code-game.org) event definitions for a variety of languages from [CodeGame Events (CGE)](https://docs.code-game.org/specifications/cge) files.\n\n## Installation\n\ncg-gen-events should be used through [codegame-cli](https://github.com/code-game-project/codegame-cli):\n```\ncodegame gen-events ...\n```\n\n## Usage\n\nGenerate from a local file:\n```sh\ncodegame gen-events my_game.cge\n```\n\nGenerate from a remote file:\n```sh\ncodegame gen-events https://example.com\n# same as\ncodegame gen-events https://example.com/events\n```\n\nSpecify an output directory:\n```sh\ncodegame gen-events -o events/ my_game.cge\n```\n\nSpecify a list of languages as command line arguments instead of the interactive menu:\n```sh\ncodegame gen-events -l go,typescript my_game.cge\n```\n\nUse `codegame gen-events --help` for a complete list of available options.\n\n## Supported languages\n\n- C#\n- Go\n- Java\n- Markdown docs\n- TypeScript\n- JSON\n\n## Editor Support\n\n- LSP: [cge-ls](https://github.com/code-game-project/cg-gen-events/blob/main/cmd/cge-ls/README.md)\n- VS Code: [vscode-codegame](https://github.com/code-game-project/vscode-codegame)\n- Vim: [vim-codegame](https://github.com/code-game-project/vim-codegame)\n\n## Building\n\n### Prerequisites\n\n- [Go](https://go.dev/) 1.18+\n\n```sh\ngit clone https://github.com/code-game-project/cg-gen-events\ncd cg-gen-events\ngo build -o cg-gen-events ./cmd/cg-gen-events\n```\n\n## License\n\nCopyright (c) 2022-2023 Julian Hofmann\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-game-project%2Fcg-gen-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-game-project%2Fcg-gen-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-game-project%2Fcg-gen-events/lists"}