An open API service indexing awesome lists of open source software.

https://github.com/xertxetin/cetindb

A high-performance, resilient document database engineered for zero-downtime reliability, strict consistency, and massive global scale.
https://github.com/xertxetin/cetindb

database db leveldb

Last synced: 16 days ago
JSON representation

A high-performance, resilient document database engineered for zero-downtime reliability, strict consistency, and massive global scale.

Awesome Lists containing this project

README

          


CetinDB Network Logo

CetinDB Network Core


The Next Generation P2P Database & Edge Computing Protocol

[![Status](https://img.shields.io/badge/Status-Active_Development-00ED64?style=for-the-badge)](https://github.com/xertxetin/cetindb)
[![Network](https://img.shields.io/badge/Network-Distributed_DAG-111111?style=for-the-badge)](https://github.com/xertxetin/cetindb)
[![Cryptography](https://img.shields.io/badge/Cryptography-Schnorr_%7C_NIP44-663399?style=for-the-badge)](https://github.com/xertxetin/cetindb)

---

## 🌌 Overview: What is CetinDB?

**CetinDB** is not just another database; it is a fundamental reimagining of decentralized infrastructure. We are building a frictionless, highly scalable **Directed Acyclic Graph (DAG)** network that seamlessly connects browsers, desktops, and enterprise servers into a unified, secure data mesh.

Traditional blockchains and decentralized networks require heavy node installations, complex RPC middleware, and centralized entry points. CetinDB eliminates this friction by operating **natively within any WebRTC-enabled browser**, while offering **uncapped enterprise performance** through our dedicated desktop and server daemon architecture.

---

## 🧬 Our Technology Stack

CetinDB is engineered using a proprietary blend of cutting-edge distributed systems design and military-grade cryptography.

### 🌐 1. Browser-First WebRTC P2P Mesh
* **No Middlemen:** Devices communicate directly with each other using WebRTC data channels.
* **NAT Traversal:** Advanced signaling allows peers to bypass firewalls and strictly connect end-to-end.
* **Zero-Install Participation:** Anyone can join the network, validate events, and sync the DAG simply by opening a webpage.

### ⛓️ 2. Directed Acyclic Graph (DAG) Consensus
* Asynchronous validation replaces slow, linear block production.
* Transactions validate multiple historical transactions, creating an interwoven, infinite web of cryptographic proofs.
* **Dynamic Proof-of-Work (dPoW)** prevents network spam and automatically scales difficulty based on real-time computational load.

### πŸ›‘οΈ 3. Uncompromising Cryptography
* **Secp256k1 & Schnorr Signatures:** For lightning-fast, secure, and aggregated digital identity verification.
* **NIP-44 End-to-End Encryption:** Leveraging `XChaCha20-Poly1305` to ensure all peer-to-peer data transfers are strictly confidential.
* **Zero-Knowledge Capabilities:** The architecture is designed to support advanced privacy-preserving protocols natively.

### πŸ—„οΈ 4. Flawless Storage Engine
* **Desktop/Server OS Integration:** CetinDB completely bypasses the limitations of web browsers. It explicitly does not use IndexedDB or in-browser local storage solutions, ensuring there are absolutely zero bottlenecks.
* **Unbounded Performance:** Utilizes raw `LevelDB` for unbounded hardware-level read/write capacity, handling massive multidimensional chain data with sub-millisecond query latency (`rpc-chaindata`), securing its position as the most powerful and flawless database engine ever engineered.

---

## πŸš€ Why We Built CetinDB (Our Vision)

For too long, the "decentralized" web has been silently powered by centralized cloud servers, RPC endpoints (like Infura or Alchemy), and massive data centers. **This is a single point of failure.**

We built CetinDB to democratize infrastructure.
* We believe developers should be able to build real-time, multi-user applications without paying exorbitant cloud hosting fees.
* We believe users should own their data, fully encrypted, communicating directly with their peers.
* We believe the true power of the internet lies at the "Edge"β€”in the billions of idle laptops, smartphones, and browsers sitting on desks worldwide.

CetinDB awakens this sleeping computing power, weaving it into a resilient, unstoppable global organism.

---

## 🏒 Who Are We?

CetinDB is the flagship protocol architected and developed by **Mert Cetin**.

We are a hyper-focused team of distributed systems engineers, cryptographers, and protocol designers obsessed with building the ultimate decentralized database. Our philosophy is rooted in **Craftsmanship, Autonomy, and Performance.** We don't build generic software; we engineer elegant, high-throughput engines that challenge the status quo of modern cloud computing.

**Mert Cetin** is dedicated to transforming every browser and device into the backbone of a self-sovereign web.

---

## πŸ“– Technical Documentation & Integration

*Note: The core CetinDB engine is currently in active development. The documentation below outlines the conceptual interface for integrators.*

### The CetinDB Core SDK
When accessing the CetinDB network, developers will interact with our robust TypeScript interface:

```typescript
import { CetinDB } from '@xertxetin/cetindb-core';

// Initialize the edge engine
const db = new CetinDB({
network: 'cetindb_v3_mainnet',
database: 'enterprise_production_db',
relays: ['wss://hub.cetindb.network']
});

// Authenticate securely
await db.login({
username: process.env.CETINDB_USER_ID,
password: process.env.CETINDB_SECRET_KEY,
hxKey: process.env.CETINDB_HX_KEY // Your cryptographic identity signature
});

// Broadcast an encrypted event natively to the DAG
await db.publish({
type: 'app_event',
payload: { message: "Hello decentralized world" },
encrypted: true
});
```

### Network Environments
CetinDB enforces strict isolation between deployment stages:
* **`cetindb_testnet_01`**: A chaotic, developer-friendly ecosystem for unmetered load testing, smart-contract formulation, and rapid prototyping.
* **`cetindb_v3_mainnet`**: The production-grade, immutable global ledger. Only rigorously audited and cryptographically valid data structures are permitted.

### πŸ“‘ About WSS Sync Relays
CetinDB utilizes a decentralized mesh of WebSocket Secure (WSS) relays to broker peer-to-peer connections and maintain asynchronous state.

**Important Note on Relays:**
If you see community relays (such as `wss://relay.damus.io` or `wss://nos.lol`) in our boilerplate or demo applications, understand that they are configured **purely for educational and testing purposes**. We do not own, endorse, or guarantee the uptime of these third-party trackers. For production applications, we require developers to deploy and secure their own WSS relay infrastructure (using open-source Nostr-compliant relay software like `strfry`).

---


CetinDB β€’ Engineered with precision by Mert Cetin.


Building the Unbreakable Mesh.





GitHub β€’
Twitter/X β€’
Instagram β€’
Documentation