Recipes

Build specific Puter.js features with recipes from Puter and the community.

Store Data
Learn how to store data in the Puter.js key-value database. Every entry lives inside the user's own Puter account.
Key-ValueAuthData Modeling
Store Files
Learn how to store binary files in Puter.js object storage. Every file lives inside the user's own Puter account.
File SystemAuth
Ask for Access
Learn how to request permissions with Puter.js to let your app use the user's folders, apps, subdomains and email address.
PermissionsAuth
Store a Small List
Learn how to keep a list of items, such as todos or notes, inside one key-value entry so you can retrieve data in a single read. It fits a few thousand small items.
Key-ValueData Modeling
Store a Large Collection
Learn how to store a large collection of data in the Puter.js key-value database. It fits any number of records and you can read or change one at a time.
Key-ValueData ModelingPerformance
Query a Collection
Learn how to perform queries on a collection of records in the Puter.js key-value database.
Key-ValueData ModelingPerformance
Build an API with a Worker
Learn how to build a backend API for your app with Puter.js serverless workers.
WorkersKey-ValueAuth
Store Server-Side Data
Learn how to store data that every user of your app can read and update, instead of each user only accessing their own storage.
WorkersKey-ValueAuth
Deploy Workers Programmatically
Learn how to deploy serverless workers from your app with Puter.js, so each user or project gets its own backend.
Workers
Share a File
Learn how to add file sharing to your app with Puter.js, so users can share files in their Puter account with other people.
File SystemAuth
Host Files Online
Learn how to host files from the user's Puter filesystem online and give them a public URL that anyone can open.
File SystemHosting
Add Website Publishing
Learn how to let users publish websites from your app with Puter.js.
HostingFile System
Manage Websites
Learn how to list, look up, repoint and delete the websites your app has published with Puter.js.
Hosting
Add Team Support
Learn how to add team support with Puter.js, so your app can get the user's team and its members.
TeamsAuth