TinyCld - Your cloud, your rules

7 min read Original article ↗

Mail

Full email with threaded conversations, labels, attachments, delivery tracking, and shared mailboxes. Custom domains and a privacy proxy for remote images. Connect with any IMAP or SMTP client, or script it from the command line.

IMAPSMTP

Calendar

Shared calendars with day, week, month, and schedule views, recurring events, guests and RSVP, reminders, and subscriptions to external feeds. Import and export iCalendar files, and let other apps show their dates on your grid.

CalDAV

Contacts

Your personal address book, private to you, with labels, favorites, notes, full-text search, and a trash you can restore from. Import and export vCards. Syncs with any CardDAV client.

CardDAV

Drive

Cloud file storage with folders, versioning, in-app previews, share links, role-based permissions, storage quotas, and trash. Export documents to PDF or SVG on the server. Mount it as a network folder over WebDAV.

WebDAV

Beta

Text

A real document editor — not a textarea in a tab. Rich formatting, tables, comments, suggesting mode with accept/reject, and live CRDT collaboration. Full-fidelity .docx and Markdown round-trips. Mobile-native: format and edit from your phone without fighting the keyboard.

  • Live CRDT collaboration
  • Suggesting mode + accept/reject
  • Comments, mentions, authorship
  • .docx & Markdown round-trip
  • Mobile-first editor

Feature complete · Lightly battle-tested

Beta

Calc

Spreadsheets that hold up on an iPad. Formulas, named ranges, pivot tables, conditional formatting, sort + filter, templates, comments, and real-time co-editing on top of Drive. CSV and .xlsx import/export with formatting preserved, so it actually plays nicely with whatever your team already uses.

  • Pivot tables & conditional formatting
  • Live CRDT co-editing
  • Comments & cell-level presence
  • .xlsx & CSV round-trip
  • Touch-friendly on iPad

Feature complete · Lightly battle-tested

Now shipping Live on the App Store & Google Play

Your cloud,
in your pocket.

The official TinyCld app is here on iPhone, iPad, and Android. Connect to your server, sign in, and your mail, calendar, contacts, and drive show up where you actually use them. No middlemen. No analytics. No re-hosting your data.

  • Native push from the server you control
  • Same UI as the web app — Expo Router under the hood
  • Free, with no account required at our end

v1.0 iPhone iPad Android Mac (Designed for iPad) Visit your self-hosted cloud Free Open source Native push Bring your own server v1.0 iPhone iPad Android Mac (Designed for iPad) Visit your self-hosted cloud Free Open source Native push Bring your own server

Migrate

Switch in an afternoon.

Export your Google data. Drag the ZIP onto TinyCld. We parse .mbox, .ics, and .vcf straight from the zip, dedupe contacts by vCard UID, merge calendars by ICAL_UID, and drop your files back into their original folders.

  • 01

    Download your archive from Google Takeout Mail, Calendar, Contacts, and Drive in one bundle.

  • 02

    Select the .zip files in TinyCld - no unpacking Pick every part of a split export at once; up to 8 GB per run, with progress per app.

  • 03

    Walk away. Re-imports skip what's already there. Contacts dedupe by vCard UID, events by ICAL_UID, calendars reuse by name.

Leaving Google Workspace? Read the full migration guide

$0 / user

Free forever

No per-seat pricing, no premium tiers, no surprises. TinyCld is open source under a permissive license. Self-host it on a $5/month VPS or use our hosted option.

Google Workspace $7.20/user/mo

Microsoft 365 $6.00/user/mo

TinyCld Free

Own your data

Your emails, files, and contacts live on your server. No data mining, no ads, no lock-in. Export anything, anytime.

Deploys anywhere

A single Docker image runs on a $5 VPS, your homelab, or a Dokku one-liner. Healthchecks and Let's Encrypt are baked in - no ops team required.

Private by default

No telemetry, no tracking pixels.

Self-host on your own server and TinyCld never phones home - no analytics, no crash pings, no metered usage reports. External email images are proxied through your server with a scoped token, so senders can't see your IP, read receipts, or user agent. Big tech sees nothing, because nothing is sent.

  • Server-side image proxy for HTML email
  • Invite-only signup - no public account creation
  • One binary, one SQLite file, one place to audit

Native protocols

IMAP, SMTP, CalDAV, CardDAV, WebDAV - use Apple Mail, Thunderbird, any CalDAV client, or mount your drive as a network folder.

Rules, search, and a CLI

Automation rules run on the server: file mail, create events, move cards, post to a webhook. One search box covers every app, and the tinycld command line scripts all of it.

Web + Mobile

One app for web, iOS, and Android - plus standard protocols so Apple Mail, Thunderbird, and Finder just work alongside.

Real-time

Live updates across all apps via server-sent events. No polling, no manual refresh - changes from other users and devices appear instantly.

IMAP RFC 9051

Read email from any mail client - Apple Mail, Thunderbird, Outlook, mutt

:993

SMTP RFC 5321

Send email through any client that supports SMTP submission

:465

CalDAV RFC 4791

Sync calendars with Apple Calendar, GNOME Calendar, DAVx5, and more

:443

CardDAV RFC 6352

Sync contacts with Apple Contacts, GNOME Contacts, DAVx5, and more

:443

WebDAV RFC 4918

Mount your Drive as a network folder from any OS - macOS Finder, Windows Explorer, Linux Nautilus

:443

For teams

Ready to ditch the subscription?

Host TinyCld yourself on a small Linux VM. One Docker container, one compose file, working email and HTTPS in about fifteen minutes.

See deploy options See the source on GitHub

# on any Linux VM with Docker
$ mkdir tinycld && cd tinycld
$ curl -O https://raw.githubusercontent.com/tinycld/tinycld/main/docker-compose.yml
$ docker compose up -d
✓ ready · https://mail.example.org

Auth

Sessions, signup, login, and OAuth-ready user records.

const { user } = useAuth()

Automation

Declare triggers and actions; users wire them into server-side rules.

automation.RegisterAction("todo:close", …)

Live data

Reactive queries with TanStack DB. Updates push automatically.

useOrgLiveQuery((q, { userId }) => …)

Mutations

Optimistic updates with rollback. Generator-based for sequencing.

const m = useMutation({ mutationFn: …})

Email

Send transactional + IMAP/SMTP serving for end users. One config.

mailer.Send(ctx, msg)

Files

Upload, version, share. Thumbnails, mime detection, role-scoped.

drive.insert({ file, parent, owner })

Notifications

In-app drawer + toasts. One feed for every package event.

notify({ title, body, data })

Expo Push

Native iOS + Android push out of the box. Per-user device tokens.

push.SendToUser(ctx, userId, msg)

Audit log

Append-only record of every change. UI to browse and export.

audit.Record(ctx, "contact.created", …)

Forms

Hook Form + Zod, typed end-to-end. Inputs styled to match.

useForm({ resolver: zodResolver(schema) })

Theming

Light + dark, semantic tokens, user-pickable color palettes.

useThemeColor('foreground')

Web + Native

One codebase. Expo Router routes work in both.

<Link href={orgHref('crm/[id]', …)} />

Plus everything PocketBase gives you (admin UI, file storage, real-time, OAuth providers) and everything Expo gives you (Expo Router on web + iOS + Android, EAS builds, OTA updates). The stack you don't have to build.

manifest.ts

1export default {
2  slug: 'crm',
3  routes: { directory: 'screens' },
4  collections: { register: 'collections' },
5  settings: [{ component: 'settings/admin' }],
6  migrations: { directory: 'pb-migrations' },
7  server: { module: 'tinycld.org/packages/crm' },
8}

screens/ App routes under /a/

collections.ts Typed pbtsdb wiring

settings/ Settings panels

pb-hooks/ PocketBase JS hooks

pb-migrations/ DB migrations

server/ (Go) First-class Go ext

public-screens/ Top-level routes

tests/ Vitest + Playwright

01 You write the directories listed in your manifest.

02 pnpm install links it as a workspace member.

03 The generator stitches everything in - routes, types, server, migrations.

04 Your package is alive on web and native, with a working admin UI.

For developers

Start a package in sixty seconds.

The scaffolding CLI sets up a sibling repo with a working manifest, an example screen, and the symlink wired into a running app shell. From npm create to a live route in your browser.

Read the build guide Tour the architecture first

# in your workspace root
$ npx @tinycld/bootstrap --new crm
  ? Include a Go server? y
✓ Created ./crm
✓ Linked crm into the workspace
✓ Generated routes, types, migrations
→ open http://localhost:7100/a/crm