Admin Panel

System diagnostics, session tracking, activity log, and API documentation for Translator DB.

38
Total Terms
7
Languages
17
Sessions
1d 15h 8m
Uptime
System Status
TranslatorDB Engine: Demo Mode Volvelle Compressor: Demo Mode Port: 7751 Uptime: 1d 15h 8m
Session Stats
Searches: 0
Terms Added: 0
Bulk Imports: 0
Concept Lookups: 1
Started: 2026-06-20T21:58:09.508304+00:00
Terms by Domain
technical: 14
legal: 10
medical: 9
pharmaceutical: 5
Terms by Language
en: 16
fr: 7
de: 6
es: 5
ar: 2
it: 1
pt: 1
Active Sessions
Session ID First Seen Last Seen Operations History Items
f7859dbd-131 2026-06-20T22:08:14 2026-06-20T22:08:14 0 0
4f4ddc73-f99 2026-06-21T01:45:30 2026-06-21T01:45:34 0 0
af7562f4-13b 2026-06-21T01:55:39 2026-06-21T01:55:39 0 0
0f533c1e-e7e 2026-06-21T08:54:46 2026-06-21T08:54:46 0 0
9c9a7343-766 2026-06-21T10:02:09 2026-06-21T10:02:09 0 0
b3aa8af8-76e 2026-06-21T15:07:50 2026-06-21T15:07:50 0 0
c41c9cac-e1a 2026-06-21T15:08:04 2026-06-21T15:08:33 0 0
261c17fa-949 2026-06-21T19:35:48 2026-06-21T19:35:53 0 0
173a7239-c33 2026-06-21T19:35:48 2026-06-21T19:35:48 0 0
13fed69d-ce2 2026-06-21T19:35:49 2026-06-21T19:35:49 0 0
59cb9c2b-639 2026-06-21T19:36:08 2026-06-21T19:36:08 0 0
325689c6-26b 2026-06-21T22:35:16 2026-06-21T22:35:19 0 0
9c417ab3-3a1 2026-06-22T00:40:27 2026-06-22T00:40:27 0 0
f0d99f9b-2e1 2026-06-22T00:56:13 2026-06-22T00:56:17 0 0
e0b8667a-26f 2026-06-22T01:05:18 2026-06-22T01:05:18 0 0
e46de5e1-24c 2026-06-22T11:47:48 2026-06-22T11:47:48 0 0
ed5b055a-7b9 2026-06-22T13:06:15 2026-06-22T13:06:15 0 0
Activity Log (Last 50)
Time Action Detail Session
No activity recorded yet. Perform searches or add terms to see entries here.
API Documentation & curl Examples

All API endpoints return JSON. Base URL: http://localhost:7751

GET / — Dashboard (HTML)
curl http://localhost:7751/
GET /search-page — Search page (HTML)
curl http://localhost:7751/search-page
GET /browse — Browse terms with optional filters: ?lang=en&domain=medical
curl "http://localhost:7751/browse?lang=en&domain=medical"
GET /add — Add term form (HTML)
curl http://localhost:7751/add
GET /concepts — Concepts page with optional filter: ?domain=legal
curl "http://localhost:7751/concepts?domain=legal"
GET /stats-page — Statistics page (HTML)
curl http://localhost:7751/stats-page
GET /history — Session operation history (HTML)
curl http://localhost:7751/history
GET /about — About page (HTML)
curl http://localhost:7751/about
GET /admin — Admin panel (HTML)
curl http://localhost:7751/admin
POST /api/search — Search terms (JSON)

Body: {"term": "string", "lang": "optional", "domain": "optional"}
Returns: {"results": [...], "query": "..."}

curl -X POST http://localhost:7751/api/search \
  -H "Content-Type: application/json" \
  -d '{"term": "compression", "lang": "", "domain": "technical"}'
GET /api/search — Search terms via query params (JSON)
curl "http://localhost:7751/api/search?term=contract&lang=en&domain=legal"
POST /api/add-term — Add a single term (JSON)

Body: {"lang": "en", "text": "string", "gloss": "optional", "pos": "optional", "domain": "general", "concept_id": "optional"}
Returns: {"success": true, "term_id": "...", "lang": "...", "text": "...", ...}

curl -X POST http://localhost:7751/api/add-term \
  -H "Content-Type: application/json" \
  -d '{"lang": "en", "text": "algorithm", "gloss": "Step-by-step procedure for computation", "pos": "noun", "domain": "technical"}'
POST /api/bulk-add — Bulk add terms from CSV/TSV (JSON)

Body: {"data": "lang,text,gloss,domain,pos\nen,algorithm,Step-by-step procedure,technical,noun"}
Format: one term per line — lang,text,gloss,domain,pos (tab or comma separated)
Returns: {"success": true, "added": [...], "errors": [...], "count": N}

curl -X POST http://localhost:7751/api/bulk-add \
  -H "Content-Type: application/json" \
  -d '{"data": "en,algorithm,Step-by-step procedure,technical,noun\nes,algoritmo,Procedimiento paso a paso,technical,noun"}'
Quick Actions
Dashboard Search Browse Add Term Concepts Stats History