{"id":31959043,"url":"https://github.com/sugidaffection/cf-leptos-axum-template","last_synced_at":"2026-07-01T16:31:34.648Z","repository":{"id":315876883,"uuid":"1060779601","full_name":"sugidaffection/cf-leptos-axum-template","owner":"sugidaffection","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-24T09:20:53.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-14T15:19:22.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sugidaffection.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T15:21:40.000Z","updated_at":"2025-09-24T09:20:56.000Z","dependencies_parsed_at":"2025-09-21T11:33:31.525Z","dependency_job_id":"1b6ea712-defb-429a-a201-d1b0222de4e2","html_url":"https://github.com/sugidaffection/cf-leptos-axum-template","commit_stats":null,"previous_names":["sugidaffection/cf-leptos-axum-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sugidaffection/cf-leptos-axum-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugidaffection%2Fcf-leptos-axum-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugidaffection%2Fcf-leptos-axum-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugidaffection%2Fcf-leptos-axum-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugidaffection%2Fcf-leptos-axum-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sugidaffection","download_url":"https://codeload.github.com/sugidaffection/cf-leptos-axum-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugidaffection%2Fcf-leptos-axum-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35015052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"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":[],"created_at":"2025-10-14T15:18:51.584Z","updated_at":"2026-07-01T16:31:34.621Z","avatar_url":"https://github.com/sugidaffection.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leptos\n\nThis template demonstrates the use of the [Leptos](https://leptos.dev/)\nframework on Workers, including support for server side rendering and\nserver functions.\n\nFrontend assets are built using `cargo leptos` by compiling the crate\nwith the `hydrate` feature. The backend module uses `workers-rs` and\nis built by compiling the crate using `worker-build` with the `ssr`\nfeature. This is done automatically when using `wrangler` with\nthe custom build command specified in `wrangler.toml`.\n\nFrontend assets are served using Workers Assets. Any request which\nmatches an asset path will be served directly and not invoke the\nWorker. Requests which do not match an asset path will invoke the\nWorker. This includes requests to `index.html` (which will be\nserver-side rendered) and any server function (API) routes.\n\n# Using This Template\n\nThis template is designed to be used with `cargo generate`. To create a new project based on this template, you need to install `cargo-generate` first:\n\n```\ncargo install cargo-generate\n```\n\nThen you can create a new project using this template:\n\n```\ncargo generate --git https://github.com/sugidaffection/cf-leptos-axum-template\n```\n\nThis will prompt you to enter a project name and whether you want to use nightly features.\n\n# Setup\n\n## Prerequisites\n\nBefore you can use this template, you need to install the following:\n\n1. [Node.js](https://nodejs.org/) (LTS version recommended) and npm\n   - Alternatively, you can use [Bun](https://bun.sh/) or [Yarn](https://yarnpkg.com/)\n\n2. [Cargo Leptos](https://github.com/leptos-rs/cargo-leptos) is required\n   to build the project.\n\n```\ncargo install --locked cargo-leptos\n```\n\n3. Wrangler CLI for Cloudflare Workers\n\nWith npm (recommended):\n```\nnpm install -D wrangler@latest\n```\n\nWith Bun:\n```\nbun install -D wrangler@latest\n```\n\nWith Yarn:\n```\nyarn add -D wrangler@latest\n```\n\nNote: Cloudflare recommends installing Wrangler locally in your project rather than globally.\n\n# Run Locally\n\n```\nnpx wrangler dev\n```\n\nOr if you're using Bun:\n```\nbunx wrangler dev\n```\n\nOr if you're using Yarn:\n```\nyarn wrangler dev\n```\n\n# Deploy\n\n```\nnpx wrangler deploy\n```\n\nOr if you're using Bun:\n```\nbunx wrangler deploy\n```\n\nOr if you're using Yarn:\n```\nyarn wrangler deploy\n```\n\n# Run Development Server\n\nFor local development, you can also use the cargo-leptos development server which provides hot reloading:\n\n```\ncargo leptos watch --bin-features tokio\n```\n\nThis command runs the project using the tokio runtime, providing a development server with automatic reloading when you make changes to your code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugidaffection%2Fcf-leptos-axum-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugidaffection%2Fcf-leptos-axum-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugidaffection%2Fcf-leptos-axum-template/lists"}