~/talk

Built-in AI: how Mastodon uses translation APIs

Talkat Web AI Summit 2025 · on Friday, 2025-10-17· [web-platform, large-language-models]
slides:none on file

Integrates the Language Detector API and Translator API into the Elk.zone PWA to stop mislabeled Mastodon posts and cut server translation costs; detection runs only after ~5 graphemes and is debounced for low-end devices, fixing noisy keyup behavior, while translation moves to the browser when available to avoid paying for server-side quotas. The client patch is ~40 lines of Vue, merged and running in production on a project with ~600 forks and nearly 6,000 stars.

AI-written summary · about

  1. 0:00Identifying the challenge
  2. 4:04Language detection API
  3. 5:34Optimizing API performance
  4. 8:01Implementing translation
  5. 9:26Project deployment status
  6. 9:51Prompt API and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.