{"id":28746140,"url":"https://github.com/ether/ep_git_commit_saved_revision","last_synced_at":"2025-06-16T14:30:33.345Z","repository":{"id":38340560,"uuid":"259369659","full_name":"ether/ep_git_commit_saved_revision","owner":"ether","description":"Events on Saved Revision in Etherpad","archived":false,"fork":false,"pushed_at":"2024-03-16T21:43:59.000Z","size":3744,"stargazers_count":5,"open_issues_count":7,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-10T06:39:15.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ether.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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}},"created_at":"2020-04-27T15:16:40.000Z","updated_at":"2025-02-12T03:26:27.000Z","dependencies_parsed_at":"2024-03-17T00:40:21.593Z","dependency_job_id":"a20cff25-d9df-4371-91db-891e219873b8","html_url":"https://github.com/ether/ep_git_commit_saved_revision","commit_stats":null,"previous_names":["johnmclear/ep_git_commit_saved_revision"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/ether/ep_git_commit_saved_revision","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_git_commit_saved_revision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_git_commit_saved_revision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_git_commit_saved_revision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_git_commit_saved_revision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ether","download_url":"https://codeload.github.com/ether/ep_git_commit_saved_revision/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_git_commit_saved_revision/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260175594,"owners_count":22970003,"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":"2025-06-16T14:30:32.550Z","updated_at":"2025-06-16T14:30:33.301Z","avatar_url":"https://github.com/ether.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Publish Status](https://github.com/ether/ep_git_commit_saved_revision/workflows/Node.js%20Package/badge.svg) ![Backend Tests Status](https://github.com/ether/ep_git_commit_saved_revision/workflows/Backend%20tests/badge.svg)\n\n# Saved Revision Hooks\n\nPerform tasks when you hit saved revision.\n\n## Example Settings.json for committing to git\n```\n  /*\n    Available variables to plugin are:\n    * padId = The ID of the Pad you are working on IE \"foo\"\n    * message = the message IE \"Hello world\"\n    * path = The path defined in the settings blob\n  */\n  \"ep_git_commit_saved_revision\":{\n    \"path\":\"/home/jose/develop/var/git\",\n    \"initCommand\":\"git init ${path}\",\n    \"saveCommand\":\"git -C \\\"${path}\\\" add \\\"${padId}.txt\\\" \u0026\u0026 git -C \\\"${path}\\\" commit -m \\\"${message}\\\"\"\n  }\n```\n\n## Installation\n1. Install using http://%youretherpad%/admin/plugins or ``npm install ep_git_commit_saved_revision``\n1. Copy / paste above settings example into the bottom of settings.json\n\n## TODO\n* i18n support\n* Clean up\n* More hook example\n\n## License\nApache 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fether%2Fep_git_commit_saved_revision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fether%2Fep_git_commit_saved_revision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fether%2Fep_git_commit_saved_revision/lists"}