Publishing Your Recipes
The Cooklang Federation indexes recipes from community members' repositories and makes them searchable. You host your recipes wherever you want — GitHub, your own website, a blog — and the federation makes them discoverable.
You keep full control. Update, remove, or modify recipes anytime.
Publishing via GitHub
The simplest approach. Put your .cook files in a public GitHub repository:
Then add your repository to the federation:
- Fork the federation repository
- Edit
config/feeds.yamland add your entry underfeeds::
- Submit a pull request
Once merged, the crawler indexes your recipes automatically and checks for updates periodically.
Publishing via RSS/Atom Feed
For blog-based sharing, create an Atom feed pointing to your .cook files:
Host both the feed and your .cook files, then add the feed URL to config/feeds.yaml with feed_type: web.
Publishing as a Static Website
The fastest way to publish your collection as a browsable website is cook build web. It generates a complete static site — HTML, CSS, search, and all — from your .cook files in one command:
Push the output to GitHub Pages, drop it into Netlify, sync it to S3, or copy it to a USB stick. No server, no build pipeline, no extra tools. See Hosting Recipes as a Static Website for the full walkthrough including hosting options and a GitHub Actions workflow.
Integrating with Existing Static Site Generators
If you already run a Hugo, Jekyll, or similar site and want recipes alongside other content, export each recipe to Markdown and let your existing pipeline render it:
For a standalone recipe site, prefer cook build web — it ships the same template the federation uses and handles search automatically.
Recipe Metadata
Include metadata in your .cook files to improve discoverability:
Updating and Removing Recipes
GitHub: Edit your .cook files, commit, and push. The federation picks up changes on the next crawl.
RSS/Atom: Update your .cook files and the <updated> timestamp in your feed.
Leaving the federation: Remove your entry from feeds.yaml via pull request, or make your repository private.
See Also
- Hosting Recipes as a Static Website — generate a browsable site with
cook build web - Recipe Discovery — how users find your recipes
- Federation Repository — submit your feed
- Creating Cookbooks — turn recipes into a PDF cookbook