{"id":21306133,"url":"https://github.com/brlin-tw/clean-filter-for-svg","last_synced_at":"2026-05-17T04:34:11.642Z","repository":{"id":143329465,"uuid":"91861569","full_name":"brlin-tw/Clean-Filter-for-SVG","owner":"brlin-tw","description":"A clean filter for SVG for Git and other applications.  Currently it strips out personal information and metadata not suited for version controlling.","archived":false,"fork":false,"pushed_at":"2021-10-25T17:59:14.000Z","size":191,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T08:45:44.916Z","etag":null,"topics":["git","git-filter","inkscape","metadata","metadata-stripping","privacy","svg","xml"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brlin-tw.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-20T03:05:20.000Z","updated_at":"2022-02-04T04:18:51.000Z","dependencies_parsed_at":"2023-05-15T16:30:23.473Z","dependency_job_id":null,"html_url":"https://github.com/brlin-tw/Clean-Filter-for-SVG","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2FClean-Filter-for-SVG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2FClean-Filter-for-SVG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2FClean-Filter-for-SVG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2FClean-Filter-for-SVG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brlin-tw","download_url":"https://codeload.github.com/brlin-tw/Clean-Filter-for-SVG/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784100,"owners_count":20347409,"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":["git","git-filter","inkscape","metadata","metadata-stripping","privacy","svg","xml"],"created_at":"2024-11-21T16:21:44.509Z","updated_at":"2026-05-17T04:34:06.605Z","avatar_url":"https://github.com/brlin-tw.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 用於 SVG 的清潔過濾器\u003cbr\u003eClean Filter for SVG\n[![Build Status of the latest development snapshot on Travis CI](https://travis-ci.org/Lin-Buo-Ren/Clean-Filter-for-SVG.svg?branch=master)](https://travis-ci.org/Lin-Buo-Ren/Clean-Filter-for-SVG)[![Snap Status](https://build.snapcraft.io/badge/Lin-Buo-Ren/Clean-Filter-for-SVG.svg)](https://build.snapcraft.io/user/Lin-Buo-Ren/Clean-Filter-for-SVG)  \nA clean filter for SVG for Git and other applications.  Currently it strips out personal information and metadata not suited for version controlling.\n\n\u003chttps://github.com/Lin-Buo-Ren/Clean-Filter-for-SVG\u003e\n\n## 原作者\u003cbr\u003eOriginal Author\n林博仁\n\n## 如何使用\u003cbr\u003eHow to use?\nThe following instructions is for projects that're using Git as their VCS to integrate Clean Filter for SVG, you may use this software for other purposes as well.\n\n## If your system supports [Snapd](https://snapcraft.io/docs/installing-snapd)\n1. Install Snapd if you haven't, make sure to restart your login session to make the environment changes take effect\n1. Install [the clean-filter-for-svg snap](https://snapcraft.io/clean-filter-for-svg)  \n\n    [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/clean-filter-for-svg)[![安裝軟體敬請移駕 Snap Store](https://snapcraft.io/static/images/badges/tw/snap-store-black.svg)](https://snapcraft.io/clean-filter-for-svg)\n\n1. Merge the following gitattributes(5) file setup:  \n\n    ```\n\t# gitattributes - defining attributes per path\n\t# https://git-scm.com/docs/gitattributes\n\t## Setup filters for SVG\n\t## Refer .gitconfig for more information\n\t*.svg filter=svg\n    ```\n\n1. Merge the following git-config(1) configuration:\n\n    ```\n\t# Project-specific Git Configuration\n\t# Documentation: manpage: git-config(1)\n\t[filter \"svg\"]\n\t\tclean = \"clean-filter-for-svg\"\n\n    ```\n\n1. Profit!  The SVG files checked into the staging area will now passed through the clean filter, you may want to implement a development environment setup script like [this](\u003cSetup Development Environment.bash\u003e) to ease other contributer's setup.\n\n## If your system doesn't support Snapd\n1. Install [XMLStarlet Command Line XML Toolkit](http://xmlstar.sourceforge.net), which is this software's runtime dependency.  Make sure the `xmlstarlet` command is in your command search `PATH`s\n1. Clone this Git repository as your repo's submodule\n1. Merge the following gitattributes(5) file setup:  \n\n    ```\n\t# gitattributes - defining attributes per path\n\t# https://git-scm.com/docs/gitattributes\n\t## Setup filters for SVG\n\t## Refer .gitconfig for more information\n\t*.svg filter=svg\n    ```\n\n1. Merge the following git-config(1) configuration:\n\n    ```\n\t# Project-specific Git Configuration\n\t# Documentation: manpage: git-config(1)\n\t[filter \"svg\"]\n\t\tclean = \"\\\"./path/to/the/submodule/Clean Filter for SVG.bash\\\"\"\n\n    ```\n\n1. Profit!  The SVG files checked into the staging area will now pass through the clean filter, you may want to implement a development environment setup script like [this](\u003cSetup Development Environment.bash\u003e) to ease other contributer's setup.\n\n## Known alternatives\n* [cdcasey/svgclean](https://github.com/cdcasey/svgclean)\n\n## 智慧財產授權條款\u003cbr\u003eIntellectual Property License\nGNU GPLv3 or any later releases you prefer\n\n```\n這個專案介紹文件是基於專案介紹文件範本\nThis README is based on Project README Template\n\nhttp://github.com/Lin-Buo-Ren/Project-README-templates\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrlin-tw%2Fclean-filter-for-svg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrlin-tw%2Fclean-filter-for-svg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrlin-tw%2Fclean-filter-for-svg/lists"}