{"id":29473290,"url":"https://github.com/ChargePi/chargeflow","last_synced_at":"2025-07-14T15:06:23.018Z","repository":{"id":298939581,"uuid":"996363125","full_name":"ChargePi/chargeflow","owner":"ChargePi","description":"A CLI tool for validating Raw OCPP JSON messages","archived":false,"fork":false,"pushed_at":"2025-07-09T21:36:52.000Z","size":314,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-10T05:13:25.493Z","etag":null,"topics":["emobility","ev-charging","ocpp","ocpp-j","ocpp16j","ocpp201j","ocpp21"],"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/ChargePi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-04T20:59:10.000Z","updated_at":"2025-07-09T21:41:19.000Z","dependencies_parsed_at":"2025-06-13T18:42:23.681Z","dependency_job_id":"ab21ce37-159e-4688-8013-ff3d7374904d","html_url":"https://github.com/ChargePi/chargeflow","commit_stats":null,"previous_names":["chargepi/chargeflow"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ChargePi/chargeflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChargePi%2Fchargeflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChargePi%2Fchargeflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChargePi%2Fchargeflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChargePi%2Fchargeflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChargePi","download_url":"https://codeload.github.com/ChargePi/chargeflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChargePi%2Fchargeflow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265311846,"owners_count":23745154,"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":["emobility","ev-charging","ocpp","ocpp-j","ocpp16j","ocpp201j","ocpp21"],"created_at":"2025-07-14T15:02:28.029Z","updated_at":"2025-07-14T15:06:23.007Z","avatar_url":"https://github.com/ChargePi.png","language":"Go","funding_links":[],"categories":["Tools and Resources"],"sub_categories":["OCPP"],"readme":"# ChargeFlow\n\nA CLI tool for analyzing your raw OCPP JSON messages. Useful for debugging and compatibility checks\nwith various Charge Point Management Systems or Charge Point implementations.\n\n## Features\n\n- [x] Parse Raw OCPP JSON messages\n- [x] Support for OCPP 1.6, 2.0.1 and 2.1\n- [x] Request and Response payload validation\n- [x] Validate messages from a file\n\n### Roadmap\n\n- [ ] Generate human-readable reports\n- [ ] Support for signed messages\n- [ ] Compatibility checks\n- [ ] Remote schema registry for vendors and models\n\n## Installation\n\nYou can install ChargeFlow by downloading the binary.\n\n```bash\n\n```\n\n## Usage\n\nYou can use ChargeFlow to validate OCPP messages by running the following command:\n\n```bash\nchargeflow validate '[2, \"123456\", \"BootNotification\", {\"chargePointVendor\": \"TestVendor\", \"chargePointModel\": \"TestModel\"}]'\n```\n\nFor more options, you can run:\n\n```bash\nchargeflow validate\n\nValidate the OCPP message(s) against the registered OCPP schema(s).\n\nUsage:\n  chargeflow validate [flags]\n\nExamples:\nchargeflow --version 1.6 validate '[2, \"123456\", \"BootNotification\", {\"chargePointVendor\": \"TestVendor\", \"chargePointModel\": \"TestModel\"}]'\nchargeflow validate -f ./message.txt\n\nFlags:\n  -f, --file string            Path to a file containing the OCPP message to validate. If this flag is set, the message will be read from the file instead of the command line argument.\n  -h, --help                   help for validate\n  -r, --response-type string   Response type to validate against (e.g. 'BootNotificationResponse'). Currently needed if you want to validate a single response message. \n  -a, --schemas string         Path to additional OCPP schemas folder\n\nGlobal Flags:\n  -d, --debug            Enable debug mode\n  -v, --version string   OCPP version to use (1.6, 2.0.1 or 2.1) (default \"1.6\")\n```\n\nChargeFlow will automatically determine whether it's a request or response message. All you need to provide is a OCPP\nversion!\n\n\u003e [!NOTE]\n\u003e If you want to validate a response message, you need to specify the response type using the `--response-type`\n\u003e flag.\n\nAdditionally, you can specify a custom path to vendor-specific OCPP schemas using the `--schemas` flag.\n\n\u003e [!TIP]\n\u003e You can now also validate multiple messages (both request and responses) from a file using the `-f` flag.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.\n\n## Contributing\n\nWe welcome contributions to this project! Please read our [contributing guidelines](CONTRIBUTING.md) for more\ninformation on how to get started.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChargePi%2Fchargeflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChargePi%2Fchargeflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChargePi%2Fchargeflow/lists"}