Lightweight, type-safe, and production-ready developer tools for iOS, Android, Web, React Native, and Flutter. Connect millions of users in minutes.
import { ConnectHub, AuthProvider, RealtimeFeed } from '@connecthub/sdk';
// Initialize SDK with your project credentials
const hub = new ConnectHub({
projectId: 'proj_x8k92m',
apiKey: process.env.CONNECTHUB_API_KEY,
env: 'production'
});
// Authenticate & sync offline-first
await hub.auth.login(AuthProvider.oauth2);
// Subscribe to real-time events
hub.feed.on('post.created', (data) => {
console.log(`New post: ${data.title}`);
updateUI(data);
});
await hub.connect();
console.log('✅ Connected to ConnectHub');
Everything you need to ship social features faster, without the infrastructure headaches.
WebSocket-powered live updates with automatic conflict resolution and optimistic UI patterns built-in.
Local SQLite/Realm persistence with background sync queues. Your app works seamlessly without internet.
Full TypeScript definitions, schema validation, and secure token rotation out of the box.
Track engagement, retention, and content performance with privacy-compliant event logging.
Import only what you need. Tree-shakable packages for Auth, Feed, Messaging, Live, and Cloud Functions.
Auto-routed to nearest edge node. Sub-50ms latency worldwide with automatic failover.
Comprehensive guides, API references, and community support to ship faster.
Complete method signatures, parameters, and return types for every SDK module.
Browse Docs →Step-by-step instructions for upgrading from v1.x to v2.x with zero downtime.
Read Guide →Track new features, bug fixes, and breaking changes in every release.
View Releases →Join 40k+ developers. Ask questions, report issues, or contribute to the open-core SDK.
Join Discord →