Telegram bot token
Tạo bot bằng @BotFather và giữ lại token. Installer sẽ kiểm tra token trước khi lưu.
Admin Guide
Trang này dành cho người triển khai TAURIN trên máy Ubuntu: chuẩn bị token, kiểm tra service, xem log, backup dữ liệu và cập nhật an toàn.
Yêu cầu trước khi cài
Tạo bot bằng @BotFather và giữ lại token. Installer sẽ kiểm tra token trước khi lưu.
Lấy numeric user ID bằng @userinfobot. Bot chỉ nhận lệnh từ ID được cho phép.
Tạo API key tại console.groq.com. Installer sẽ gọi Groq để kiểm tra key.
Cách TAURIN gọi người dùng trong chat, ví dụ `anh Ryan`, `chị Linh` hoặc tên riêng.
Cài đặt
curl -sfL ./install.sh | sh -
Trên website đã deploy, lệnh ở trang chủ sẽ tự thay `./install.sh` bằng URL public.
Vận hành
systemctl --user status taurin --no-pager -lService ở trạng thái `active (running)`.journalctl --user -u taurin -n 100 --no-pagerLog bot, parser, scheduler và lỗi nếu có.systemctl --user restart taurinBot khởi động lại và nhận lệnh Telegram mới.ls ~/.local/share/taurinCó source, `venv`, `.env`, `config.yaml`, `data/`.Backup và restore
tar -czf taurin-data-backup.tgz -C ~/.local/share/taurin data .env config.yamlGiữ notes, tasks, reminders, inbox, config và secret key.tar -xzf taurin-data-backup.tgz -C ~/.local/share/taurinRestart service sau khi restore.curl -sfL ./install.sh | sh -Dùng URL installer public của bạn. Installer giữ lại `data/`, `.env`, `config.yaml`, `secrets/`.systemctl --user disable --now taurinDừng bot trước khi quyết định giữ hay xóa dữ liệu.Tài liệu kỹ thuật