{"id":22363286,"url":"https://github.com/shift/git_png_optimise","last_synced_at":"2025-10-29T07:38:56.957Z","repository":{"id":437253,"uuid":"58340","full_name":"shift/git_png_optimise","owner":"shift","description":"A Rails plugin / Git hook that optimises PNGs upon adding or updating.","archived":false,"fork":false,"pushed_at":"2022-06-26T09:15:25.000Z","size":102,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-15T14:13:07.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/shift.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-10-01T10:10:10.000Z","updated_at":"2023-09-08T16:25:00.000Z","dependencies_parsed_at":"2022-07-08T07:44:36.966Z","dependency_job_id":null,"html_url":"https://github.com/shift/git_png_optimise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fgit_png_optimise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fgit_png_optimise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fgit_png_optimise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fgit_png_optimise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shift","download_url":"https://codeload.github.com/shift/git_png_optimise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228154022,"owners_count":17877704,"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-12-04T17:14:22.198Z","updated_at":"2025-10-29T07:38:51.924Z","avatar_url":"https://github.com/shift.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"GitPngOptimise\n==============\n\nThis plugin is for optimising PNG's upon commit into a git repository, it backs up your current pre-commit hook if there is one and replaces it, your git pre-commit hook located in .git/hooks/pre-commit.\n\nThe plugin supports OptiPNG (packaged with the plugin, for OS X) and PNGOUT available from http://advsys.net/ken/utils.htm\n\nInstallation\n============\n\nopen .git/hooks/pre-commit and change OptiPNG flags as required.\n\nHowto install PNGOUT\n====================\n\nDrop the binary file into the plugins bin directory named 'pngout' and 'chmod +x pngout'\n\n\nUsage\n=====\n\ngit add public/images/header.png\ngit commit -m \"Look ma no hands.\"\n\nCopyright (c) 2008 Vincent Palmer \u0026 Piers Cawley, released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshift%2Fgit_png_optimise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshift%2Fgit_png_optimise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshift%2Fgit_png_optimise/lists"}