2 unstable releases

0.1.0-beta.1 Oct 14, 2024
0.0.28 Aug 15, 2024

#1110 in HTTP server

Download history 109/week @ 2024-08-12 19/week @ 2024-09-16 4/week @ 2024-09-23 5/week @ 2024-09-30 125/week @ 2024-10-14

135 downloads per month

AGPL-3.0-or-later

250KB
3.5K SLoC

Nirvati

Nirvati is a modern server management software built on top of Kubernetes. This repository contains Nirvati's backend components, which are built in Rust.

The Nirvati frontend, which interacts with this repo's GraphQL API, is maintained separately and built using Nuxt.

Shared Components

  • Common: Code shared between various components of Nirvati, could also be useful for plugin developers.
  • Apps Core: Types & shared code for our app system. Especially useful for plugin developers.
  • Database definitions: Prisma client for our database system. Not intended to be used outside Nirvati.
  • Audit logs module: Utils for Nirvati's audit logs (WIP)
  • SaaS module: Utils for SaaS products utilizing Nirvati (WIP)

Services

  • Agent: Microservice responsible for performing various administrative tasks, as well as parsing & installing apps and managing their domains. Only intended to be used by the GraphQL API.
  • GraphQL API: Interface the dashboard uses to interact with Nirvati. Keeps track of system state, users and permissions in the database, and interacts with the various system components on behalf of the user.
  • Background updater: Regularly downloads new apps added to the various app stores, and keeps the definitions for apps that aren't yet installed up-to-date.
  • Init: Container used to bootstrap new Nirvati installations on an existing Kubernetes cluster.
  • Migrations: Performs post-update changes.
  • OS Init: A minimal init system for Nirvati OS. (WIP)

Plugins

Dependencies

~56MB
~1M SLoC