How skowt.cc survives millions of views a month

What it's built on, and what broke along the way. 8 min

skowt.cc is a reference site for creatives. A group of contributors and I upload game art, a lot of it from gacha games, and people browse it, pose the characters' 3D models in the viewer and pull references back down, often a few hundred images at once. It gets millions of views a month.

It's been running since 2022 First as a raw file index, then as wanderer.moe, now as skowt. Same data the whole way through., which I know is a little insane to keep focusing on. But what I've always said is that everybody deserves the same chance to make things, no matter what's holding them back, how much they know about tech or what device they're on. Millions of people love these games, and I hope giving them a proper reference site helps. That's why I do it. At the end of the day, though, none of this is free.

I started it at 15 as a bare directory listing on a VPS running on student credits. Nobody could really use it, so it got a proper frontend, and because I was broke, the frontend was also the storage: every single asset got baked into the site at build time and shipped with it, about 500MB of it. No server, because a server was a bill. The habit stuck. Every request should be as close to free as I can make it.

Today it's a monorepo: the site (TanStack Start), an API (Elysia on Bun), a Cloudflare Worker in front of every image, Postgres for data, R2 for files, Redis for everything short-lived and a GPU on Modal that only switches on when something's uploaded. These are the parts I'm proudest of.

The day one query took the site down

For most of its life skowt ran on Turso, which is basically SQLite with a server in front. Then one query decided to read the entire asset table. The database got stuck on it, every other request queued up behind it and the server ran out of memory. Nothing put a limit on a bad query, so one bad query took the whole site down.

So I moved everything to Postgres, with three scripts I could re-run as often as I liked: load the old database, upgrade it, then copy every table across in one go and compare every single row back. On the real data that was 43,616 assets, every table matching, in under 80 seconds over the internet and the embeddings came back bit for bit.

Before any traffic touched the new database, I tested restoring it to an exact second. It took 2 minutes 26 seconds to get a copy that matched the original row for row. I wasn't going to find out a backup didn't work on the day I needed it.

Making every query boring

A database is only as fast as the plan it picks, and both of skowt's worst days came down to one bad plan. A quiet game's page read all 43,000 rows to fill a single page, and a week later a "more from this category" row did the same for rare categories on every page view. Neither was slow on average. The rare cases fell off a cliff, which an average will never show you.

The fix was indexes shaped exactly like the questions being asked, so a rare category is a short jump instead of a search through everything. That related-files query now takes 0.07 milliseconds, and the biggest game page, with 15,911 files, takes 1.5.

Then there's a trap most people never find out about. Database drivers like to plan a query once and reuse it, and after five runs Postgres is allowed to swap in one generic plan for every input. A generic plan can't tell a rare category from a common one, so you'd get the exact same outage back, this time as an "optimisation". skowt tells Postgres to plan every query fresh. It costs one extra round trip, which is nothing next to reading the whole table.

And everything has a ceiling now, each a bit above the one below it: 5 seconds for any query, 10 for an API call, 12 before the website gives up on the API. A bad plan costs one person an error page instead of costing everyone the site.

None of those numbers are guesses. A script runs the real API calls against a copy of production and times every query: 45 of the 46 busiest run in 0.03 to 3.1 ms. The 46th is searching a name with only two letters, which takes 20 to 30 ms, and I've left it like that on purpose. The only fix would change what people see when they search two letters, and that's a product decision, not a database one.

Search that answers "does anyone know"

My Discord had a channel called #asset-hunt, and it got used constantly: does anybody know an asset with such and such, where's this from. Nobody remembers a filename. They remember the blue hair, and that it was from that one game, and the file's called IMG_4471.png. For about half the assets the filename is a random id anyway. People kept asking for tags, and I wasn't going to have anyone tag tens of thousands of images by hand, least of all me. So I made "hey, does anyone know" something the site answers by itself.

Every asset gets a caption written by an AI model, and every image gets turned into a vector. When you describe something, two searches run at once: one over the captions, which is exact (a word is either there or it isn't), and one over meaning, which always finds something but gets noisier the further down you go. Caption matches come first and the meaning search fills in behind, catching the descriptions nobody's caption happened to use.

The part that's easy to get wrong is that vectors are only comparable to vectors made exactly the same way. The first pass ran partly on my own 5070 at home, squashed down (q8) to fit, because I wasn't paying for full quality before I knew anyone would use it. People leaned on it way harder than I expected, so I went all out and redid everything at full precision on a GPU. And when I checked, the squashed version of the exact same model only agreed with the full one somewhere between 0.70 and 0.93. Nothing errors on a number like that. Search still returns a full page. It's just quietly wrong: you search for something you know is there, and it isn't. So anything that writes vectors now has to prove it matches first, and the CPU fallback only got the job because full precision on it lands at 0.97 to 0.99.

Then there's speed. Doing the meaning search inside the database held up right until two people searched at once: every search dragged around 120MB of vectors through it, and the slowest 1% of searches took 19.5 seconds. But 120MB is only 120MB. I moved the whole thing into the API's memory, and a search is now just multiplying your query against every vector and keeping the best 60. No vector database, no clever approximations, nothing to tune. The slowest 1% dropped to 400 milliseconds. A new upload shows up in search about 15 seconds after it's added, and nobody's search ever waits for it.

A queue I'm allowed to lose

Every asset needs its caption and vector made exactly once. The first version just checked every five minutes for anything missing them. That's always correct, but slow, so I added a queue: an upload goes straight on it and is searchable about six seconds later.

Queues come with their own mess, though: jobs that die halfway, retries, a pile of failures to clean up and the queue's idea of what happened drifting from the database's. So the five-minute check never went away. It's still the real definition of "done", and the queue only makes it faster. Jobs get three tries and then just drop, because the next check picks them up anyway. Losing the entire queue costs a few minutes and never any data.

Every caption and vector is also saved with the model that made it, and nothing gets overwritten, so upgrading the model is boring: fill in the new one next to the old, flip one setting and flip it back if it turns out worse.

All the files sit in R2 under plain names, so for years anyone could build a link straight to an original, skip the download counter and run up the image bill. Now every image request goes through a tiny worker at the edge. Ask for an original and you get its preview instead. Only previews, thumbnails, the 3D viewer's files and a few other known shapes are ever served, and everything else is refused before storage is even asked. Downloads need a Discord sign-in, which is how one person keeps abusive users off the site, so the only way to an original is a short-lived signed link from the API.

I redirect instead of breaking old links on purpose. Years of skowt and wanderer.moe links are sitting on Pinterest and in Google, and that's traffic I want, so every link ever posted still works. It just lands on the preview now.

Uploads get the same suspicion in the other direction. Every one is treated as hostile: checked to actually be an image, stripped of GPS and camera data before it can ever go public, checked against every live asset so the same image can't get in twice and held somewhere unservable until a moderator approves it.

The end

When I started this, I expected maybe a couple of hundred people to use it. It's turned into something absolutely insane, and never in a million trillion years did I think a directory listing on student credits would end up here. As of v6 it's tens of thousands of assets, plus 3D models for Genshin Impact, Honkai: Star Rail and Zenless Zone Zero characters with animations, a pose mode and image and video export right in the browser, all run by me and the Discord regulars I trust not to get phished.

I've learnt so much from it, and I'll keep building it for the community.

--= dromzeh.dev 2026 products =--

Key :DOWNL-OADM0-RERAM-FREE1-00PCT