{"id":25314168,"url":"https://github.com/weikangchia/pre-commit-hooks-plantuml","last_synced_at":"2026-05-14T20:03:13.352Z","repository":{"id":114855650,"uuid":"367813254","full_name":"weikangchia/pre-commit-hooks-plantuml","owner":"weikangchia","description":"A pre-commit script to manage your PlantUML file","archived":false,"fork":false,"pushed_at":"2021-08-17T04:03:27.000Z","size":4,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T09:38:23.728Z","etag":null,"topics":["git","plantuml","plantuml-generator","prehook"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/weikangchia.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-16T07:30:58.000Z","updated_at":"2024-06-06T10:50:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ee9efeb-637e-4c5d-a267-98230a9ae294","html_url":"https://github.com/weikangchia/pre-commit-hooks-plantuml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weikangchia/pre-commit-hooks-plantuml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weikangchia%2Fpre-commit-hooks-plantuml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weikangchia%2Fpre-commit-hooks-plantuml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weikangchia%2Fpre-commit-hooks-plantuml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weikangchia%2Fpre-commit-hooks-plantuml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weikangchia","download_url":"https://codeload.github.com/weikangchia/pre-commit-hooks-plantuml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weikangchia%2Fpre-commit-hooks-plantuml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33041204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["git","plantuml","plantuml-generator","prehook"],"created_at":"2025-02-13T16:54:56.514Z","updated_at":"2026-05-14T20:03:13.336Z","avatar_url":"https://github.com/weikangchia.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pre-Commit PlantUML\n\n## Getting Started\n\n1. Install Java\n2. Graphviz (Optional)\n3. Go to your project directory and download a copy of plantuml.jar (https://sourceforge.net/projects/plantuml/files/plantuml.jar/download)\n4. Go to your project `.git/hooks` folder\n   1. Download a copy of the plantuml.pre-commit.sh\n      ```\n      curl -O https://raw.githubusercontent.com/weikangchia/pre-commit-hooks-plantuml/main/plantuml.pre-commit.sh\n      ```\n   2. Make the file executable\n      ```\n      chmod +x plantuml.pre-commit.sh\n      ```\n   3. Open your `pre-commit` file and add the following code to run plantuml.pre-commit.sh\n      ```\n      #!/bin/bash\n      \n      ...\n\n      \"$(git rev-parse --git-dir)/hooks/plantuml.pre-commit.sh\"\n      ```\n\n## How It Works\n\nDuring the commit of any PlantUML file (file with extension: .puml), if we\n- add or update a PlantUML file, a PlantUML image will be generated based on the file and commit\n- delete a PlantUML file, existing PlantUML image will be deleted together in the commit\n\n## License\n\nDistributed under the MIT License. See [LICENSE](license) for more information.\n\n## Contributing\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.\n\n## Contact\n\nWei Kang - weikangchia[@]gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweikangchia%2Fpre-commit-hooks-plantuml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweikangchia%2Fpre-commit-hooks-plantuml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweikangchia%2Fpre-commit-hooks-plantuml/lists"}