Datasette for websites
Datasette templates can be used to build custom websites with Datasette under the hood. Examples include the site you are browsing right now.
datasette.io
The official Datasette website runs on top of a customized Datasette instance.
- datasette.io, an official project website for Datasette talks through the basics of how the site works.
- Building a search engine for datasette.io explains how the site search works, using the dogsheep-beta search plugin.
- The Baked Data architectural pattern describes the Baked Data architecture pattern used by the site, and provides a detailed description of how the build scripts for the site work.
- github.com/simonw/datasette.io has the full source code for the site, including the GitHub Actions workflows that build the databases and deploy them to Google Cloud Run.
- datasette.io/content is the Datasette interface for the main database that powers the site.
til.simonwillison.net
A blog sharing TILs - Today I Learned snippets.
- Using a self-rewriting README powered by GitHub Actions to track TILs introduces the site.
- The site uses the datasette-atom plugin to provide an Atom feed of new entries.
- til.simonwillison.net/tils exposes the underlying database.
- The site is deployed to Vercel using the datasette-publish-vercel plugin.
Niche Museums
www.niche-museums.com is a directory of small and niche museums, powered by Datasette. Read niche-museums.com, powered by Datasette for details, or browse the code on GitHub.
Rocky Beaches
Rocky Beaches by Natalie Downe shows the best times to go tidepooling at Pillar Point near Half Moon Bay, California. It runs on Datasette, using SQL queries to suggest the best times to go based on low tide times and sunrise/sunset and display recent observations recorded on iNaturalist.
The source code is available at github.com/natbat/rockybeaches. The site uses the datasette-graphql in some of the templates, for example here.