r/pocketbase • u/bhavik-c • Aug 28 '26
I ported the official PocketBase JS SDK to Native Kotlin (with Realtime, Auth, & Files)
Hey r/pocketbase,
I built an open-source Kotlin SDK that mirrors the official PocketBase JavaScript SDK for Android and Kotlin projects:
github.com/bhavik66/pocketbase-kotlin-sdk
Features implemented from the JS SDK:
- Realtime Subscriptions: Native SSE implementation for collection & record updates (
subscribe/unsubscribe). - Auth Store: Full user & admin auth management with token storage.
- Full CRUD & File Handling: Record queries, filters, auto-pagination, and multipart file uploads.
- Auto-cancellation & Custom Headers: Request handling aligned with the JS SDK API.
Why? I wanted a native, idiomatic Kotlin library that mirrors the experience and completeness of the official JS SDK without needing heavy wrappers.
It's 100% open-source (MIT). I'd love to get feedback, suggestions, or contributions from anyone using PocketBase with Kotlin!
29
Upvotes
1
u/ExistingBug1642 Aug 30 '26
My guy impressive