One good bassline and a beat you can’t get out of your head.
Tim Sweeney has been putting records like that on the radio since 1999, when he started Beats In Space as a student DJ in an NYU basement. Every week, he puts together a new mix to share what he’s found on his show that’s inspired listeners for decades.
The show moved to Apple Music 1 in 2021, and Tim still publishes it himself every Thursday. Previously, on a different CMS, getting a mix online was a chore and could eat up half his day. He wanted publishing to feel as simple and good as dropping the needle on a record. And he wanted his listeners to easily find music that moves them.
That was the brief Jon Rivera and his team at Websessions worked from when they rebuilt the site on Sanity and Next.js. The team built around Tim’s Thursday routine. Genre tags are added automatically when he publishes, and listeners can search the growing archive by a track’s vibes.
Why keyword search falls short for a deep archive
The Beats In Space archive is prolific, with more than 1,200 mixes, 40,000 tracks, 16,000 DJ pages, and 20 genres.
Sometimes you know what you want to hear before you know what to call it. You might be in the mood for something danceable without having an artist or label in mind. Jon wanted listeners to be able to search that way and see where it took them.
Semantic search usually means setting up a vector database and keeping it in sync with your content, and keyword matching means writing your own ranking logic or paying for a service. Websessions skipped both, because the search runs on the same dataset as the content, natively in Sanity.
Keyword and semantic search in one query
Try “cosmic disco.” In the demo, it brings up 24 mixes, including one by Love Fingers. The exact phrase never appears in that mix, but tucked into the track list is a song called “disco spaceship.” The search looks across nine fields, including artist names, track titles, labels, and genre, so a detail like that can lead you to an entire set. “Holiday techno” turns up plenty to dig into, too. Results appear in around 400ms.
It is one GROQ query that works in two steps.
First, the query ranks exact keyword matches across fields like description, primary artist, and label, using BM25, a standard ranking method. Mixes that mention the phrase more often rank higher, long and short entries get an equal chance, and a boost adds points when an exact match exists. When exact matches run out, semantic similarity fills in, using embeddings stored in the dataset.
To have the semantic similarity functionality, and then everything, as I say, with the batteries included, just made it way easier for us to implement.
Jon RiveraFounder, Websessions.co
There is no separate vector database to maintain. When Tim publishes, the embeddings for the new content are generated automatically, and the mix is searchable within seconds. That’s one query, one dataset, and nothing extra to keep in sync. Even at the scale of 1,200 mixes and 40,000 tracks, Jon from Websessions said, it was straightforward to build.

New mixes tagged and linked automically
On the old site, finishing a mix meant sitting down to enter the track list by hand. Every track title, artist, label, and featured artist had its place in a WordPress custom field. Now Tim copies the plain-text track list he already has and pastes it into a single input in Sanity called “import track list.”
The input parses each line by number, artist, track, label, and featured artist, using the tags and indentation in the rich text field, then adds the whole list in bulk. Each track, artist, and label becomes its own document with references between them. That graph, built by modeling tracks, artists, and labels as their own documents, is what powers the artist pages and the related mixes. In the live demo, one publish created 10 new artists and 22 new tracks.

Because Studio is configured in code, a developer, or a coding agent, can build an input that matches Tim's workflow exactly.
The paste could be the next step to go. Jon described a near future where publishing is a simple conversation in Slack, using Content Agent or MCP Connector. In this workflow, Tim could ask the agent to publish the new mix, and the agent would come back with a finished draft for him to approve. Until then, the pasted import works well for Tim and keeps his Thursday publishing ritual to under 20 minutes.
The import also feeds genre tagging. Sanity’s Dataset Embeddings compare each new track against the 40,000 already in the archive, and when a match is over 90% confident, the genre is picked automatically. If the match is weaker, or the track is new to the archive, Gemini infers the genre instead.
Publish a mix, and the newsletter is ready to send
When Tim publishes, the mix goes live with its video, hosted with Mux, and its images. It links out to Instagram, where listeners can leave comments, and shows related mixes based on shared artists. The same publish stages a newsletter draft in Resend, with a preview in Studio that matches the email, and Tim can send a test or a broadcast from the same place he edits the site. One source feeds the website and the newsletter.
Publishing on our old CMS used to feel like such a chore. Sanity made things simple. I drop in images and video and it's live. Everything is searchable, and people can discover mixes in so many different ways now. I've been loving it.
Tim SweeneyDJ host, producer, founder
More time for the music
Tim’s Thursday publishing routine now takes under 20 minutes. He pastes in his track list, adds the images and video, and hits publish. By the time he shares the episode on social and Apple Music, listeners can already find it on the site.
For someone tuning in, that new episode might be the start of an afternoon in the archive. One track can lead to an artist page, which leads to a mix from years ago. Tim keeps putting new music in front of people, and listeners follow whatever catches their ear.
You can watch the webinar recording on Beats In Space with Websessions, here.




