Komari-Next is a modern frontend for the Komari monitoring project.
It is built with Next.js, TypeScript, Tailwind CSS and Shadcn UI and packaged as a static site that can be used as a Komari theme.
This repository contains only the frontend. You will need a running Komari backend instance for the UI to talk to. Or you can download the theme file and upload it through Komari's admin dashboard, this would be the recommanded way.
- Real‑time dashboard for server and node status
- Instance detail pages with load and latency charts
- Node list and management views
- Internationalization (i18n) with
react-i18next - Responsive layout and dark mode using Shadcn + Tailwind CSS
- Theme packaging suitable for Komari's theme system
- Extensive Customization Options:
- 6 Color Themes: Default, Ocean, Sunset, Forest, Midnight, Rose
- 4 Card Layouts: Classic, Modern, Minimal, Detailed - each with unique visual designs and element positioning
- 4 Graph Designs: Circle, Progress Bar, Bar Chart, Minimal - all following the selected color theme
- Customizable Status Cards: Show/hide individual metrics on the dashboard
- Bring your own background! Use an image URL to set it as the background.
- Ping stats display Show package information at homepage straight away!
- All settings persist locally and sync across theme changes
- Framework: Next.js (App Router, static export)
- Language: TypeScript, React
- UI: Shadcn UI + Radix UI primitives, Tailwind CSS v4
- Charts: Recharts
- State / Data: Custom contexts, RPC2 client, fetch-based APIs
- Node.js 22 or newer (LTS recommended)
- A running Komari backend (API) reachable from the browser
- Simply download theme file and upload it through Komari's admin dashboard, this would be the recommanded way.
Clone this repository and install dependencies:
npm installThe frontend talks to the Komari backend via /api/* rewrites configured in next.config.ts.
Set the backend base URL using NEXT_PUBLIC_API_TARGET:
Create a .env.local file in the project root:
NEXT_PUBLIC_API_TARGET=http://127.0.0.1:25774Adjust the URL to point to your Komari backend instance.
npm run devThen open http://localhost:3000 in your browser.
This project is configured for static export (output: "export" in next.config.ts), with the build output written to dist/.
npm run buildAfter the build completes:
- Serve the
distdirectory with any static web server, or - Use the contents of
distas part of a Komari theme bundle.
This repository is designed to be used as a custom Komari theme.
-
Configure and customize the UI as needed.
-
Edit
komari-theme.jsonto match your theme’s metadata and settings. -
Build the project:
npm run build
-
The static assets will be generated in the
distdirectory.
Combine them withkomari-theme.jsonas required by Komari’s theme system and package them according to the Komari documentation.
npm run dev– Start the Next.js development servernpm run build– Build the static site intodist/npm run lint– Run ESLint over the project
Contributions are welcome.
If you find issues or have ideas for improvements, feel free to open an issue or submit a pull request.


