{"id":14384881,"url":"https://github.com/lukeed/fly-kit-preact","last_synced_at":"2025-10-09T18:24:39.873Z","repository":{"id":66007831,"uuid":"76933036","full_name":"lukeed/fly-kit-preact","owner":"lukeed","description":"A starter kit for building offline / SPA / PWA apps with Preact","archived":false,"fork":false,"pushed_at":"2017-02-08T03:20:58.000Z","size":198,"stargazers_count":28,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-29T00:18:12.463Z","etag":null,"topics":["boilerplate","fly","preact","starter-kit"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukeed.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}},"created_at":"2016-12-20T07:16:54.000Z","updated_at":"2020-05-10T04:15:18.000Z","dependencies_parsed_at":"2024-01-14T20:18:44.437Z","dependency_job_id":"b260e14e-0b8c-425c-ba0c-bb09916990ba","html_url":"https://github.com/lukeed/fly-kit-preact","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeed%2Ffly-kit-preact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeed%2Ffly-kit-preact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeed%2Ffly-kit-preact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeed%2Ffly-kit-preact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukeed","download_url":"https://codeload.github.com/lukeed/fly-kit-preact/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":217384789,"owners_count":16168807,"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":["boilerplate","fly","preact","starter-kit"],"created_at":"2024-08-28T18:01:44.865Z","updated_at":"2025-10-09T18:24:34.838Z","avatar_url":"https://github.com/lukeed.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# fly-kit-preact\n\n\u003e A starter kit for building offline / SPA / PWA apps with [Preact](https://preactjs.com/) :atom_symbol:\n\n**Do you want to kickstart a new project with [Preact](https://preactjs.com/) but _hate_ dealing with build tools?**\u003cbr\u003e\nGreat! :laughing: You've come to the right place! By using `fly-kit-preact`, you will skip the \"tooling phase\" \u0026 jump straight into application development.\n\nThis configuration fits the \"90% use-case\" for those who want to build offline-first web apps. See the included [features](#features) below. However, with [Fly](https://github.com/flyjs/fly), it's very easy to add or change settings for your needs.\n\n\u003e Synonymous buzzwords: [SPA](https://en.wikipedia.org/wiki/Single-page_application), [PWA](https://developers.google.com/web/updates/2015/12/getting-started-pwa), [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers)\n\n**Please note:** Boilerplate _does not_ incorporate the latest [\"css-in-js\" or \"css modules\" techniques](https://github.com/MicheleBertoli/css-in-js). Instead, the more traditional approach is taken wherein `styles` and `scripts` are kept separate. That said, you may **certainly and easily** take that route if desired. :white_check_mark:\n\n---\n\u003cp align=\"center\"\u003e:warning: Boilerplate \u0026 commands will evolve as my own development process does. :warning:\u003c/p\u003e\n---\n\n## Install\n\n```sh\ngit clone https://github.com/lukeed/fly-kit-preact\nnpm install\nnpm start\n```\n\n\u003e :exclamation: **Pro Tip:** Use [Yarn](https://yarnpkg.com/) to install dependencies 3x faster than NPM!\n\n## Features\n\n* Offline Caching (via `serviceWorker`)\n* SASS \u0026 Autoprefixer\n* Asset Versioning (aka \"cache-busting\")\n* ES2015 (ES6) and ES2016 (ES7) support via [Buble](https://buble.surge.sh/guide/)\n* JavaScript linting via [XO](https://github.com/sindresorhus/xo) and [`eslint-config-xo-preact`](https://github.com/adriantoine/eslint-config-xo-preact)\n\n## Development\n\n### Commands\n\nAny of the following commands can (and should :wink:) be run from the command line.\n\n\u003e If using [Yarn](https://yarnpkg.com/), all instances of `npm` can be replaced with `yarn`. :ok_hand:\n\n#### build\n\n```\n$ npm run build\n```\n\nCompiles all files. Output is sent to the `dist` directory.\n\n#### release\n\n```\n$ npm run release\n```\n\nBuilds the app for production, includes [cache-busting](http://webassets.readthedocs.io/en/latest/expiring.html) asset names. Output is sent to the `release` directory.\n\n#### start\n\n```\n$ npm start\n```\n\nExecutes [`build`](#build) and runs your application (from the `dist` directory) in the browser.\n\n#### test\n\n```\n$ npm run test\n```\n\nLints all JavaScript files.\n\n#### watch\n\n```\n$ npm run watch\n```\n\nLike [`start`](#start), but will auto-compile \u0026 auto-reload the server after any file changes within the `src` directory.\n\n\n## License\n\nMIT © [Luke Edwards](https://lukeed.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeed%2Ffly-kit-preact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukeed%2Ffly-kit-preact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeed%2Ffly-kit-preact/lists"}