{"id":17702658,"url":"https://github.com/friendlymatthew/leptos-csr-starter-kit","last_synced_at":"2025-09-07T06:07:07.565Z","repository":{"id":213997226,"uuid":"707666611","full_name":"friendlymatthew/leptos-csr-starter-kit","owner":"friendlymatthew","description":"a trusty leptos csr template","archived":false,"fork":false,"pushed_at":"2024-01-06T15:53:08.000Z","size":10858,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T22:32:40.138Z","etag":null,"topics":["leptos","leptos-devtools"],"latest_commit_sha":null,"homepage":"https://leptos-csr-starter.vercel.app/","language":"Rust","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/friendlymatthew.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":"2023-10-20T11:51:13.000Z","updated_at":"2025-04-09T10:27:18.000Z","dependencies_parsed_at":"2024-01-06T16:43:09.253Z","dependency_job_id":"7b4869f7-2154-4689-965a-c9568712e225","html_url":"https://github.com/friendlymatthew/leptos-csr-starter-kit","commit_stats":null,"previous_names":["friendlymatthew/create-leptos-csr"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlymatthew%2Fleptos-csr-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlymatthew%2Fleptos-csr-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlymatthew%2Fleptos-csr-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlymatthew%2Fleptos-csr-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friendlymatthew","download_url":"https://codeload.github.com/friendlymatthew/leptos-csr-starter-kit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870863,"owners_count":21976613,"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":["leptos","leptos-devtools"],"created_at":"2024-10-24T19:08:40.507Z","updated_at":"2025-05-13T04:00:21.662Z","avatar_url":"https://github.com/friendlymatthew.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## *create-leptos-csr*\nGenerate a client-side rendered leptos application with one command.\n\n![mesa](https://github.com/friendlymatthew/create-leptos-csr/assets/38759997/39c3c457-abd8-467b-a3b1-07aff61fd0ea)\n\n\n### Getting Started\nInstall `create-leptos-csr` globally using:\n```bash\ncargo install create-leptos-csr-tw\n```\n\nThis command installs the necessary binary, making it accessible from your command line. \n\nTo initiate a new Leptos project, run:\n```bash\ncreate-leptos-csr-tw\n```\n\n### Template features:\n\n- [x] TailwindCSS for styling\n- [x] Serves image content from `/public` that trunk recognizes\n- [x] Mobile viewport configuration \n- [x] An **optional** `vercel` config file to for deployment routing.\n- [x] [`Leptos-use`](https://github.com/Synphonyte/leptos-use), a collection of Leptos utilities\n- [x] Up to date crate dependencies\n\n### Why I made this\nCreating a client-side rendered Leptos application usually requires starting from scratch, involving multiple steps and potential hurdles.\n\nSomething like:\n```bash\ncargo init \u003cproject\u003e\ncargo add leptos --features=csr,nightly\ncd \u003cproject\u003e\ntouch index.html\n... # more work here\ntouch input.css\nnpx tailwindcss init\n... # setting up your tailwind...\nmkdir public\n(modify `index.html`)\n... # adding the same boilerplate to your index.html\ntrunk serve --open\n```\n\nThis crate aims to reduce all the hair pulling that a beginner would face when setting up a leptos application. For experienced developers, this crate saves you time by setting up the necessary stuff. \n\nIf you're just starting out, this is great starting point since you can use this template while reading [the Leptos book](https://book.leptos.dev/).\n\n\n### Recent Updates\n- [x] Update wasm-bindgen to 0.2.89\n- [x] Removed a lot of boilerplate in `app.rs`\n- [x] Restructured project to extend to more templates\n\n### Contributions\nContributions are warmly welcomed and greatly appreciated. I'd love to see other templates that use different styling libraries or deployment services.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlymatthew%2Fleptos-csr-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendlymatthew%2Fleptos-csr-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlymatthew%2Fleptos-csr-starter-kit/lists"}