Gök is a discovery platform for Ekşi Sözlük that turns real-time data into two ways to see what people are discussing:
-
Radar: a live view of topics gaining activity, with AI summaries, story threads, a news-only switch, activity replay and rank movement.
-
Atlas: browsable maps of durable topics, built from shared writer participation.
Atlas snapshots are available on Hugging Face.
The scraper collects trending topics and their new entries from eksisozluk.com. It paginates from the last stored entry, deduplicates in PostgreSQL, and keeps enough history for both live and long-term views.
The Radar ranks topics by recent entry activity, shows rank changes, and animates new entries as they arrive. You can go back to any point in the last 24 hours and replay from there at 1x or 60x.
With Gemini configured, digen adds three things:
- Briefs: a short summary of each hot topic. A brief is rewritten only when new entries add something to it.
- Stories: new topics about the same event are linked into a thread. Radar shows them in a strip above the grid and as a timeline in the topic panel.
- Gündem: each hot topic gets a score for "is this about something happening now?". The gündem switch hides football and everyday chat.
Stories, gündem scores and the brief check are yes/no questions to the Gemini Decisions API, which returns a probability. See how digen works for the jobs, their settings and the running cost.
Atlas is an offline snapshot of durable, recently active topics. It links topics when enough of the same writers post in both, groups them into communities and regions, lays them out, and publishes the result atomically.
A link means shared participation, not that the topics are alike. See Map curation for the selection and grouping rules.
Prerequisites: Go, PostgreSQL, and a filled-in configuration file.
cp configs/templates/config_template.json configs/config.json
# Create the database and user (match your config)
psql -U postgres -c "CREATE USER gok WITH PASSWORD 'gok';"
psql -U postgres -c "CREATE DATABASE gok OWNER gok;"
go build -o gok ./cmd/gok # scraper
go build -o api ./cmd/api # Radar and Atlas
go build -o digen ./cmd/digen # briefs, stories, gündem scoresStart the scraper and digen, then the API, and open http://localhost:port:
./run.sh
./apidigen needs GeminiApiKey. Each job has its own interval: TopicBriefIntervalMinutes, StoryIntervalMinutes and AgendaIntervalMinutes.
To build and publish a fresh Atlas snapshot (restart the API afterwards):
./scripts/build-map-pipeline.sh --map-name currentThe pipeline uses Gemini to name regions and writes to reports/maps/current/. Use --skip-durability --edge-days 30 to include every topic active in the last month.
The scraper can also embed new entries with a local sidecar. Set EmbedderUrl and run:
pip install -r embedder/requirements.txt
python embedder/main.py

