{"id":28728865,"url":"https://github.com/cor/svelte-effect-nix-template","last_synced_at":"2026-03-05T08:31:12.013Z","repository":{"id":283870136,"uuid":"953148992","full_name":"cor/svelte-effect-nix-template","owner":"cor","description":"Svelte + Effect + Nix template. Reproducible builds, tests, dev environment, formatting.","archived":false,"fork":false,"pushed_at":"2025-12-29T13:53:03.000Z","size":138,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-30T11:13:05.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","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/cor.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-03-22T17:21:13.000Z","updated_at":"2025-12-29T13:53:06.000Z","dependencies_parsed_at":"2025-03-22T18:30:38.146Z","dependency_job_id":"d4e1abbb-a3d7-4574-b12f-518f976df0f6","html_url":"https://github.com/cor/svelte-effect-nix-template","commit_stats":null,"previous_names":["cor/svelte-effect-nix-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cor/svelte-effect-nix-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cor%2Fsvelte-effect-nix-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cor%2Fsvelte-effect-nix-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cor%2Fsvelte-effect-nix-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cor%2Fsvelte-effect-nix-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cor","download_url":"https://codeload.github.com/cor/svelte-effect-nix-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cor%2Fsvelte-effect-nix-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30115913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T08:19:04.902Z","status":"ssl_error","status_checked_at":"2026-03-05T08:17:37.148Z","response_time":93,"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":[],"created_at":"2025-06-15T15:38:58.369Z","updated_at":"2026-03-05T08:31:11.980Z","avatar_url":"https://github.com/cor.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Effect Nix Template\n\nThis is a Nix-powered [Svelte](https://svelte.dev) template with [Effect](https://effect.website) integration. It builds an app fully reproducibly, including tests.\n\nTo quickly get started with this template, run:\n\n```bash\nmkdir project\ncd project\nnix flake init -t github:cor/svelte-effect-nix-template\ngit init\n```\n\n## Building and Running\n\n### Building the App\n\nTo build the app, run:\n\n```bash\nnix build .#app\n```\n\nThis will:\n\n1. Install all dependencies\n2. Build the application\n3. Run tests using `vitest`\n4. Output the build artifact to `./result`\n\n### Previewing the App\n\nTo preview the built app in a browser, run:\n\n```bash\nnix run .#app-preview\n```\n\nThis will:\n\n1. Build the app if it hasn't been built already\n2. Start a local server using `miniserve`\n3. Serve the app on http://localhost:8080\n\nThe preview server uses SPA mode, so client-side routing will work correctly.\n\n## Development\n\n### Development Server\n\nTo start the development server with hot reloading:\n\n```bash\nnix run .#app-dev\n```\n\nThis will install dependencies and start the Svelte development server.\n\n### Development Shell\n\nTo enter a development shell with all necessary tools:\n\n```bash\nnix develop\n```\n\nThis provides:\n\n- Node.js and npm\n- TypeScript language server\n- Svelte language server\n- Tailwind CSS language server\n- Other development tools\n\n### Formatting Code\n\nFormat all code in the project with:\n\n```bash\nnix fmt\n```\n\nThis uses:\n\n- Prettier to format TypeScript, JavaScript, JSON, Markdown, Svelte, HTML, and CSS files according to the project's configuration in `.prettierrc`\n- nixpkgs-fmt to format Nix files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcor%2Fsvelte-effect-nix-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcor%2Fsvelte-effect-nix-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcor%2Fsvelte-effect-nix-template/lists"}