Introducing dbshare.town, an ATProto app for sharing SQLite databases
December 2nd, 2026 by Alex Garcia
dbshare.town is my new experimental project for sharing SQLite databases on the ATProto network. Databases are stored on your own PDS as blobs, not on someone else's server. "Social activity" like creating databases, liking databases, and creating your profile are shared across the ATProto network. It's free and open. Try it out! Follow @dbshare.town on Bluesky or my blog's #dbshare RSS feed for future updates.
Say you have your hands on some interesting dataset: power outages in your local city, Wikipedia edit history for a politician, a map of local geocaches. How would you share it with others?
You have options! As a developer you may use GitHub Gists, Hugging Face Datasets, or a public Google Sheet/Google Drive folder. If you're a city government, maybe you use Socrata, data.world (RIP), or ArcGIS Online. If you're an academic, CKAN, DKAN, Dataverse. Or maybe you just throw it in an S3 bucket and hope no one bankrupts you.
Nothing is wrong with any of these choices. They all work fine, and people will find your data.
But for some folks, like me, sharing datasets is a hobby! I have dozens of scrapers and one-off projects of interesting and niche datasets, and not only do I want to share them with the public, but I also want to see other people's weird and curated datasets!
So, after recently getting ATProto-pilled, I have released dbshare.town, a social network for sharing your weird and interesting datasets with the world.
¶ dbshare.town is an ATProto application
The general concept of dbshare.town is straightforward: You log in with your Bluesky/Atmosphere account, upload SQLite databases with some attached metadata (title, description, licenses, etc.), like other people's databases, and see other databases that people upload. Simple!
But I don't host these databases. I personally don't want to: hosting untrusted third-party data myself would be extremely expensive, a moderation nightmare, and a headache I don't want.
So instead, we rely on ATProto. SQLite databases are uploaded to your Personal Data Server (PDS), the same server that hosts your Bluesky posts, pictures, and videos. This PDS holds your data, and you can migrate between PDS hosts at any time.
¶ How it works
Today, a "database" on dbshare.town is a SQLite file and some text metadata like a name, description, license info, and timestamps. The specification for a "database" is defined as the town.dbshare.database lexicon, which enumerates the exact fields and rules a database record should abide by to appear in dbshare.town.
Here's the actual record that was created when I published an Academy Awards winner database:
{
"$type": "town.dbshare.database",
"content": {
"$type": "town.dbshare.database#blobContent",
"file": {
"$type": "blob",
"mimeType": "application/x-sqlite3",
"ref": {
"$link": "bafkreiflzyfn7psly2blkmzzvk4hktj3xmbz6vaprndtxw6uqrv4ue57a4"
},
"size": 3899392
},
"format": "sqlite"
},
"createdAt": "2026-11-24T17:44:47.610Z",
"description": "Academy award winners, from Wikidata",
"license": "CC0 1.0",
"listed": true,
"name": "academy-awards"
}
Explore the raw record on pdsls.dev
This record contains all the "social" data behind this dataset: the name, description, and license fields. The raw contents of the database are described in the content field, where we have the raw SQLite file uploaded as a blob in the PDS. You can use that $link value to construct the direct URL to download the blob.
Usually, blobs in ATProto are used for uploading photos, videos, profile pictures, and small audio snippets. Here we use it for raw data sources, and it works great!
There are practical limits to this: My PDS is the default one from Bluesky, which currently has a high 300MB file size limit for blobs! I'm not sure if this will change in the future, and there are daily limits to the number of blobs you can create.
Now for the "social" aspect of dbshare.town: "liking" a database is also a lexicon called town.dbshare.like. Here's a sample record when I liked my own USGS earthquakes database:
{
"$type": "town.dbshare.like",
"createdAt": "2026-11-24T17:49:04.048Z",
"subject": {
"cid": "bafyreifo7kirnnhnxo2cixq3zrpd3wy4kd2eyfih56uh22bmlgm3ye3a6i",
"uri": "at://did:plc:fjqvlcfakpht4exffejyfc25/town.dbshare.database/3n336zzucaf2a"
}
}
Explore the raw record on pdsls.dev
There are also user profiles in the town.dbshare.profile lexicon, so you can give yourself a different display name, profile pic, pin databases to your profile page, etc. My own profile record is a good example. Other ATProto apps sometimes use a user's Bluesky profile instead of creating their own, but I didn't want to port over a profile without permission.
¶ How dbshare.town runs: an "app" and "AppView"
The dbshare.town frontend is just a static site running on a Cloudflare Worker. The ATProto login can happen all client-side with OAuth screens and redirects, with no need for a database or server for the current simple feature set.
However, to curate uploaded databases, likes, and profiles, I have a small server running on exe.dev at api.dbshare.town. The server listens to the Bluesky Jetstream, which is essentially a long-running websocket that pushes out live ATProto activity. It listens to any new records matching town.dbshare.* and keeps an index of activity, to answer questions like "what recent databases have been created", or "how many likes does this database have", or "what databases has this user liked". The server is Node.js/Hono with a SQLite database storing data.
In the ATProto/Atmosphere community, this is called an "AppView", but I personally find that name awkward. "AppView" to me sounds like a frontend term, not an index or cache of live updating data. I've seen others express the same opinion, so I don't think I'm alone!
In the future, I will likely port the app to an actual server (Cloudflare Worker + D1 or fly.io machine with SQLite/Litestream), to have longer-lasting OAuth sessions, dynamic RSS feeds, granular API token access, and dynamic OG images for social media embeds. Both the app and appview will be open sourced soon on the dbshare.town repository!
¶ Private data with ATProto Spaces
The Bluesky team just announced the public beta of "Spaces" yesterday, which is very exciting! Traditionally, ATProto data is public to everyone in the world, so Spaces allows you to add permissions to your posts/records.
In the future this means you could share databases on dbshare.town with specific people or groups. Today, we have an option for "private" databases, where databases are published in an "only-you" personal space, meaning no one except yourself can view it.
For example, here's a private database of mine. You can't see it! Only I can, when I log in.
¶ ATProto is fun, and I want to build more
Building a social network in the past was difficult, expensive, and would never really work out. But most small-scale ATProto apps can be really affordable! dbshare.town is a free-tier Cloudflare Worker and a cheap exe.dev VM. I don't host most user data, and the Bluesky Jetstream does most of the work.
A few future features I want to see in dbshare.town include:
- A CLI for publishing/editing databases on the command line (great for GitHub Actions scraping)
- Following users or new releases on a database, RSS feeds
- Comments on databases or releases
- More data formats outside of SQLite: Parquet, DuckDB, flat CSVs or JSON, or even remote databases like Datasette/Postgres etc.
Stay tuned! I'll publish updates on Bluesky at @dbshare.town and my blog's #dbshare RSS feed in the future.