Zuby.js is a framework for building modern apps using Preact or React.
npm install zubyYou can set up new Zuby.js app easily with Zuby CLI wizard. Just run the following command and follow the instructions:
```
npx zuby init
- File-based routing (with similar syntax to Next.js)
- Build-time HTML pre-rendering
- Automatic for static paths
- Manual for dynamic paths
- Code splitting and lazy loading of pages
- Client-side navigation
- Component rehydration
- Fast development server
- Built-in i18n localization support
- Preloading of pages and assets
- Static and server outputs with support for SSG, SSR, ISG and ISR render modes
And many more! Explore the Zuby.js documentation to see all the features and how to use them.
Please note that Zuby.js is still in early development, so some features may not work properly.
Zuby.js integrates with JSX libraries through the JsxProvider interface.
Following integrations are available:
- @zubyjs/preact - Preact integration for Zuby.js
- @zubyjs/react - React integration for Zuby.js
Zuby.js supports plugins to extend its functionality.
You can find official plugins in the @zubyjs` namespace on npm.
See the complete ZubyPlugin API to learn how to create your own plugins.
Official plugins:
- @zubyjs/share - Share your local development server with others using Cloudflare tunnels
- @zubyjs/sitemap - Automatically generate sitemaps for your application
- @zubyjs/tailwind - Tailwind CSS integration and optimization
- @zubyjs/purgecss - CSS purging and optimization
- @zubyjs/image - Image optimization and responsive image generation
Zuby.js is inspired by Astro and Next.js
to offer familiarity and a quick learning curve for developers but still do things differently.
You should definitely explore these frameworks too, they are awesome! Maybe you'll find one of them more suitable for your needs.
- Node.js: 18
- npm: 9
Zuby.js is free software released under the MIT license.