1
0
Fork
You've already forked create-evikit
0
Initializes an EviKit app with a Todo App example. Also serves as EviKit landing page https://evikit.js.org/
  • JavaScript 92.3%
  • CSS 4.5%
  • HTML 3.2%
Denys Nykula 6972e286ca
All checks were successful
ci/woodpecker/push/test Pipeline was successful
Run CI once for testing
2026年07月12日 14:10:57 +03:00
.woodpecker Test in CI if todo app example builds 2026年07月12日 13:35:46 +03:00
bin Favicon by Solar Icons 2026年07月08日 03:19:47 +03:00
po Link to gettext translation template, mention Poedit 2026年07月08日 14:51:50 +03:00
src Link to gettext translation template, mention Poedit 2026年07月08日 14:51:50 +03:00
static Mention node:sqlite on social image 2026年07月08日 14:29:44 +03:00
.gitignore Make initializer and home page with todo app example 2026年07月07日 23:08:11 +03:00
CNAME Make initializer and home page with todo app example 2026年07月07日 23:08:11 +03:00
eslint.config.js Make initializer and home page with todo app example 2026年07月07日 23:08:11 +03:00
index.css Link to npmx.dev, fetch latest version date from npmjs.org 2026年07月08日 02:23:30 +03:00
index.html Favicon by Solar Icons 2026年07月08日 03:19:47 +03:00
index.js Favicon by Solar Icons 2026年07月08日 03:19:47 +03:00
LICENSE Make initializer and home page with todo app example 2026年07月07日 23:08:11 +03:00
package.json 2.4.0 2026年07月11日 15:02:44 +03:00
README.md Add README.md as requested by @dawe 2026年07月12日 14:08:44 +03:00
tsconfig.json Make initializer and home page with todo app example 2026年07月07日 23:08:11 +03:00
vite.config.js Make initializer and home page with todo app example 2026年07月07日 23:08:11 +03:00

create-evikit

Create a monolith server-rendered Preact app with an API powered by a node:sqlite database, using EviKit:

npm init evikit my-app
cd my-app
npm run dev

Open http://localhost:5173/, try editing the example routes and see changes live.

You can continue with the EviKit tutorial. With this initializer, you don't have to manually install dependencies, add scripts to package.json, or create typical files such as index.html and vite.config.js.

😉 If you are new to Preact and the concept of Virtual DOM, it is a good idea to complete the Preact tutorial first.

Read more

Think of EviKit as an LXDE of web frameworks, it stands on the shoulders of awesome libraries and tools from the Preact and Node.js ecosystems:

  • valibot - Lets you declare detabase schema and validate API input/output.
  • hoofd/preact - Populates <title> and <meta> tags.
  • gettext.js - Lets you pluralize translated strings.
  • vite - Builds your app for development and production.
  • express - Lets you apply compression, serve static files and use other familiar middleware.
  • @fastify/busboy - Parses forms, including uploaded files.
  • @preact/preset-vite - In development, shows your code changes without reloading the page.
  • env-paths - Saves your database in standard system-specific directory.
  • gettext-parser - Parses translation files.
  • preact-iso - Handles routing and hydrates the server-rendered code on the client.

License

SPDX-License-Identifier: 0BSD

Note: this license applies to this example application template. EviKit itself uses the MIT license.