{"id":51078734,"url":"https://github.com/xertxetin/cetindb","last_synced_at":"2026-06-23T16:04:11.315Z","repository":{"id":365109722,"uuid":"1270473895","full_name":"xertxetin/cetindb","owner":"xertxetin","description":"A high-performance, resilient document database engineered for zero-downtime reliability, strict consistency, and massive global scale.","archived":false,"fork":false,"pushed_at":"2026-06-15T22:01:25.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T00:04:28.146Z","etag":null,"topics":["database","db","leveldb"],"latest_commit_sha":null,"homepage":"https://www.meforcetechnology.com/cetindb","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xertxetin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-15T18:43:34.000Z","updated_at":"2026-06-15T23:37:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/xertxetin/cetindb","commit_stats":null,"previous_names":["xertxetin/cetindb"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/xertxetin/cetindb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xertxetin%2Fcetindb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xertxetin%2Fcetindb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xertxetin%2Fcetindb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xertxetin%2Fcetindb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xertxetin","download_url":"https://codeload.github.com/xertxetin/cetindb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xertxetin%2Fcetindb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34696912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","db","leveldb"],"created_at":"2026-06-23T16:04:11.197Z","updated_at":"2026-06-23T16:04:11.303Z","avatar_url":"https://github.com/xertxetin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/xertxetin/cetindb/refs/heads/main/media/cetindb-logo.jpg\" width=\"120\" alt=\"CetinDB Network Logo\" /\u003e\n  \u003ch1\u003eCetinDB Network Core\u003c/h1\u003e\n  \u003cp\u003e\u003cem\u003eThe Next Generation P2P Database \u0026 Edge Computing Protocol\u003c/em\u003e\u003c/p\u003e\n\n  [![Status](https://img.shields.io/badge/Status-Active_Development-00ED64?style=for-the-badge)](https://github.com/xertxetin/cetindb)\n  [![Network](https://img.shields.io/badge/Network-Distributed_DAG-111111?style=for-the-badge)](https://github.com/xertxetin/cetindb)\n  [![Cryptography](https://img.shields.io/badge/Cryptography-Schnorr_%7C_NIP44-663399?style=for-the-badge)](https://github.com/xertxetin/cetindb)\n\u003c/div\u003e\n\n---\n\n## 🌌 Overview: What is CetinDB?\n\n**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.\n\nTraditional 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.\n\n---\n\n## 🧬 Our Technology Stack\n\nCetinDB is engineered using a proprietary blend of cutting-edge distributed systems design and military-grade cryptography.\n\n### 🌐 1. Browser-First WebRTC P2P Mesh\n* **No Middlemen:** Devices communicate directly with each other using WebRTC data channels.\n* **NAT Traversal:** Advanced signaling allows peers to bypass firewalls and strictly connect end-to-end.\n* **Zero-Install Participation:** Anyone can join the network, validate events, and sync the DAG simply by opening a webpage.\n\n### ⛓️ 2. Directed Acyclic Graph (DAG) Consensus\n* Asynchronous validation replaces slow, linear block production.\n* Transactions validate multiple historical transactions, creating an interwoven, infinite web of cryptographic proofs.\n* **Dynamic Proof-of-Work (dPoW)** prevents network spam and automatically scales difficulty based on real-time computational load.\n\n### 🛡️ 3. Uncompromising Cryptography\n* **Secp256k1 \u0026 Schnorr Signatures:** For lightning-fast, secure, and aggregated digital identity verification.\n* **NIP-44 End-to-End Encryption:** Leveraging `XChaCha20-Poly1305` to ensure all peer-to-peer data transfers are strictly confidential.\n* **Zero-Knowledge Capabilities:** The architecture is designed to support advanced privacy-preserving protocols natively.\n\n### 🗄️ 4. Flawless Storage Engine\n* **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.\n* **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.\n\n---\n\n## 🚀 Why We Built CetinDB (Our Vision)\n\nFor 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.**\n\nWe built CetinDB to democratize infrastructure. \n* We believe developers should be able to build real-time, multi-user applications without paying exorbitant cloud hosting fees.\n* We believe users should own their data, fully encrypted, communicating directly with their peers.\n* 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. \n\nCetinDB awakens this sleeping computing power, weaving it into a resilient, unstoppable global organism.\n\n---\n\n## 🏢 Who Are We?\n\nCetinDB is the flagship protocol architected and developed by **Mert Cetin**.\n\nWe 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.\n\n**Mert Cetin** is dedicated to transforming every browser and device into the backbone of a self-sovereign web.\n\n---\n\n## 📖 Technical Documentation \u0026 Integration\n\n*Note: The core CetinDB engine is currently in active development. The documentation below outlines the conceptual interface for integrators.*\n\n### The CetinDB Core SDK\nWhen accessing the CetinDB network, developers will interact with our robust TypeScript interface:\n\n```typescript\nimport { CetinDB } from '@xertxetin/cetindb-core';\n\n// Initialize the edge engine\nconst db = new CetinDB({\n  network: 'cetindb_v3_mainnet',\n  database: 'enterprise_production_db',\n  relays: ['wss://hub.cetindb.network']\n});\n\n// Authenticate securely\nawait db.login({\n  username: process.env.CETINDB_USER_ID,\n  password: process.env.CETINDB_SECRET_KEY,\n  hxKey: process.env.CETINDB_HX_KEY // Your cryptographic identity signature\n});\n\n// Broadcast an encrypted event natively to the DAG\nawait db.publish({\n  type: 'app_event',\n  payload: { message: \"Hello decentralized world\" },\n  encrypted: true\n});\n```\n\n### Network Environments\nCetinDB enforces strict isolation between deployment stages:\n* **`cetindb_testnet_01`**: A chaotic, developer-friendly ecosystem for unmetered load testing, smart-contract formulation, and rapid prototyping.\n* **`cetindb_v3_mainnet`**: The production-grade, immutable global ledger. Only rigorously audited and cryptographically valid data structures are permitted.\n\n### 📡 About WSS Sync Relays\nCetinDB utilizes a decentralized mesh of WebSocket Secure (WSS) relays to broker peer-to-peer connections and maintain asynchronous state. \n\n**Important Note on Relays:**\nIf 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`).\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\u003cb\u003eCetinDB\u003c/b\u003e • Engineered with precision by \u003cb\u003eMert Cetin\u003c/b\u003e.\u003c/p\u003e\n  \u003cp\u003e\u003ci\u003eBuilding the Unbreakable Mesh.\u003c/i\u003e\u003c/p\u003e\n  \u003cbr/\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/xertxetin\"\u003e\u003cb\u003eGitHub\u003c/b\u003e\u003c/a\u003e • \n    \u003ca href=\"https://x.com/xertxetin\"\u003e\u003cb\u003eTwitter/X\u003c/b\u003e\u003c/a\u003e • \n    \u003ca href=\"https://www.instagram.com/xertxetin/\"\u003e\u003cb\u003eInstagram\u003c/b\u003e\u003c/a\u003e • \n    \u003ca href=\"https://github.com/xertxetin/cetindb\"\u003e\u003cb\u003eDocumentation\u003c/b\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxertxetin%2Fcetindb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxertxetin%2Fcetindb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxertxetin%2Fcetindb/lists"}