{"id":23659439,"url":"https://github.com/cloudnetservice/cloud-command-framework","last_synced_at":"2026-01-27T13:06:05.456Z","repository":{"id":103587255,"uuid":"505580985","full_name":"CloudNetService/cloud-command-framework","owner":"CloudNetService","description":"Fork of the cloud command framework which fixes some inconsistencies and makes it easier to integrate it into standalone applications","archived":false,"fork":false,"pushed_at":"2024-09-05T17:04:39.000Z","size":233,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-28T19:09:51.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/CloudNetService.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"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":"2022-06-20T20:00:08.000Z","updated_at":"2024-09-05T16:09:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d39408e-2ef1-4fba-93b1-bde18b36917c","html_url":"https://github.com/CloudNetService/cloud-command-framework","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/CloudNetService/cloud-command-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudNetService%2Fcloud-command-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudNetService%2Fcloud-command-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudNetService%2Fcloud-command-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudNetService%2Fcloud-command-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CloudNetService","download_url":"https://codeload.github.com/CloudNetService/cloud-command-framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudNetService%2Fcloud-command-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: 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":[],"created_at":"2024-12-29T02:54:28.196Z","updated_at":"2026-01-27T13:06:05.449Z","avatar_url":"https://github.com/CloudNetService.png","language":null,"readme":"# Cloud Command Framework fork\n\nA fork of the well known [cloud command framework](https://github.com/Incendo/cloud) which fixes some inconsistencies\nand makes it easier to integrate it into standalone applications.\n\n## Dependencies\n\nThis project is available via [jitpack](https://jitpack.io):\n\n```groovy\nrepositories {\n    maven {\n        name = 'jitpack'\n        url = 'https://jitpack.io/'\n    }\n}\n\ndependencies {\n    implementation('com.github.cloudnetservice.cloud-command-framework', '\u003csubmodule\u003e', 'main-SNAPSHOT')\n}\n```\n\n## Building from source\n\nAfter cloning the project you need to init the submodules and apply the patches using:\n\n```\ngit submodule update --init \u0026\u0026 ./gradlew applyPatches\n```\n\nYou can then publish cloud into your local maven repository for testing:\n\n* Navigate into the `patched-cloud` folder using the command line\n* Build \u0026 publish the project using `./gradlew publishToMavenLocal`\n\n**Java 17 is required to build the project!**\n\n## Making changes\n\nAfter applying the patches a new folder should appear named `patched-cloud`. You can make changes to the cloud sources\nin that folder. When you are done modifying them:\n\n* Navigate into the `patched-cloud` folder using the command line\n* Commit your changes using a meaningful commit message\n* Move into the root project folder and build a patch from the created commit using `./gradlew rebuildPatches`\n\n## Modifying an existing patch\n\nTo modify an existing patch:\n\n* First make your changes in the `patched-cloud` folder as always\n* Find the commit hash of the commit you want to edit by for example using `git log`, `git blame` or the git history\n  provided by your IDE or GitHub\n* Make a fixup commit: `git commit -a --fixup \u003ccommit hash of the patch to edit\u003e`\n    * You can also use `--squash` instead of `--fixup` to change the commit message of the patch as well\n* Rebase the changes: `git rebase -i --autosquash origin`. This will automatically move the fixup to the right place,\n  you just need to confirm the action by \"saving\" the changes in the text editor that will open.\n* Move into the root project folder and rebuild the patch from the created commit using `./gradlew rebuildPatches`\n\n## Patch formatting\n\nIn general, it is preferred to keep the patches as small as possible to make it easier to pull in changes made in the\nforked repository. Some general notes:\n\n* Single line changes always have a `// cloudnet` suffix, optionally providing a description of the change\n  like: `// cloudnet - private -\u003e protected`\n* Multi line changes start with `// cloudnet start` and end with `// cloudnet end`, the start message can optionally\n  contain a reason like: `// cloudnet start - easier access to caption registry`\n\nDon't comment lines out unless necessary, you can make the diff smaller by (for example) inserting an `if (true)`\nbefore the code you want to prevent from happening like:\n\n```java\npublic @NonNull String getMessage() {\n    // cloudnet start - no more heavy operations\n    if (true) return \"hello world\";\n    // cloudnet end\n    return \"hello\" + \" \" + \"world\";\n}\n```\n\nThis is how a full change might look like:\n```java\npublic @NonNull String getMessage(final @NonNull String input) { // cloudnet - private -\u003e public\n    final String partiallyFixed = input.replace('.', '-');\n    final boolean empty = partiallyFixed.isBlank(); // cloudnet - was isEmpty but isBlank is better\n    final Integer parsedValue = Ints.tryParse(partiallyFixed);\n    // cloudnet start - no more heavy operations\n    if (true) return \"hello world \" + partiallyFixed;\n    // cloudnet end\n    return \"hello\" + \" \" + partiallyFixed + \" \" + parsedValue + \" \" + \"world\";\n}\n```\n\n## Contributing\n\nIf you think that something else should be changed in order to easier integrate this fork into your project, fell free\nto open a pull request. Contributions are always welcome.\n\n## License\n\nThis project is based on [cloud](https://github.com/Incendo/cloud) which is licensed under the terms of \nthe [MIT license](https://github.com/Incendo/cloud/blob/master/LICENSE) to Alexander Söderberg \u0026 Contributors. This \nincludes all files pulled in from the `cloud` git submodule as well as the patched code in `patched-cloud`. The patches \nand all other files in this repository are licensed under the terms of the [Apache 2 license](license.txt) to the \nCloudNetService team \u0026 contributors.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnetservice%2Fcloud-command-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudnetservice%2Fcloud-command-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnetservice%2Fcloud-command-framework/lists"}