{"id":20669633,"url":"https://github.com/fox-one/4swap-icon-gen","last_synced_at":"2026-04-20T12:04:30.277Z","repository":{"id":97515642,"uuid":"334857586","full_name":"fox-one/4swap-icon-gen","owner":"fox-one","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-20T14:51:49.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T13:32:38.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/fox-one.png","metadata":{"files":{"readme":"README.md","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":"2021-02-01T06:51:32.000Z","updated_at":"2023-07-20T14:51:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"556153de-3479-4d5a-98a3-a8527d9e98e7","html_url":"https://github.com/fox-one/4swap-icon-gen","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/fox-one%2F4swap-icon-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox-one%2F4swap-icon-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox-one%2F4swap-icon-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox-one%2F4swap-icon-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fox-one","download_url":"https://codeload.github.com/fox-one/4swap-icon-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242886164,"owners_count":20201494,"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-16T20:15:12.869Z","updated_at":"2026-04-20T12:04:30.232Z","avatar_url":"https://github.com/fox-one.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 4swap Icons generator\n\nGenerate icons and directory structure according to the [contribute guideline](https://github.com/MixinNetwork/asset-profile)\n\n\n## Usage\n\n\n```\n$ git clone git@github.com:fox-one/4swap-icon-gen.git\n```\n\n```\n$ cd 4swap-icon-gen\n```\n\n```\n$ go build\n```\n\nCreate keystore.json from [Mixin Developer Dashboard](https://developers.mixin.one/dashboard)\n\n\n```\n$ ./4swap-icon-gen \\\n\t-config keystore.json   \\\n\t-a0 NEW_ASSET_ID  \\\n\t-a1 THE_FIRST_ASSET_ID \\\n\t-a2 THE_SECOND_ASSET_ID \\\n\t-o OUTPUT_PATH \\\n\t-c1 CUSTOM_COLOR_1 \\\n\t-c2 CUSTOM_COLOR_2 \\\n\t-ic1 CUSTOM_ICON_1 \\\n\t-ic2 CUSTOM_ICON_2\n```\n\nexample:\n\n```\n$ ./4swap-icon-gen -config keystore.json -a0 NEW_ASSET_ID -a1 54c61a72-b982-4034-a556-0d99e3c21e39 -a2 a31e847e-ca87-3162-b4d1-322bc552e831\n```\n\nUsing custom icon files:\n\n```\n$ ./4swap-icon-gen -config keystore.json -a0 NEW_ASSET_ID -a1 54c61a72-b982-4034-a556-0d99e3c21e39 -a2 a31e847e-ca87-3162-b4d1-322bc552e831 -ic1 ./btc.png -ic2 ./dot.png\n```\n\nUsing custom colors:\n\n```\n$ ./4swap-icon-gen -config keystore.json -a0 NEW_ASSET_ID -a1 54c61a72-b982-4034-a556-0d99e3c21e39 -a2 a31e847e-ca87-3162-b4d1-322bc552e831 -c1 \"#F7931B\" -c2 \"#000000\"\n```\n\nUsing custom output path:\n\n```\n$ ./4swap-icon-gen -config keystore.json -a0 NEW_ASSET_ID -a1 54c61a72-b982-4034-a556-0d99e3c21e39 -a2 a31e847e-ca87-3162-b4d1-322bc552e831 -o YOUR_OUTPUT_PATH\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffox-one%2F4swap-icon-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffox-one%2F4swap-icon-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffox-one%2F4swap-icon-gen/lists"}