{"id":48590522,"url":"https://github.com/openanalytics/leptodon-starter","last_synced_at":"2026-04-08T19:03:23.111Z","repository":{"id":345057648,"uuid":"1176705380","full_name":"openanalytics/leptodon-starter","owner":"openanalytics","description":"Starter template for Leptodon.","archived":false,"fork":false,"pushed_at":"2026-03-31T14:40:32.000Z","size":206,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T16:34:08.792Z","etag":null,"topics":["leptodon","leptos","rust","wasm"],"latest_commit_sha":null,"homepage":"https://leptodon.dev","language":"CSS","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/openanalytics.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-09T09:41:52.000Z","updated_at":"2026-03-31T14:40:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/openanalytics/leptodon-starter","commit_stats":null,"previous_names":["openanalytics/leptodon-starter"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/openanalytics/leptodon-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openanalytics%2Fleptodon-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openanalytics%2Fleptodon-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openanalytics%2Fleptodon-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openanalytics%2Fleptodon-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openanalytics","download_url":"https://codeload.github.com/openanalytics/leptodon-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openanalytics%2Fleptodon-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31569400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["leptodon","leptos","rust","wasm"],"created_at":"2026-04-08T19:03:03.784Z","updated_at":"2026-04-08T19:03:23.102Z","avatar_url":"https://github.com/openanalytics.png","language":"CSS","readme":"# Leptodon starter\nThis is a template repository to get started with [leptos](https://github.com/leptos-rs/leptos) + [leptodon](https://github.com/openanalytics/leptodon) inside an [axum](https://github.com/tokio-rs/axum) SSR environment.\n\n## Getting Started\n1. Click the green `Use this template` button and create a repository using this template.\n2. Clone your repository.\n3. Rename the project to your liking: `rg -l starter ./ | xargs sed -i 's/starter/yourprojectname/g'` (may need to [install ripgrep](https://github.com/BurntSushi/ripgrep?tab=readme-ov-file#installation)).\n4. Install [cargo-leptos](https://github.com/leptos-rs/cargo-leptos): `cargo install --locked cargo-leptos`.\n5. [Optional steps](#optional-steps).\n6. Run with: `cargo leptos serve`.\n\nThe starter should now be available on [http://localhost:3000](http://localhost:3000).\n\n### Optional Steps\n1. Run `npm install`.\n2. Run Tailwind's CSS generator: `npx tailwindcss -i input.css -o style/output.css --watch`.\n    - Tailwind is configured via `tailwind.config.js` and any additional CSS can be added at the end of `input.css`.\n4. Setup pre-commit hooks: `pre-commit install` (may need to [install pre-commit](https://pre-commit.com/#installation) first).\n    - Pre-commit is configured via [.pre-commit-config.yaml](./.pre-commit-config.yaml).\n5. Run `direnv allow` to enable [direnv](https://direnv.com/) in case you use NixOS with flakes.\n    - direnv is configured via `.envrc`, `flake.nix` and `flake.lock`.\n6. Run `cd end2end; direnv allow` to enable the Playwright devenv, you may need to [install devenv](https://devenv.sh/getting-started/).\n    - Run `npm install` (since you also need to install Playwright here).\n7. Run `playwright test` to execute the tests.\n8. Run `cargo install --locked cargo-make` to enable [Makefile.toml support](https://sagiegurari.github.io/cargo-make/), some useful commands include:\n   - Run `cargo make mimic-ci` for a suite of checks your CI would run.\n   - Run `cargo make build-starter` to build the project in release mode for production deployment.\n\n## Versions\n- Uses Leptos SSR, and based on https://github.com/leptos-rs/start-axum\n- Rust stable version 1.92\n- Tailwind v3\n\n## What is `build.rs` ?\n - Runs `cargo run codegen` to generate `.tailwind` for Tailwind's class generation.\n - Generates `src/generated_demolist.rs` containing a list of all demos to construct routes and sidebar entries programmatically.\n   - Allows for easy alphabetical sorting and reduces maintenance burden of adding/removing entries.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenanalytics%2Fleptodon-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenanalytics%2Fleptodon-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenanalytics%2Fleptodon-starter/lists"}