Examples

Explore real-world applications built with Cossack to learn patterns and best practices.

Counter

A simple counter demonstrating server-side state, optimistic UI, and real-time synchronization between clients.

State Optimistic UI WebSocket
View Source →

Todo App

A full-featured todo list with CRUD operations, filtering, and persistent state via Durable Objects.

CRUD Durable Objects Validation
View Source →

Real-time Chat

A multi-user chat room showcasing channels, event broadcasting, and real-time state synchronization.

Channels Events Real-time
View Source →

Form Validation

A registration form with client and server-side validation, async validators, and error display.

Validation HTTP Transport Forms
View Source →

Image Gallery

An image gallery using the built-in Image component for edge-optimized, responsive images.

Image Responsive Edge
View Source →

Static Blog

A blog with MDX support, static site generation, sitemap generation, and nested layouts.

MDX SSG SEO
View Source →