3 unstable releases

new 0.1.3 Nov 17, 2024
0.1.0-beta.1 Oct 14, 2024
0.0.28 Aug 15, 2024

#1382 in HTTP server

Download history 100/week @ 2024-08-11 9/week @ 2024-08-18 18/week @ 2024-09-15 5/week @ 2024-09-22 5/week @ 2024-09-29 120/week @ 2024-10-13 5/week @ 2024-10-20

125 downloads per month

AGPL-3.0-or-later

1MB
16K 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

~70MB
~1M SLoC