{"id":17920067,"url":"https://github.com/snailedlt/svg-recolor","last_synced_at":"2026-05-06T08:33:07.130Z","repository":{"id":246381357,"uuid":"820860424","full_name":"Snailedlt/svg-recolor","owner":"Snailedlt","description":"Website, API and CLI to let you easily recolor/tint svg files","archived":false,"fork":false,"pushed_at":"2025-01-23T15:33:13.000Z","size":3230,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T16:04:00.512Z","etag":null,"topics":["coloring","fastapi","foss","image-editing","open-source","python","solo-project","svg","svg-editing","tinting","vercel"],"latest_commit_sha":null,"homepage":"https://svg-recolor.jorgenkh.no","language":"HTML","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/Snailedlt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["snailedlt"],"patreon":null,"open_collective":null,"ko_fi":"snailedlt","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"snailedlt","thanks_dev":null,"custom":null}},"created_at":"2024-06-27T10:19:07.000Z","updated_at":"2025-10-17T20:01:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ec02241-ad28-4fb5-ae2d-00652e9584f9","html_url":"https://github.com/Snailedlt/svg-recolor","commit_stats":null,"previous_names":["snailedlt/svg-recolor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Snailedlt/svg-recolor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snailedlt%2Fsvg-recolor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snailedlt%2Fsvg-recolor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snailedlt%2Fsvg-recolor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snailedlt%2Fsvg-recolor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snailedlt","download_url":"https://codeload.github.com/Snailedlt/svg-recolor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snailedlt%2Fsvg-recolor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32684659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["coloring","fastapi","foss","image-editing","open-source","python","solo-project","svg","svg-editing","tinting","vercel"],"created_at":"2024-10-28T20:20:58.271Z","updated_at":"2026-05-06T08:33:07.115Z","avatar_url":"https://github.com/Snailedlt.png","language":"HTML","funding_links":["https://github.com/sponsors/snailedlt","https://ko-fi.com/snailedlt","https://buymeacoffee.com/snailedlt","https://ko-fi.com/H2H0GY0OU","https://www.buymeacoffee.com/snailedlt"],"categories":[],"sub_categories":[],"readme":"# SVG Recolor\n\n[![GitHub license](https://img.shields.io/github/license/Snailedlt/svg-recolor)](https://github.com/Snailedlt/svg-recolor/blob/main/LICENSE)\n[![wakatime](https://wakatime.com/badge/github/Snailedlt/svg-recolor.svg)](https://wakatime.com/badge/github/Snailedlt/svg-recolor)\n[![ko-fi](https://img.shields.io/badge/Ko--fi-support_me_on-red?logo=ko-fi)](https://ko-fi.com/snailedlt)\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-donate-yellow?logo=buymeacoffee)](https://buymeacoffee.com/snailedlt)\n\nSVG Recolor is a simple CLI tool, API and website to recolor SVG files. It is written in python.\n\n\u003c!-- ![website](website_screenshot.png) --\u003e\n\n\u003e [!NOTE]\n\u003e Submodules have their own licenses and may or may not be covered by the license of this project. Check the submodule's license for details.\n\n\u003e [!WARNING]\n\u003e This project is still under construction and may not be fully functional yet.\n\n## Features\n\n[Website](#website): Use the intuitive web interface to recolor SVG files without any setup.\n[API](#api): Integrate SVG recoloring into your applications with ease.\n[CLI Tool](#cli-tool): Recolor SVG files directly from your terminal with this Python script.\n[Legacy Shell Script](#legacy-shell-script): Same as above, but with a shell script (not maintained).\n\n## Usage\n\n### Website\n\nThe website is hosted at [svg-recolor.jorgenkh.no](https://svg-recolor.jorgenkh.no) and requires no installation.\n\n### API\n\nThe API is hosted at the same url as the website. You can find the swagger documentation on [svg-recolor.jorgenkh.no/docs](https://svg-recolor.jorgenkh.no/api) or [svg-recolor.jorgenkh.no/redoc](https://svg-recolor.jorgenkh.no/redoc) if you prefer the redoc style.\n\n### CLI Tool\n\nSimply dowload `colorize_svg.py` and run it with python.\n\nExample usage:\n\n```sh\npython colorize_svg.py path/to/input.svg path/to/output.svg --color \"255,0,0\"\n```\n\n### Legacy Shell Script\n\nDownload `colorize_svg.sh` and run it in your terminal.\n\nExample Usage:\n\n```bash\n# Recolor the input SVG file to red and save it to the output file using RGB color values\n./colorize_svg.sh \"example-input-svgs/input.svg\" tmp/output.svg --color \"255,0,0\"\n\n# Recolor the input SVG file to red and save it to the output file using hex color values\n./colorize_svg.sh \"example-input-svgs/input.svg\" tmp/output.svg --color \"#FF0000\"\n```\n\n## Contributing\n\nSee any bugs or missing features? Feel free to open an issue or submit a pull request, I'm open to anything!\nCheck out [Local Development](#local-development) for more information on how to set up the project locally.\n\nOther ways to contribute:\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/H2H0GY0OU)\n\u003c!--markdownlint-disable-next-line MD033 --\u003e\n\u003ca href=\"https://www.buymeacoffee.com/snailedlt\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n## Local Development\n\n### Requirements\n\n- Python 3.10 or higher\n- [Pipenv](https://pipenv.pypa.io/en/latest/)\n\n### Installation\n\nClone the repository and install the dependencies using pipenv.\n\n```sh\ngit clone https://github.com/Snailedlt/svg-recolor.git\ncd svg-recolor\npipenv install\n```\n\nCompile svgshift (a submodule) by running the following command\nReplace `\u003cyour-environment\u003e` with your environment (e.g. windows, linux).\n\n```sh\ngcc submodules/svgshift/svgshift.c -o svgshift-\u003cyour-environment\u003e.exe\n```\n\n### Running the API\n\nTo run the API, use the following command:\n\n```sh\npipenv run dev\n```\n\n### Running the CLI Tool\n\nIf you wish to run the CLI without downloading the required dependencies to a separate virtual env, you can use the following command:\n\n```sh\n# Update the dependencies if you haven't already\npipenv update\npipenv run colorize path/to/input.svg path/to/output.svg --color \"255,0,0\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnailedlt%2Fsvg-recolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnailedlt%2Fsvg-recolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnailedlt%2Fsvg-recolor/lists"}