Files
Linux_post_install/DOC/README.md
T
Your Name 23eede637a feat: pos ai gemini — CLI + Telegram AI chat (ask, chat, models)
- bin/pos-ai-gemini: one-shot ask (stdout-only, pipe-friendly), interactive
  multi-turn chat REPL (q/Ctrl+C, /reset), models list; --model override,
  default gemini-2.5-flash; key via x-goog-api-key header, never printed.
- Config scope 'ai' (AI_GEMINI_API_KEY secret, AI_GEMINI_MODEL) in
  ~/.config/linux_post_install/ai.env via 'pos config ai'; config/ai.env
  template installed no-clobber by postinstall.
- Telegram listener: non-command text starting with 'ai ' (case-insensitive)
  is answered by Gemini via 'pos ai gemini ask'; owner-chat only, errors
  reply with the pos config ai hint. Future intents slot in as case arms.
- ai-gemini added to INTERACTIVE_CMDS (chat reads stdin).
- Docs: POS.md ai section + listener bridge, howto/ai.md, HOWTO/README
  index rows, bin/pos usage example; make gen refreshed context/completions.
2026-08-09 14:40:15 +00:00

1.7 KiB

Documentation

Everything in this folder is reference material for the Linux_post_install project. The root README is the short intro + quick start; this folder holds the detail.

Document What it covers
HOWTO.md Hands-on guides per category (ai, network, docker, media, system, ssh, usb, communication, entertainment): flags, recipes, config, troubleshooting
SCRIPTS.md Core installer scripts: install.sh, preinstall.sh, postinstall.sh, lib/common.sh, lib/flags.sh, lib/entertainment-lib.sh, features/autostart.sh — purpose, how each works, configuration
POS.md The pos CLI: dispatcher, every pos-* command, Docker Compose / ScaleTail config, legacy wrappers, flag CLIs
APPS.md Optional apps: apps/install.sh picker, installer conventions, full app catalog
SYSTEMD.md Systemd units (autostart.service, ssh-agent.service), feature-flag gating, bash completion
DEV.md Developer guide: architecture, conventions, how to add tools/apps/features, commit guidelines
AGENT_Context_Project.md Single-source context doc for AI agents working on the repo
algorithm.md ASCII diagrams: install flow, pos dispatch, compose up, config cascade, logging, vbox lifecycle

Quick navigation