Skip to content
/ tritium Public

The ultra-secure, surprisingly fast, tiny database backend.

License

Notifications You must be signed in to change notification settings

we-be/tritium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tritium

Tritium is a secure, RAM-only storage system with zero dependencies. See tritium-wails for the desktop client. It uses RESP clusters to replicate data, like a redis cluster, and RPC-level clustering to scale horizontially. For more, see the persistence and scaling section.

Installation

go get github.com/we-be/tritium

Quick Start

import (
    "github.com/we-be/tritium/pkg/client"
)

func main() {
    c, err := client.NewClient(client.Config{
        Address: "localhost:8080",
    })
    if err != nil {
        panic(err)
    }

    // Use the client...
}

Security

Tritium emphasizes security through:

  • RAM-only storage
  • Zero dependencies
  • Secure memory management
  • Strict end-to-end encryption

Persistence and Scaling

Read the proposal here

TUI

Screenshot from 2024-11-06 21-44-02