Built in Koder Lang

Meet Drive

A secure, self-hostable cloud storage platform with end-to-end encryption, real-time collaboration, and seamless sync across all your devices — without compromising on speed or privacy.

# Upload, sync, and share files programmatically
require "koder-drive"

client = drive.connect({
  endpoint: "https://drive.koder.dev",
  token: process.env.KODER_TOKEN
})

# Upload with end-to-end encryption
file = await client.upload({
  path: "/projects/report.pdf",
  source: "./report.pdf",
  encrypt: true
})

# Share with team
link = await file.share({
  access: "team",
  permission: "edit",
  expires: "7d"
})

console.log(link.url) # https://drive.koder.dev/s/abc123

Features

Everything you need, built from the ground up.

End-to-End Encryption

Files are encrypted on your device before upload. Not even Koder can read your data. Zero-knowledge architecture with client-side key management.

Real-Time Sync

Changes sync instantly across all devices with delta compression — only modified bytes are transferred, saving bandwidth and time.

Collaborative Editing

Edit documents, spreadsheets, and presentations simultaneously with your team. Real-time cursors, comments, and version history.

File Versioning

Every file change creates a new version. Browse, compare, and restore any previous version. Configurable retention from 30 days to unlimited.

🔒
Desktop & Mobile Sync

Native sync clients for Windows, macOS, Linux, Android, and iOS. Smart sync downloads files on demand, saving local disk space.

Self-Hostable Storage

Run Koder Drive on your own infrastructure with any S3-compatible backend — MinIO, Ceph, or cloud object storage. Full control over your data.

💾
Powerful Search

Full-text search across all documents, OCR for images and scanned PDFs, and metadata filters. Find any file in milliseconds.

📈
Sharing & Permissions

Share files and folders with granular permissions — view, edit, comment, or manage. Password-protected links with expiration dates.

💻
Automated Workflows

Set up rules to auto-organize files, convert formats, generate thumbnails, extract text, and trigger notifications on upload.

📦
S3-Compatible API

Access your storage programmatically with our S3-compatible API. Existing tools, SDKs, and integrations work without modification.

🌐
Media Streaming

Stream video and audio files directly from Koder Drive. Adaptive bitrate, thumbnail previews, and subtitle support built in.

🛠
Trash & Recovery

Deleted files move to trash with configurable retention. Admin-level recovery tools for compliance and disaster recovery scenarios.

Programmatic File Management

Integrate Koder Drive into your applications with a clean, type-safe SDK. Upload, download, organize, and share files from any programming language.

  • Type-safe SDKs for Koder Lang, TypeScript, Python, Go, and Rust
  • S3-compatible API for existing tool integration
  • Batch operations for efficient bulk file management
  • Webhook events for real-time file change notifications
require "koder-drive"

# List and filter files
photos = await Drive.list({
  path: "/photos/2026",
  filter: { type: "image/*", minSize: "1MB" },
  sort: "modified_desc"
})

# Batch download with progress
await Drive.downloadBatch(photos, {
  dest: "./backup",
  concurrency: 10,
  onProgress: (p) => console.log(`$#{p.percent}%`)
})

# Watch for changes in real-time
Drive.watch("/shared/designs", (event) => {
  console.log(`$#{event.type}: $#{event.file.name}`)
})

Self-Hosted Deployment

Deploy Koder Drive on your own infrastructure in minutes. Choose your storage backend, configure encryption, and start syncing.

  • Single binary or Docker deployment
  • Any S3-compatible storage backend
  • Automatic TLS with Let's Encrypt
  • LDAP/OIDC authentication integration
# docker-compose.yml for Koder Drive
version: "3.8"
services:
  drive:
    image: registry.koder.dev/koder-drive:latest
    ports:
      - "443:443"
    environment:
      STORAGE_BACKEND: s3
      S3_ENDPOINT: https://minio.internal:9000
      S3_BUCKET: koder-drive
      ENCRYPTION: e2ee
      AUTH_PROVIDER: oidc
      OIDC_ISSUER: https://auth.company.com
      TLS_AUTO: letsencrypt
    volumes:
      - drive-data:/data

Automated File Workflows

Create powerful automation rules that process files on upload — convert formats, extract text, generate previews, and integrate with external services.

  • Trigger-based rules on file upload, move, or share
  • Built-in processors: OCR, thumbnail, format conversion
  • Webhook integration for custom processing pipelines
  • Scheduled tasks for cleanup, archival, and reporting
require "koder-drive/workflows"

Workflow.create({
  name: "Process Invoices",
  trigger: {
    event: "file.uploaded",
    path: "/invoices/**",
    type: "application/pdf"
  },
  steps: [
    { action: "ocr", lang: "en" },
    { action: "extract", fields: ["amount", "date", "vendor"] },
    { action: "tag", auto: true },
    { action: "webhook", url: "https://erp.company.com/api/invoices" },
    { action: "move", dest: "/invoices/processed/#{year}/#{month}/" }
  ]
})

How It Compares

See how Koder Drive stacks up against the competition.

FeatureKoder DriveGoogle DriveDropboxOneDriveNextcloud
End-to-End EncryptionPartial
Self-Hostable
Delta Sync (Byte-Level)Partial
Real-Time CollaborationPartialPartial
S3-Compatible APIPartial
File Versioning
OCR & Full-Text SearchPartialPartialPartial
Automated WorkflowsPartialPartial
Media StreamingPartialPartial
Open Source

Frequently Asked Questions

Files are encrypted on your device using AES-256-GCM before being uploaded. Encryption keys are derived from your passphrase and never leave your device. Even if someone gains access to the server, they cannot read your files without your passphrase.

Yes. Koder Drive supports any S3-compatible backend including AWS S3, MinIO, Ceph, Wasabi, Backblaze B2, and Cloudflare R2. You can also use local filesystem storage for small deployments.

When a file changes, Koder Drive's sync client computes a rolling hash to identify only the modified blocks. Only changed bytes are uploaded — a 1KB edit to a 1GB file transfers approximately 1KB, not the entire file.

The managed service at drive.koder.dev offers 15GB free, 2TB for Pro ($9.99/mo), and unlimited for Teams ($14.99/user/mo). Self-hosted instances have no storage limits — you're limited only by your infrastructure.

Yes. Koder Drive offers everything Nextcloud does — file sync, sharing, collaboration, and self-hosting — plus native E2E encryption, delta sync, better performance (written in Koder Lang vs PHP), and a more polished user experience.

Yes. Koder Drive exposes WebDAV endpoints for file access from any compatible client. CalDAV and CardDAV are available through the companion Koder Contacts and Koder Calendar modules.

Ready to get started?

Your Files, Everywhere, Encrypted