Real-time events for
modern applications
Built by developers ☕,
for developers 🫶
Simple, intuitive SDKs for both client and server applications, with full TypeScript support and Pusher compatibility.
import { Roostly } from '@roostly/server-sdk';
// Initialize the server SDK
const roostly = new Roostly({
projectId: process.env.ROOSTLY_PROJECT_ID!,
secret: process.env.ROOSTLY_SECRET!,
});
// Trigger an event to a channel
await roostly.trigger('chat', 'new-message', {
user: 'Alice',
message: 'Hello everyone!'
});
// Trigger events to multiple channels at once
// await roostly.triggerBatch([
// {
// channel: 'chat',
// event: 'user-joined',
// data: { user: 'Bob' }
// }
// ]);
- 0 external dependencies
- Lightweight and self-contained SDKs with no external dependencies, reducing bundle size and potential security risks.
- ESM Compatible
- Take advantage of modern JavaScript with native ESM support.
- Pusher Protocol Compatible
- Seamlessly integrate with existing Pusher clients and tools for a plug & play experience.
- Full Observability
- Monitor and track all events in real-time with comprehensive logging, metrics, and tracing capabilities.
Powerful event delivery⚡
Rooster's serverless architecture leverages Cloudflare's global network to ensure reliable, secure, and cost-effective event delivery. Perfect for modern applications that need real-time communication at any scale.
- 99.99%
- Event delivery rate
- <50ms
- Average latency
- Up to 1000
- Events/second
Join the waiting list!
Be the first to know when we ship! 🚀
You'll only get an invitation email when it's ready 👀
Interested in joining the community? Have a look to our discord server