{"id":26519687,"url":"https://github.com/jkone27/feliz-vite","last_synced_at":"2025-03-21T11:23:17.987Z","repository":{"id":266704294,"uuid":"899083570","full_name":"jkone27/feliz-vite","owner":"jkone27","description":"feliz react template: using F# , fable vite plugin, vite and vitest, an alternative to typescript?","archived":false,"fork":false,"pushed_at":"2025-03-17T15:01:21.000Z","size":1684,"stargazers_count":8,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T15:33:00.103Z","etag":null,"topics":["css","fable","feliz","fsharp","hmr","html","javascript","jest","nodejs","react","typescript","vite","vitest","web"],"latest_commit_sha":null,"homepage":"","language":"F#","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/jkone27.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":"2024-12-05T15:37:03.000Z","updated_at":"2025-03-17T15:01:25.000Z","dependencies_parsed_at":"2025-03-17T15:28:41.798Z","dependency_job_id":"7dfbf16c-6a5f-4896-bb4b-d76796fc9373","html_url":"https://github.com/jkone27/feliz-vite","commit_stats":null,"previous_names":["jkone27/feliz-vite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkone27%2Ffeliz-vite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkone27%2Ffeliz-vite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkone27%2Ffeliz-vite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkone27%2Ffeliz-vite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkone27","download_url":"https://codeload.github.com/jkone27/feliz-vite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244787616,"owners_count":20510196,"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":["css","fable","feliz","fsharp","hmr","html","javascript","jest","nodejs","react","typescript","vite","vitest","web"],"created_at":"2025-03-21T11:23:17.375Z","updated_at":"2025-03-21T11:23:17.961Z","avatar_url":"https://github.com/jkone27.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feliz Vite (a happy life)\n\n![CI](https://github.com/jkone27/feliz-vite/actions/workflows/ci.yml/badge.svg)\n\n![alt text](sample-splash-page.png)\n\nThis template was created for a blog post for [fsAdvent calendar 2024](https://jkone27-3876.medium.com/feliz-navidad-fd1869b31044)\n\nThe template provides a minimal setup to get React working in Vite with HMR and some ESLint rules, it starts from the basic vite template but it was adapted to run [F#](https://dotnet.microsoft.com/en-us/languages/fsharp) via [Fable](https://fable.io/), and use [Feliz](https://zaid-ajaj.github.io/Feliz/) library for awesome React built in F# DSL. \n\nAs an alternative to the official dotnet [template for Feliz](https://zaid-ajaj.github.io/Feliz/#/Feliz/ProjectTemplate) it adopts the remarkable [Vite Fable Plugin](https://fable.io/vite-plugin-fable/). \n\n![alt text](vite-fable-plugin.png) \n\nCurrently, two official plugins are available (for react):\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\n## special thanks 🦔\n- [ZaidAjaj](https://github.com/Zaid-Ajaj)\n- [Nojaf](https://github.com/nojaf)\n- [MangelMaxime](https://github.com/MangelMaxime)\n\n\n## npm\n\nclone via git to use with `npm`, you can then install and run as usual \n\n```\nnpm i\n```\n\nthe first install process might take a while, please report issues if u find any, then:\n\n```\nnpm run dev\n```\n\n## bun\n\nif you want to use `bun` \n\n```cli\nbun create jkone27/feliz-vite\n```\n\nyou can delete `package-lock.json` file then, to have dotnet tools installed correctly **cd** into your directory and run:\n\n```\nbun install -D --trust vite-plugin-fable\n```\n\nthen \n```\nbun install\n```\n\nthen\n```\nbun run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkone27%2Ffeliz-vite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkone27%2Ffeliz-vite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkone27%2Ffeliz-vite/lists"}