{"id":16952421,"url":"https://github.com/srwiez/svgtinyps-cli","last_synced_at":"2025-04-11T21:21:34.065Z","repository":{"id":204782896,"uuid":"712652526","full_name":"SRWieZ/svgtinyps-cli","owner":"SRWieZ","description":"CLI tool for SVG Tiny P/S (Portable and Secure) conversion","archived":false,"fork":false,"pushed_at":"2024-11-21T10:19:53.000Z","size":179,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T04:48:23.426Z","etag":null,"topics":["bimi","cli","phar","php","svg"],"latest_commit_sha":null,"homepage":"https://checkbimi.com/convertsvg","language":"PHP","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/SRWieZ.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-10-31T22:51:04.000Z","updated_at":"2025-01-09T09:42:47.000Z","dependencies_parsed_at":"2024-02-07T18:25:41.545Z","dependency_job_id":"c06c834a-d190-4da6-af29-e556363641fd","html_url":"https://github.com/SRWieZ/svgtinyps-cli","commit_stats":null,"previous_names":["srwiez/svgtinyps-cli"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SRWieZ%2Fsvgtinyps-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SRWieZ%2Fsvgtinyps-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SRWieZ%2Fsvgtinyps-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SRWieZ%2Fsvgtinyps-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SRWieZ","download_url":"https://codeload.github.com/SRWieZ/svgtinyps-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480421,"owners_count":21110939,"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":["bimi","cli","phar","php","svg"],"created_at":"2024-10-13T22:03:02.917Z","updated_at":"2025-04-11T21:21:34.033Z","avatar_url":"https://github.com/SRWieZ.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svgtinyps\n\n![GitHub release (with filter)](https://badgen.net/github/release/SRWieZ/svgtinyps-cli)\n![Packagist PHP Version](https://badgen.net/packagist/php/SRWieZ/svgtinyps-cli)\n![Packagist License (custom server)](https://badgen.net/packagist/license/SRWieZ/svgtinyps-cli)\n\n\nCLI Tool for SVG Tiny P/S (Portable and Secure) conversion and BIMI compliance.\n\n[Read more from bimi group](https://bimigroup.org/creating-bimi-svg-logo-files/)\nand [the RFC](https://datatracker.ietf.org/doc/id/draft-svg-tiny-ps-abrotman-00.txt)\n\n🧪 If you just want to convert your SVG in a nice UI, you can use the\n[online version of the converter!](https://checkbimi.com/convertsvg)\n\nYou can also checkout the [PHP package](https://github.com/SRWieZ/php-svg-ps-converter) that this project is based on.\n\n## 🚀 Installation\n\n[//]: # (Download the latest release from [Github releases]\u0026#40;https://github.com/SRWieZ/svgtinyps-cli/releases\u0026#41;)\n\nVia [Composer](https://getcomposer.org/) global install command\n```bash\ncomposer global install srwiez/svgtinyps-cli\n```\n\nBy [downloading binaries](https://github.com/SRWieZ/svgtinyps-cli/releases/latest) on the latest release, currently only these binaries are compiled on the CI:\n- macOS x86_64\n- macOS arm64\n- linux x86_64\n- linux arm64\n- windows x64\n\n[//]: # (Coming soon to [Homebrew]\u0026#40;https://brew.sh/\u0026#41;)\n\n[//]: # (Via [Homebrew]\u0026#40;https://brew.sh/\u0026#41; \u0026#40;macOS \u0026 Linux\u0026#41;)\n\n[//]: # (```bash)\n\n[//]: # (brew tap srwiez/homebrew-tap)\n\n[//]: # (brew install svgtinyps)\n\n[//]: # (```)\n\n## 📚 Usage\n\nIdentify issues in an SVG file\n```bash\nsvgtinyps issues input.svg\n```\n\nConvert an SVG file to SVG (P/S)\n```bash\nsvgtinyps convert input.svg output.svg\n```\n\nIf in the identified issues, you missing th title tag, you can set its value with the `--title` option\n```bash\nsvgtinyps convert input.svg output.svg --title=\"My awesome company\"\n```\n\n\n## 🚦 Testing\nThis project use [Pest](https://pestphp.com/) for testing.\n```bash\ncomposer test\n```\n\n## 👥 Contribute\nThis project follows PSR coding style. You can use `composer pint` to apply.\n\nAll tests are executed with pest. Use `composer pest`\n\nIt's recommended to execute `composer qa` before commiting (alias for executing Pint and Pest)\n\n## 🔧 Build from sources\nThis project use [box](https://github.com/box-project/box), [php-static-cli](https://github.com/crazywhalecc/static-php-cli) and [php-micro](https://github.com/dixyes/phpmicro).\nA build script has been created to build the project. (tested only on macOS x86_64)\n\n```bash\ncomposer build\n```\nThen you can build the binary that you can retrieve in `build/bin/`\n\n[//]: # (You can also build it from Github Workflow, or locally on MacOS using [act]\u0026#40;https://github.com/nektos/act\u0026#41;)\n\n[//]: # (```bash)\n\n[//]: # (act -j build-macos-binary -P macos-latest=-self-hosted)\n\n[//]: # (act -j build-linux-binary)\n\n[//]: # (act -j build-linux-arm-binary)\n\n[//]: # (```)\n## 📋 Roadmap\nPull requests are welcome! Here are some ideas to get you started:\n- Use Symfony Console for better ui\n- Publish on Homebrew \n\n## 👥 Credits\n\n**svgtinyps** was created by Eser DENIZ.\n\nInspired by the official scripts\nof [authindicators/svg-ps-converters](https://github.com/authindicators/svg-ps-converters)\n\nThanks to [gilbarbara/logos](https://github.com/gilbarbara/logos) for the logos used in the tests.\n\n## 📝 License\n\n**svgtinyps** PHP is licensed under the MIT License. See LICENSE for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrwiez%2Fsvgtinyps-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrwiez%2Fsvgtinyps-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrwiez%2Fsvgtinyps-cli/lists"}