Skip to content

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:

KeyIs
namethe short name, unique in the file
npmthe package name, required
descriptionone line
categorythe group the filter offers
frameworks"all" or a list of html, preact, react, solid, svelte, vue
repothe URL of the source
firstPartytrue 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.

ModuleDescriptionCategoryLibraries
@hamur/alpine first-partyAlpine.js for html appsUIhtml
@hamur/auth first-partySessions, providers and guardsSecurityall
@hamur/blob first-partyFile storage with driversStorageall
@hamur/content first-partyMarkdown and data collectionsContentall
@hamur/css first-partyCSS compilers and preprocessorsStylingall
@hamur/db first-partySQL database and migrationsDataall
@hamur/devtools first-partyDev panel with tabs from modulesDevelopmentall
@hamur/fonts first-partyFont providers and preloadingStylingall
@hamur/i18n first-partyRouting and messages for every libraryContentall
@hamur/icon first-partyIcon collections as componentsAssetsall
@hamur/image first-partyImage optimisation and responsive imagesAssetsall
@hamur/mail first-partyMail with MIME, transports and an outboxWeb platformall
@hamur/notifications first-partyNotifications by mail and webhookWeb platformall
@hamur/og-image first-partyOpen Graph images from a pageSEOall
@hamur/pwa first-partyWeb app manifest and service workerWeb platformall
@hamur/scripts first-partyThird-party scripts with a loading policyPerformanceall
@hamur/seo first-partyMeta tags, sitemap and robotsSEOall
@hamur/tailwind first-partyTailwind CSS 4 through Oxide, without PostCSSStylingall
@hamur/test-utils first-partyHelpers to test a Hamur appTestingall
@hamur/vite-compat first-partyRun Vite plugins in a Hamur buildBuildall