{"id":20597514,"url":"https://github.com/protostuff/protostuff-compiler","last_synced_at":"2025-04-15T00:15:52.547Z","repository":{"id":37732918,"uuid":"32651977","full_name":"protostuff/protostuff-compiler","owner":"protostuff","description":"Protobuf parser, java code and documentation generator","archived":false,"fork":false,"pushed_at":"2022-06-15T17:14:14.000Z","size":1615,"stargazers_count":57,"open_issues_count":11,"forks_count":30,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-15T00:15:36.612Z","etag":null,"topics":["java","protobuf","protobuf-compiler","protostuff"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/protostuff.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":"2015-03-21T22:07:04.000Z","updated_at":"2024-11-06T11:29:30.000Z","dependencies_parsed_at":"2022-09-16T06:10:17.014Z","dependency_job_id":null,"html_url":"https://github.com/protostuff/protostuff-compiler","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protostuff%2Fprotostuff-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protostuff%2Fprotostuff-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protostuff%2Fprotostuff-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protostuff%2Fprotostuff-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protostuff","download_url":"https://codeload.github.com/protostuff/protostuff-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981268,"owners_count":21193147,"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":["java","protobuf","protobuf-compiler","protostuff"],"created_at":"2024-11-16T08:22:49.015Z","updated_at":"2025-04-15T00:15:52.525Z","avatar_url":"https://github.com/protostuff.png","language":"Java","readme":"Protocol Buffers parser and code generator\n------------------------------------------\n\n[![Build Status](https://travis-ci.org/protostuff/protostuff-compiler.svg?branch=master)](https://travis-ci.org/protostuff/protostuff-compiler)\n\nThis project contains following modules:\n\n1. `protostuff-parser` - ANTLR4-based parser for proto2/proto3 files. Parsing result is represented as an object model, containing all the information from proto files. \n2. `protostuff-generator` - code generator; current version can generate java code (for `protostuff` runtime library) and HTML documentation.\n4. `protostuff-cli` - command-line interface.\n5. `protostuff-maven-plugin` - maven plugin.\n\nUsage\n-----\n\n* [maven plugin](https://github.com/protostuff/protostuff-compiler/wiki/Maven-Plugin)\n* [command-line interface](https://github.com/protostuff/protostuff-compiler/wiki/Command-line-interface)\n* [gradle](https://github.com/protostuff/protostuff-compiler/wiki/Gradle)\n \n```xml\n    \u003cbuild\u003e\n        \u003cplugins\u003e\n            \u003cplugin\u003e\n                \u003cartifactId\u003eprotostuff-maven-plugin\u003c/artifactId\u003e\n                \u003cgroupId\u003eio.protostuff\u003c/groupId\u003e\n                \u003cversion\u003e2.2.18\u003c/version\u003e\n                \u003cexecutions\u003e\n                    \u003cexecution\u003e\n                        \u003cid\u003egenerate-java-sources\u003c/id\u003e\n                        \u003cphase\u003egenerate-sources\u003c/phase\u003e\n                        \u003cgoals\u003e\n                            \u003cgoal\u003ejava\u003c/goal\u003e\n                        \u003c/goals\u003e\n                    \u003c/execution\u003e\n                \u003c/executions\u003e\n            \u003c/plugin\u003e\n        \u003c/plugins\u003e\n    \u003c/build\u003e\n```\n\nJava Source Code Generator\n--------------------------\n\nCurrent status: development in progress.\n\nGenerated code API: [draft](http://protostuff.github.io/documentation/compiler/java/generated-code).\n\nDocumentation Generator\n-----------------------\n\n`protostuff-compiler` can generate html from proto files.\n\nSample output: http://protostuff.github.io/samples/protostuff-compiler/html/#com.example.Address\n\nThis generator is an alternative to https://github.com/estan/protoc-gen-doc\n\nRequirements\n------------\n\n| Component                                 | Version   |\n|-------------------------------------------|-----------|\n| JDK                                       | 11+       |  \n| [Apache Maven](https://maven.apache.org/) | 3.6+       |\n\nBuild\n-----\n\n```\nmvn clean install\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotostuff%2Fprotostuff-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotostuff%2Fprotostuff-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotostuff%2Fprotostuff-compiler/lists"}