The front page of silalingo.com: the headline, the sign-up box and the counters for words, sentences and lessons.
What it is
SilaLingo is a Thai learning site. It has a dictionary, lessons built from that dictionary, and a review queue that decides what you practice next. Words are shown with their tone and played out loud, because tones are the part most learners find hardest at the start.
There are two parts. The website holds all the content and does the teaching. The Android app uses the same API, so a lesson finished on the phone appears on the site too, and the same in reverse. The database has about 1,100 words, 130 example sentences and 300 lessons.
The Android app
The app is written in React Native with Expo. It is not a wrapper around the website: it has its own screens for the daily lesson, the review queue, the vocabulary list with search, the alphabet, typing practice for every lesson, the progress pages and the achievements.
You install it as an APK from the site, or through Google Play, where it is in closed testing and should go public soon.
The current version is 2.5, from November 2026. It added dark mode across the app, a home screen with your streak, words learned, 30-day accuracy and items due, and a notice when a newer build is ready. One account works everywhere, with Google sign-in or email.
What's in it
Dictionary of letters, words and sentences. Each word shows its tone and has clear audio.
Spaced repetition with levels 0 to 7. A word you keep getting wrong comes back the next day, not in three weeks.
Typing practice: you type the Thai word yourself and get feedback on each character.
Sentence breakdown: tap a word inside a sentence to see what it does there.
XP, levels, streaks and achievements, so there is a reason to come back besides the review queue.
English and Russian interface.
A tone rules cheatsheet as a PNG, for people who still study on paper.
A premium tier with shadowing (record and compare), the mindmap view and some extra lesson sets.
How it's built
Django 5.1 + DRF
Server-rendered pages for the site and REST endpoints for the app. One codebase, one database.
PostgreSQL 16
Dictionary, lessons, accounts and review history.
Redis + Celery
Caching and the scheduled jobs: reminder emails, streak updates, the counters behind the progress pages.
HTMX
Quizzes, review screens and filters update without reloading the page. I did not need a JavaScript frontend for pages that mostly replace one piece of HTML.
Tailwind CSS
Moved here from Bootstrap 5 in steps. A theme is a set of CSS variables behind a data-theme attribute, so dark mode is a second set of values, not a second stylesheet.
React Native + Expo
The Android app: Expo Router for navigation, React Query for API calls, Google Sign-In for login.
django-modeltranslation
Russian fields sit next to the English ones on the same model, so there is no second copy of the content.
Content Security Policy
Scripts are limited to the site itself and two CDNs, with no inline JavaScript and no eval. Styles still allow inline, scripts do not.
Docker + Caddy
Containers on a VPS I run myself. Caddy handles TLS and the reverse proxy.
MCP endpoint
/mcp lets an AI client search the dictionary instead of guessing a word or a tone.