{"id":18383172,"url":"https://github.com/fugerit-org/tool-payload-creator","last_synced_at":"2025-04-11T21:36:22.421Z","repository":{"id":196663101,"uuid":"696776534","full_name":"fugerit-org/tool-payload-creator","owner":"fugerit-org","description":"Tool to try to create a payload as close a possible to desired size","archived":false,"fork":false,"pushed_at":"2023-09-28T22:42:50.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T23:43:24.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fugerit-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-09-26T12:18:42.000Z","updated_at":"2023-09-26T15:37:16.000Z","dependencies_parsed_at":"2023-09-26T21:00:46.170Z","dependency_job_id":"a68cbb1c-1680-49d7-9294-c760572eb609","html_url":"https://github.com/fugerit-org/tool-payload-creator","commit_stats":null,"previous_names":["fugerit-org/tool-payload-creator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugerit-org%2Ftool-payload-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugerit-org%2Ftool-payload-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugerit-org%2Ftool-payload-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugerit-org%2Ftool-payload-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fugerit-org","download_url":"https://codeload.github.com/fugerit-org/tool-payload-creator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248484381,"owners_count":21111633,"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-06T01:10:23.665Z","updated_at":"2025-04-11T21:36:22.399Z","avatar_url":"https://github.com/fugerit-org.png","language":"Java","readme":"# tool-payload-creator\n\nTool to try to create a payload as close a possible to desired size\n\n[![Keep a Changelog v1.1.0 badge](https://img.shields.io/badge/changelog-Keep%20a%20Changelog%20v1.1.0-%23E05735)](https://github.com/fugerit-org/tool-payload-creator/blob/master/CHANGELOG.md) \n[![license](https://img.shields.io/badge/License-Apache%20License%202.0-teal.svg)](https://opensource.org/licenses/Apache-2.0)\n[![code of conduct](https://img.shields.io/badge/conduct-Contributor%20Covenant-purple.svg)](https://github.com/fugerit-org/fj-universe/blob/main/CODE_OF_CONDUCT.md)\n\n![Java runtime version](https://img.shields.io/badge/run%20on-java%208+-%23113366.svg?style=for-the-badge\u0026logo=openjdk\u0026logoColor=white)\n![Java build version](https://img.shields.io/badge/build%20on-java%2011+-%23ED8B00.svg?style=for-the-badge\u0026logo=openjdk\u0026logoColor=white)\n![Apache Maven](https://img.shields.io/badge/Apache%20Maven-3.9.0+-C71A36?style=for-the-badge\u0026logo=Apache%20Maven\u0026logoColor=white)\n\n## Quickstart\n\nbuild : \n\n`mvn clean install -P singlepackage`\n\nrun : \n\n```\njava -jar target/dist-tool-payload-creator-*.jar \\\n\t--target-size-byte 102400 \\\n\t--target-format pdf \\\n\t--output-file target/test.pdf\n```\n\n|parameter help      |required|description                                                                                            |\n|--------------------|--------|-------------------------------------------------------------------------------------------------------|\n|`target-size-byte`   |`true`   |Target size in byte (the tool will try to get as close as possible, without surpassing it)             |\n|`target-format`      |`true`   |Target format (currently supported formats : 'pdf' )                                                   |\n|`output-file`        |`true`   |Path to output file (ex. target/test.pdf)                                                              |\n|`create-base64`      |`false`  |If set, the output will be converted to base 64 and saved to the given path                            |\n|`create-base64`      |`false`  |If set, the output will be converted to base 64 and saved to json file in give path, the content will be `{\"content\":\"${base64}\"}` |\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffugerit-org%2Ftool-payload-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffugerit-org%2Ftool-payload-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffugerit-org%2Ftool-payload-creator/lists"}