Module list
The module registry is the file apps/web/data/modules.json. This page renders every entry of it. A module is a package that extends Hamur at build time; hamur module add <name> installs one and lists it in modules.
The first-party modules release in lock step with hamur, so their version is the version of the core. Each row names the libraries the module supports; all is html, preact, react, solid, svelte and vue.
Neither hamur module add nor hamur module search reads the registry. They keep a built-in list of the first-party modules, and search adds the npm packages that carry the hamur-module keyword.
The list
Type in the box to filter by name, package or description, or pick a category.
Add a module to the registry
Add an entry to apps/web/data/modules.json:
| Key | Is |
|---|---|
name | the short name, unique in the file |
npm | the package name, required |
description | one line |
category | the group the filter offers |
frameworks | "all" or a list of html, preact, react, solid, svelte, vue |
repo | the URL of the source |
firstParty | true for a package of @hamur/ that Hamur releases |
bun scripts/check-modules.ts, part of bun run check, fails on a mistake in the file: an entry without npm, a repeated name, an unknown library, a first-party entry outside @hamur/, a first-party module of the built-in list that the file lacks, or a first-party entry whose frameworks differ from the built-in list's.
| Module | Description | Category | Libraries |
|---|---|---|---|
@hamur/alpine first-party | Alpine.js for html apps | UI | html |
@hamur/auth first-party | Sessions, providers and guards | Security | all |
@hamur/blob first-party | File storage with drivers | Storage | all |
@hamur/content first-party | Markdown and data collections | Content | all |
@hamur/css first-party | CSS compilers and preprocessors | Styling | all |
@hamur/db first-party | SQL database and migrations | Data | all |
@hamur/devtools first-party | Dev panel with tabs from modules | Development | all |
@hamur/fonts first-party | Font providers and preloading | Styling | all |
@hamur/i18n first-party | Routing and messages for every library | Content | all |
@hamur/icon first-party | Icon collections as components | Assets | all |
@hamur/image first-party | Image optimisation and responsive images | Assets | all |
@hamur/mail first-party | Mail with MIME, transports and an outbox | Web platform | all |
@hamur/notifications first-party | Notifications by mail and webhook | Web platform | all |
@hamur/og-image first-party | Open Graph images from a page | SEO | all |
@hamur/pwa first-party | Web app manifest and service worker | Web platform | all |
@hamur/scripts first-party | Third-party scripts with a loading policy | Performance | all |
@hamur/seo first-party | Meta tags, sitemap and robots | SEO | all |
@hamur/tailwind first-party | Tailwind CSS 4 through Oxide, without PostCSS | Styling | all |
@hamur/test-utils first-party | Helpers to test a Hamur app | Testing | all |
@hamur/vite-compat first-party | Run Vite plugins in a Hamur build | Build | all |
No module matches.