logoF2 Chat Stats

How? (WIP)

Overview

Architecture overview diagram
View full size

The overall goal was to balance between being cost effective whilst leaving room to learn some new tech. Somewhere between a fully pre-generated site hosted on github pages and a dynamic application requiring heavier on demand processing.

Pipeline

TODO: blah blah processing done up front, so app only simple reads with easy caching

  • Collection of Go scripts ran sequentially
  • Stored in local Postgres
  • https://github.com/unitaryai/detoxify for msg classifications
  • Publishes precalculated stats to app DB

UI

TODO: blah blah Next.js server rendered & cached pages. API calls from UI server, not client frontend

API

TODO: blah blah AWS API Gateway + Lambda go funcs backed by Turso DB