{"id":13454659,"url":"https://github.com/solana-developers/create-solana-dapp","last_synced_at":"2025-05-14T17:10:18.481Z","repository":{"id":44481718,"uuid":"489040653","full_name":"solana-developers/create-solana-dapp","owner":"solana-developers","description":"CLI for creating Solana dApps on the fly","archived":false,"fork":false,"pushed_at":"2025-04-23T09:58:12.000Z","size":3200,"stargazers_count":470,"open_issues_count":9,"forks_count":136,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-12T02:07:39.545Z","etag":null,"topics":["anchor-framework","blockchain","cli","dapp","nextjs","nft","solana","spl-token","vue"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/create-solana-dapp","language":"TypeScript","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/solana-developers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2022-05-05T16:06:42.000Z","updated_at":"2025-05-11T07:26:05.000Z","dependencies_parsed_at":"2022-08-12T11:11:29.608Z","dependency_job_id":"1462d20f-f480-40f8-9933-aeff0eb4a903","html_url":"https://github.com/solana-developers/create-solana-dapp","commit_stats":{"total_commits":213,"total_committers":10,"mean_commits":21.3,"dds":"0.33333333333333337","last_synced_commit":"35b9b70d5a81a0d3e3bdb886cbc4799f59299567"},"previous_names":["solana-developers/create-solana-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Fcreate-solana-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Fcreate-solana-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Fcreate-solana-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Fcreate-solana-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solana-developers","download_url":"https://codeload.github.com/solana-developers/create-solana-dapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190396,"owners_count":22029632,"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":["anchor-framework","blockchain","cli","dapp","nextjs","nft","solana","spl-token","vue"],"created_at":"2024-07-31T08:00:56.481Z","updated_at":"2025-05-14T17:10:18.468Z","avatar_url":"https://github.com/solana-developers.png","language":"TypeScript","funding_links":[],"categories":["Getting Started For Noobs","Development Tools and Libraries","TypeScript","Developer Resources"],"sub_categories":["From the Docs","Development Tools","Dev Tooling"],"readme":"# create-solana-dapp\n\n:zap: Get up and running fast with Solana dApps :zap:\n\nJust run one simple command to generate a new project!\n\n```shell\nnpx create-solana-dapp@latest\n```\n\n[![npm version](https://img.shields.io/npm/v/create-solana-dapp?color=yellow)](https://npmjs.com/package/create-solana-dapp)\n[![npm downloads](https://img.shields.io/npm/dm/create-solana-dapp?color=yellow)](https://npmjs.com/package/create-solana-dapp)\n\n## Templates\n\nThe templates are supported within `create-solana-dapp`:\n\n- Next.js\n  - [Next.js + Tailwind CSS (no Anchor)](https://github.com/solana-developers/template-next-tailwind)\n  - [Next.js + Tailwind CSS + Anchor Basic Example](https://github.com/solana-developers/template-next-tailwind-basic)\n  - [Next.js + Tailwind CSS + Anchor Counter Example](https://github.com/solana-developers/template-next-tailwind-counter)\n- React with Vite\n  - [React with Vite + Tailwind CSS (no Anchor)](https://github.com/solana-developers/template-react-vite-tailwind)\n  - [React with Vite + Tailwind CSS + Anchor Basic Example](https://github.com/solana-developers/template-react-vite-tailwind-basic)\n  - [React with Vite + Tailwind CSS + Anchor Counter Example](https://github.com/solana-developers/template-react-vite-tailwind-counter)\n\n## External templates\n\nYou can also use `create-solana-dapp` to create projects using external templates:\n\nThe `--template` (or `-t`) flag supports anything that [giget](https://github.com/unjs/giget) supports\n\n```shell\npnpx create-solana-dapp --template \u003cgithub-org\u003e/\u003cgithub-repo\u003e\n```\n\n## Init script\n\nTemplate authors can add an init script to the `package.json` file to help set up the project.\n\nUse this script to return instructions to the user, check the `anchor` and `solana` versions, and replace text and files\nin the project.\n\n```jsonc\n{\n  \"name\": \"your-template\",\n  \"create-solana-dapp\": {\n    // These instructions will be returned to the user after installation\n    \"instructions\": [\n      \"Run Anchor commands:\",\n      // Adding a '+' will make the line bold and '{pm}' is replaced with the package manager\n      \"+{pm} run anchor build | test | localnet | deploy\",\n    ],\n    // Rename is a map of terms to rename\n    \"rename\": {\n      // Rename every instance of counter\n      \"counter\": {\n        // With the name of the project\n        \"to\": \"{{name}}\",\n        // In the following paths\n        \"paths\": [\"anchor\", \"src\"],\n      },\n    },\n    // Check versions and give a warning if it's not installed or the version is lower\n    \"versions\": {\n      \"anchor\": \"0.30.1\",\n      \"solana\": \"1.18.0\",\n    },\n  },\n}\n```\n\n### Planned frameworks to support\n\nThe following UI frameworks are planned and expected to be supported in the future:\n\n- VueJS\n- Svelte\n- React Native\n\n## Supported on-chain program frameworks\n\nThe following on-chain programs (aka smart contracts) frameworks are supported within `create-solana-dapp`:\n\n- Anchor\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for more info.\n\n## Local development\n\n\u003e [!TIP] This project uses [pnpm](https://pnpm.io/) as the package manager. If you don't have it, you can install it\n\u003e using `corepack`:\n\u003e\n\u003e ```sh\n\u003e corepack enable\n\u003e corepack prepare pnpm@10 --activate\n\u003e ```\n\nTo install the project locally, run the following commands:\n\n```shell\ngit clone https://github.com/solana-developers/create-solana-dapp.git\ncd create-solana-dapp\npnpm install\npnpm build\n```\n\nDetailed instructions on the local development workflow are outlined in the\n[Development Workflow](./CONTRIBUTING.md#development-workflow) section of the CONTRIBUTING guidelines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-developers%2Fcreate-solana-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolana-developers%2Fcreate-solana-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-developers%2Fcreate-solana-dapp/lists"}