{"id":21367478,"url":"https://github.com/isleofcode/splicon","last_synced_at":"2025-07-13T05:31:42.667Z","repository":{"id":9746399,"uuid":"62680710","full_name":"isleofcode/splicon","owner":"isleofcode","description":"Generate cordova/splash files from a single svg, and update config.xml","archived":false,"fork":false,"pushed_at":"2022-02-25T15:46:49.000Z","size":93,"stargazers_count":12,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T15:13:34.364Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isleofcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-06T01:16:21.000Z","updated_at":"2022-02-25T15:44:02.000Z","dependencies_parsed_at":"2022-07-25T22:32:49.270Z","dependency_job_id":null,"html_url":"https://github.com/isleofcode/splicon","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleofcode%2Fsplicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleofcode%2Fsplicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleofcode%2Fsplicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleofcode%2Fsplicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isleofcode","download_url":"https://codeload.github.com/isleofcode/splicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225856865,"owners_count":17535135,"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-11-22T07:19:21.888Z","updated_at":"2024-11-22T07:19:22.359Z","avatar_url":"https://github.com/isleofcode.png","language":"JavaScript","readme":"Splicon (beta)\n--------------\n[![Build\nStatus](https://travis-ci.org/isleofcode/splicon.svg?branch=master)](https://travis-ci.org/isleofcode/splicon)\n\nSplicon is a command-line tool and library for generating icons and splash\nscreens for Cordova projects. It generates the images for each platform's\nrequired sizes using a single source SVG and updates the project's config.xml.\n\nIt was originally built for use in [ember-cordova](https://github.com/isleofcode/ember-cordova).\n\nIt is built for Node 0.12+ but may work on earlier versions.\n\n## Icons\n\nFor an integration example, see the [ember-cordova `make-icon` command](https://github.com/isleofcode/ember-cordova/tree/master/lib/commands/make-icons.js).\n\nUsing the CLI, from your Cordova project, run:\n\n```\n splicon-icons\n```\n\nThis command will:\n\n1. Look for a file called 'icon.svg';\n2. Resize the SVG for each required platform/icon combination;\n3. Move the icons to res/icons/platformName (and create the dir if it does not\n   exist);\n4. Update your config.xml to represent the new icons \u0026 paths;\n5. Ensure there are no duplicate icon nodes in config.xml;\n\nBy default, images for all platforms will be generated. To generate images for\nspecific platforms you can pass the platforms as arguments:\n\n```\nsplicon-icons ios android windows\n```\n\nFor more granular control (such as setting the destination path), you\nwill need to require src/icon-task and run the function yourself.\n\nThere is a TODO to enhance CLI flag, but in most cases this is handled in\n[ember-cordova](https://github.com/isleofcode/ember-cordova).\n\n## Splash Screens\n\n```\nsplicon-splashes\n```\n\nLike `splicon-icons`, by default images for all platforms will be generated. To\ngenerate images for specific platforms you can pass the platforms as arguments:\n\n```\nsplicon-splashes ios\n```\n\n## Testing\n\n```\nnpm test\n```\n\n## Contributing\n\nPRs are very welcome. You can read our style guides\n[here](https://github.com/isleofcode/style-guide).\n\nIf you are unsure about your contribution idea, please feel free to open an\nissue for feedback.\n\n## Credits\n\n[ember-cordova](https://github.com/isleofcode/ember-cordova) is maintained by\n[Isle of Code](https://isleofcode.com) and was written by Alex Blom and Jordan\nYee based on work by Chris Thoburn and Alex Blom.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisleofcode%2Fsplicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisleofcode%2Fsplicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisleofcode%2Fsplicon/lists"}