From Web App to Terminal: How I Ported Traliran AI Hub to C11
Описание и применение
Создан терминальный клиент Traliran AI Hub на C11, который сохраняет все функции веб‑версии, обеспечивает полную конфиденциальность и работает без браузера.
Задача
Developers who prefer terminal workflows need a privacy‑first AI client with the same feature set as the web version, but without a browser.
Результат
A single‑binary terminal AI client that matches the web version’s feature set, supports multiple providers, model comparison, RAG, IDE, and preserves privacy by keeping all data local.
Рабочий процесс
- 1. Clone the repo and run
maketo build the binary. - 2. Run
traliran-hubto start the TUI. - 3. On first run, configure provider and API key via the Settings menu (press 5).
- 4. Fetch models and select one.
- 5. Return to Chat (press 1) and start typing messages.
- 6. Use hotkeys (e.g., 5 for settings, ? for keymap) with 3‑press debounce to avoid accidental triggers.
Доказательства
A native TUI client (traliran-hub) in C11 + ncursesw + libcurl.
Zero middleman: 100% client‑side application, no servers.
- Дата записи: 2026-09-05T17:09:47.736Z