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.
- Host: GitHub
- URL: https://github.com/xertxetin/cetindb
- Owner: xertxetin
- License: mit
- Created: 2026-06-15T18:43:34.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2026-06-15T22:01:25.000Z (24 days ago)
- Last Synced: 2026-06-16T00:04:28.146Z (23 days ago)
- Topics: database, db, leveldb
- Homepage: https://www.meforcetechnology.com/cetindb
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CetinDB Network Core
The Next Generation P2P Database & Edge Computing Protocol
[](https://github.com/xertxetin/cetindb)
[](https://github.com/xertxetin/cetindb)
[](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