Stashpad

Streamlined Google Doc Alternative

About

Stashpad provided a minimal Google Docs alternative with markdown support and no account required to use.

How they use Cloudflare

The Stashpad application was built utilizing Hono and Cloudflare Workers. Cloudflare Workers helped direct requests, serving as an API responsible for authenticating access. The team leveraged Durable Objects and PartyKit to manage the collaborative state of the application. In instances where a customer was collaborating in a document, updates were powered and maintained via Durable Objects. When users lef a document, the document and data was stored in R2 and the state persisted until a user came back to the document, at which point the Cloudflare Durable Object was restarted to interact real time with Stashpad.

Finally, the Stashpad team leveraged Workers KV to cache and store relevant session information, authenticating access to the collaborative documentation.

Why Cloudflare?

“The deployment process between Github and the Wrangler Command Line was incredibly simple. Cloudflare’s Developer Documentation is strong, and the overall developer experience has made discovering new products and streamlining workflows easy.”