# TESL Decks

Free deck builder and card database for The Elder Scrolls: Legends, with 22 page routes, 1,233 cards and an English and Russian interface. It ships as a PWA and signs players in with Discord, Google, Steam or an email code. The hard parts were reading card data out of the game client, Steam sign-in and a deck code compatible with the game.

- **Facts:** 2026, Personal project, Live, role: Sole developer
- **What I did:** I built it alone with AI-assisted workflows: I made the product and architecture decisions, agents wrote much of the code.
- **Scope:** fullstack
- **Domain:** gaming
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, oRPC, Drizzle, Neon, Better Auth, Cloudflare R2, PWA, Service Workers, SEO, Canvas API, IndexedDB, Cheerio, OAuth, Docker Compose, FFmpeg, sharp, Bun, Umami, GitHub Actions, TanStack Query, Zod, React Hook Form, next-intl, TanStack Table, TanStack Virtual, Motion, Recharts, T3 Env, nuqs, React Compiler, oxlint, Claude Code, Playwright, Google Stitch, Docker, shadcn/ui, AWS, AWS S3, Base UI, date-fns, PostgreSQL, dotenvx, Husky, Knip, oxfmt, Ultracite, Vercel, Python, Cloudflare Workers, Turbopack
- **Live:** https://tesl-decks.com
- **Page:** https://sergey-petrinich.vercel.app/work/tesl-decks
- **Screenshot:** https://sergey-petrinich.vercel.app/work/tesl-decks.webp

Capabilities:

- Virtualized grid and table with URL-as-state filters and word-start search that recovers from a wrong keyboard layout
- Card pages with an alt-art picker, rules hints, related tokens and top decks using the card
- Undo and redo, cookie and URL drafts, and a clipboard import offer
- Rules validation for copy limits, attributes and deck size
- Deck code for the game's own SP format with alt arts and an optional name suffix
- Private, unlisted and public saves with a catalog sorted by likes, views and quality
- PNG export and a tall share image that lists every card
- Sign-in with Discord, Google, Steam and an email code, plus a Discord deck-claim flow
- Admin inbox for deck and comment reports, a users table with bans and feedback routed to GitHub issues
- Opt-in offline mode with Service Workers and sprite-atlas art from Cloudflare R2
- News with RSS and comments, and a Reborn leaderboard synced daily
- English and Russian with hreflang, a sitemap and per-page share images

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
