Skip to content

Tryboy869/your_own_db_living_in_your_browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Your Own DB Living in Your Browser v0.1.0

Your own database running entirely in your browser. Zero cost. No servers.

License Version

🚀 Live Demo

Try it now - No installation needed

✨ Your Database, Your Browser, Your Rules

  • 🗄️ Your Own Database - Up to 60GB storage using IndexedDB
  • 🔒 Your Data Stays Private - AES-256 encryption, never leaves your device
  • ⚡ Your Performance - Redis-like queue system, 100% success rate
  • 📁 Your Projects - Manage unlimited databases in one browser
  • 🌐 Your Control - Offline-first, works without internet
  • 💰 Your Savings - Zero cost, no monthly fees, completely free

🎯 Perfect For

  • Building Offline Apps - Your data available without internet
  • Rapid Prototyping - Instant database without backend setup
  • Cost Savings - Replace expensive cloud databases
  • Privacy - Keep sensitive data on your device
  • Learning - Practice database concepts for free
  • Side Projects - Build without infrastructure costs

📊 Performance

Metric Value
INSERT Speed 100-305 ops/sec
SELECT Speed < 100ms for 10K docs
Success Rate 98-100%
Storage Capacity Up to 60GB (browser dependent)
Latency < 50ms average
Cost $0 forever

🏗️ How It Works

Your Browser
├── Your Own DB (IndexedDB Storage)
├── Redis-like Queue (Processing)
├── AES-256 Encryption (Security)
├── Multi-Project Manager (Organization)
└── Real-time Dashboard (Monitoring)

🔧 Technical Stack

  • Storage: IndexedDB API (native browser)
  • Queue System: Custom Redis-like implementation
  • Encryption: Web Crypto API (AES-256)
  • UI: Vanilla JavaScript + Chart.js
  • Icons: Lucide Icons
  • Dependencies: None - pure web standards

📖 Quick Start

  1. Visit: Your Own DB
  2. Click "Install Your Own DB"
  3. Create your first project
  4. Start storing data!

No signup. No credit card. No servers. Just your browser.

💻 API Usage

// Connect to your project
const dbUrl = "https://your-username.github.io/your_own_db_living_in_your_browser/?project=my-app&id=abc123";

// Send query via postMessage
window.postMessage({
    type: 'DB_REQUEST',
    method: 'POST',
    path: '/api/users',
    body: { name: 'Alice', email: 'alice@example.com' },
    requestId: Date.now()
}, '*');

// Listen for response
window.addEventListener('message', (event) => {
    if (event.data.type === 'DB_RESPONSE') {
        console.log('Your data:', event.data.data);
    }
});

🌐 Browser Compatibility

Browser Storage Quota Status
Chrome/Edge 60% of disk ✅ Excellent
Firefox 50% of disk (with permission) ✅ Excellent
Safari macOS 60% of disk ✅ Good
Safari iOS 60% of disk ✅ Good
Mobile WebView 6-15% of disk ⚠️ Limited

🔒 Security

  • AES-256 encryption for all stored data
  • Machine ID authentication per project
  • Local-only storage - no data sent to servers
  • Web Crypto API - browser-native security
  • HTTPS required for production use

📈 Roadmap

v0.2.0 (Q1 2026)

  • SQL-like query interface
  • Data export/import (JSON, CSV, SQL)
  • Advanced filtering and indexing
  • Real-time sync between tabs

v0.3.0 (Q2 2026)

  • Optional cloud sync
  • Collaboration features
  • Advanced analytics
  • Plugin system

🤝 Contributing

Contributions welcome! Please read CONTRIBUTING.md first.

📄 License

MIT License - see LICENSE file

🌟 Why "Your Own DB"?

Because it's literally yours:

  • Your data stays on your device
  • Your browser is the server
  • Your control, no third parties
  • Your privacy guaranteed
  • Your cost is zero

📧 Contact


Made with ❤️ for developers who want their own database

Version 0.1.0 - Your data, your browser, your control

About

Your own database running entirely in your browser. Zero cost, offline-first, encrypted. No servers needed. Your data, your browser, your control.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages