{"id":14968449,"url":"https://github.com/metaplex-foundation/sugar","last_synced_at":"2025-10-24T09:23:08.262Z","repository":{"id":37024178,"uuid":"451571960","full_name":"metaplex-foundation/sugar","owner":"metaplex-foundation","description":"Candy Machine Rust CLI.","archived":false,"fork":false,"pushed_at":"2024-12-06T23:47:40.000Z","size":1917,"stargazers_count":222,"open_issues_count":13,"forks_count":133,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-10-14T07:23:43.067Z","etag":null,"topics":["blockchain","metaplex","nft","rust","solana"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metaplex-foundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-01-24T17:50:51.000Z","updated_at":"2025-09-04T13:07:38.000Z","dependencies_parsed_at":"2022-07-11T02:51:24.266Z","dependency_job_id":"dcd59f07-98b3-43ee-a8cc-6ea59baffe7b","html_url":"https://github.com/metaplex-foundation/sugar","commit_stats":{"total_commits":485,"total_committers":29,"mean_commits":"16.724137931034484","dds":0.6432989690721649,"last_synced_commit":"9af4103aa0742db4f64cc2c6e660d837a776d976"},"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"purl":"pkg:github/metaplex-foundation/sugar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaplex-foundation%2Fsugar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaplex-foundation%2Fsugar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaplex-foundation%2Fsugar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaplex-foundation%2Fsugar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaplex-foundation","download_url":"https://codeload.github.com/metaplex-foundation/sugar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaplex-foundation%2Fsugar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280558252,"owners_count":26350821,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blockchain","metaplex","nft","rust","solana"],"created_at":"2024-09-24T13:39:56.377Z","updated_at":"2025-10-24T09:23:08.223Z","avatar_url":"https://github.com/metaplex-foundation.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Crate](https://img.shields.io/crates/v/sugar-cli)](https://crates.io/crates/sugar-cli)\n[![Downloads](https://img.shields.io/crates/d/sugar-cli)](https://crates.io/crates/sugar-cli)\n[![Stars](https://img.shields.io/github/stars/metaplex-foundation/sugar?style=social)](https://img.shields.io/github/stars/metaplex-foundation/sugar?style=social)\n[![Forks](https://img.shields.io/github/forks/metaplex-foundation/sugar?style=social)](https://img.shields.io/github/forks/metaplex-foundation/sugar?style=social)\n[![Release](https://img.shields.io/github/v/release/metaplex-foundation/sugar)](https://img.shields.io/github/v/release/metaplex-foundation/sugar)\n[![Build and Release](https://github.com/metaplex-foundation/sugar/actions/workflows/build.yml/badge.svg)](https://github.com/metaplex-foundation/sugar/actions/workflows/build.yml)\n[![License](https://img.shields.io/crates/l/sugar-cli)](https://github.com/metaplex-foundation/sugar/blob/main/LICENSE)\n\n# Sugar: A Candy Machine CLI\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"animation.gif\"\u003e\n\u003c/p\u003e\n\nSugar is an alternative to the current [Metaplex Candy Machine](https://developers.metaplex.com/candy-machine) CLI. It has been written from the ground up and includes several improvements:\n\n- better performance for upload of media/metadata files and deploy of the candy machine \u0026mdash; these operations take advantage of multithreaded systems to significantly speed up the computational time needed;\n- simplified build and installation procedures taking advantage of `cargo` package management, including a binary distributable package ready to use;\n- robust error handling and validation of inputs, including improvements to config and cache files, leading to more informative error messages.\n\nSee [the docs](https://developers.metaplex.com/candy-machine/sugar) for full installation and usage instructions.\n\n## Installation\n\n### Recommended Method\n\nFor macOS, Linux and Windows Subsystem Linux (WSL), run the following install script in your terminal:\n\n```bash\nbash \u003c(curl -sSf https://raw.githubusercontent.com/metaplex-foundation/sugar/main/script/sugar-install.sh)\n```\n\nFor Windows:\n\nDownload [this installer binary](https://github.com/metaplex-foundation/winstaller/releases/latest/download/winstaller.exe) and execute it. Since it is not a verified Windows binary you may have to choose \"Run Anyway\" from \"More Info\" on the pop-up Windows dialog.\n\n\u003e **Dependencies:**\n\u003e When installing on Ubuntu or WSL (Windows Subsystem Linux), you may need to install some additional dependencies:\n\u003e\n\u003e ```bash\n\u003e sudo apt install libudev-dev pkg-config unzip\n\u003e ```\n\n\n### Developers\n\nUsing Crates.io:\n\n```bash\ncargo install sugar-cli\n```\n\n\n\nBuild From Source:\n\n```bash\ncargo install --path ./\n```\n\n\n\n## Quick Start\n\nSet up your Solana CLI config with an RPC url and a keypair:\n\n```bash\nsolana config set --url \u003crpc url\u003e --keypair \u003cpath to keypair file\u003e\n```\n\nSugar will then use these settings by default if you don't specify them as CLI options, allowing commands to be much simpler.\n\nCreate a folder named `assets` to store your json and media file pairs with the naming convention 0.json, 0.\u003cext\u003e, 1.json, 1.\u003cext\u003e, etc., where the extension is `.png`, `.jpg`, etc. This is the same format described in the [Candy Machine v2 documentation](https://developers.metaplex.com/candy-machine/sugar/getting-started#preparing-your-files).\n\nYou can then use the `launch` command to start an interactive process to create your config file and deploy a Candy Machine to Solana:\n\n```bash\nsugar launch\n```\n\nAt the end of the execution of the `launch` command, the Candy Machine will be deployed on-chain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaplex-foundation%2Fsugar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaplex-foundation%2Fsugar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaplex-foundation%2Fsugar/lists"}