Hujjatchi
Hujjatchi is a Telegram bot that generates ready-to-use Word documents from text or voice messages: applications, contracts, independent study papers, essays, and course works up to 60 pages.
Hujjatchi (@hujjatchi_aibot) — Telegram bot: the user types or says what they need, the bot asks for any missing information once, and sends a ready-to-use Word (.docx) file. Applications, explanation letters, powers of attorney, contracts, resumes, as well as independent papers, essays, and course works for students.
The Problem
People are used to typing and sending voice messages in Telegram, but for documents or academic works, they still have to sit at a computer, search for error-prone templates, or pay copy shops.
What Was Done
- Document via chat: Gemini asks for missing details and does not hallucinate names or dates; it refuses to generate official documents (certificates, diplomas, seals).
- Large-scale works: first, an outline is created, then each section is written separately — even a 40-page course work matches the requested length. During revisions, only the modified section is rewritten.
- References are verified and compiled using Google search — laws and textbooks are genuine.
- Word quality: cover page, table of contents, Times New Roman 14, 1.5 line spacing, page numbers, heading styles.
- Payment: credit system, Uzcard/Humo transfers with admin confirmation; management via the Moliyachi admin panel.
Technical Solutions
- Long-running tasks are saved in the background and database: they resume even if the server restarts, and credits are refunded in case of errors.
- If AI is busy — automatic retries and backup models; concurrent requests are limited.
- Tests, daily backups, automated checks via GitHub Actions.
The Result
From an idea to a working, payment-accepting bot in just one day — available in Uzbek (Latin and Cyrillic) and Russian.