Transform 4 hours of tedious government tender paperwork into a 60-second automated workflow.
One-Click Multi-Document Generation • Firm Letterhead Engine • Bilingual Hindi-English Transliteration • AI-Driven Procurement Drafting • Print-Ready A4 PDF Engine • 100% Offline-First (IndexedDB) + Cloud Sync (Firestore)
Key Features • System Workflow • Document Pipeline • Architecture • AI Engine • Quickstart • Naming Options • Documentation Hub
TenderFlow AI is an enterprise-grade procurement automation platform engineered specifically for government contractors, vendors, and administrative departments.
By entering core tender specifications and line items just once, TenderFlow instantly orchestrates, drafts, and renders an entire synchronized package of official documents — complete with firm-specific letterheads, custom legal conditions, localized Hindi transliterations, dynamic GST calculations, and pixel-perfect A4 print-ready layouts.
flowchart TD
subgraph INPUT ["📝 Unified Single-Entry Input"]
T["<b>Tender Specifications & Line Items</b><br/>Tender ID • Budget • Quantities • Rates • GST % • Department"]
end
subgraph ENGINE ["⚡ TenderFlow Automation Core"]
O["<b>Orchestration Engine</b><br/>AI Prompt Stacks • Purpose Dictionary • A4 Layout System"]
end
subgraph OUTPUTS ["📑 Synchronized Document Generation"]
D1["📜 <b>Vigyapti (NIT)</b><br/>Public Tender Notice"]
D2["📄 <b>Quotation (L1)</b><br/>Primary Firm Letterhead"]
D3["📑 <b>Quotations (L2/L3)</b><br/>Alternate Competing Quotes"]
D4["📋 <b>Supply Order</b><br/>Work Award Sanction"]
D5["🧾 <b>Firm Tax Bill</b><br/>GST & Bank Invoice"]
end
subgraph EXPORT ["🖨️ Precision Output"]
P["<b>A4 Print-Ready PDF with Margins & Signatures</b>"]
end
T --> O
O --> D1
O --> D2
O --> D3
O --> D4
O --> D5
D1 & D2 & D3 & D4 & D5 --> P
|
|
|
|
flowchart LR
A["📝 Input Specs"] --> B["⚙️ Core Orchestrator"]
B --> C["📜 1. Vigyapti / NIT"]
B --> D["📄 2. Main Quotation L1"]
B --> E["📑 3. Alternate Quotes L2/L3"]
B --> F["📋 4. Supply Order"]
B --> G["🧾 5. GST Tax Bill"]
C & D & E & F & G --> H["🖨️ A4 Print-Safe PDF"]
| Document Type | Official Hindi Title | Letterhead Applied? | Description |
|---|---|---|---|
vigyapti |
निविदा सूचना (NIT) | ❌ Plain (Public) | Official public procurement notice detailing line items, earnest money, and deadlines |
quotation_main |
मुख्य कोटेशन (L1) | ✅ Yes (Branded) | Lowest-rate compliant bid generated on selected primary firm's letterhead |
quotation_alt_1 |
वैकल्पिक कोटेशन 1 (L2) | ✅ Yes (Branded) | Alternate quotation on secondary firm's letterhead for price comparison |
quotation_alt_2 |
वैकल्पिक कोटेशन 2 (L3) | ✅ Yes (Branded) | Third competitive rate quote for statutory departmental compliance |
supply_aadesh |
आपूर्ति आदेश / कार्यादेश | ✅ Yes (Branded) | Official supply award sanction letter with contractual conditions |
firm_bill |
फर्म टैक्स बिल | ✅ Yes (Branded) | Complete GST tax invoice with bank details, IFSC, and HSN breakdown |
graph TB
subgraph UI ["🖥️ PRESENTATION LAYER"]
P1["Next.js 15 App Router"]
P2["Tailwind CSS + Lucide Icons"]
P3["TipTap WYSIWYG Rich Editor"]
P4["Live A4 Canvas & Layout Engine"]
end
subgraph SERVICES ["⚙️ BUSINESS SERVICE LAYER"]
S1["<b>documentService</b><br/>Generation & Version Snapshots"]
S2["<b>aiDraftService</b><br/>Prompt Stacks & LLM Orchestration"]
S3["<b>layoutEngine</b><br/>A4 Margins, Bleeds & Letterhead"]
S4["<b>mappingService</b><br/>Purpose & Transliteration Dictionaries"]
S5["<b>governmentTemplates</b><br/>Standardized Legal Layouts"]
end
subgraph AI_LAYER ["🤖 MULTI-LLM AI ENGINE"]
A1["Google Gemini 1.5"]
A2["Groq Llama 3"]
A3["OpenAI GPT-4o"]
A4["NVIDIA NIM"]
end
subgraph STORAGE ["🗄️ DUAL-ENGINE STORAGE LAYER"]
DB1["<b>Client-Side IndexedDB</b><br/>Local-First • Instant • 100% Offline"]
DB2["<b>Firebase Firestore</b><br/>Multi-Device Cloud Sync & Backup"]
end
UI --> SERVICES
SERVICES <--> AI_LAYER
SERVICES <--> STORAGE
TenderFlow bridges standard English commercial terminology with formal Hindi administrative procurement standards.
Transforms simple categories into legally sound administrative purpose statements:
flowchart LR
C["Category: <b>fire_fighting</b>"] --> E["⚡ Purpose Mapping Engine"]
E --> H1["🇮🇳 <b>Hindi:</b> 'अग्निशमन एवं आपातकालीन जल आपूर्ति कार्य हेतु आवश्यक सामग्री'"]
E --> H2["🇬🇧 <b>English:</b> 'Materials required for fire fighting and emergency water supply'"]
English line items are automatically translated/transliterated and cached in IndexedDB for instantaneous future queries:
flowchart LR
IN["Input: 'Fire Hose Nozzle 63mm'"] --> AI["🤖 Multi-LLM Transliteration"]
AI --> OUT["Output: 'अग्निशमन होज नोज़ल 63 मि.मी.'"]
OUT --> CACHE["💾 Saved to Master Dictionary"]
All technical documentation is organized inside the docs/ directory:
flowchart LR
DOCS["📂 <b>docs/ Hub</b>"]
DOCS --> ARC["🏛️ <b>architecture/</b><br/>System design, roadmap & UI evolution"]
DOCS --> AI["🤖 <b>ai/</b><br/>Multi-LLM prompts & bilingual dictionaries"]
DOCS --> STO["🗄️ <b>storage/</b><br/>Firebase Firestore & IndexedDB setup"]
DOCS --> GUI["📖 <b>guides/</b><br/>User manual & quick reference cards"]
DOCS --> FIX["🛠️ <b>fixes-and-history/</b><br/>Changelogs, patch notes & bug fixes"]
| Section | Description | Link |
|---|---|---|
| 🏛️ Architecture | System topology, roadmap, before/after comparison | Explore ➔ |
| 🤖 AI & Transliteration | Multi-LLM configuration, prompt engineering & dictionaries | Explore ➔ |
| 🗄️ Storage & Cloud | IndexedDB offline layer & Firestore cloud sync setup | Explore ➔ |
| 📖 Guides & Manuals | Comprehensive user manual, quick references & onboarding | Explore ➔ |
| 🛠️ Fixes & Changelogs | Implementation status, layout fixes & patch history | Explore ➔ |
👉 View Complete Documentation Directory ➔
- Node.js:
v18.17.0or higher - Package Manager:
npm,yarn,pnpm, orbun
-
Clone the repository:
git clone https://github.com/your-username/tenderflow-ai.git cd tenderflow-ai -
Install dependencies:
npm install
-
Configure Environment:
cp .env.example .env.local
Configure your preferred AI provider and storage backend in
.env.local:# AI Provider (gemini, openai, groq, nvidia, mock) NEXT_PUBLIC_AI_PROVIDER=gemini NEXT_PUBLIC_AI_API_KEY=your_api_key_here NEXT_PUBLIC_AI_MODEL=gemini-1.5-flash # Storage Mode (indexeddb or firestore) NEXT_PUBLIC_DATA_BACKEND=indexeddb
-
Launch Development Server:
npm run dev
Navigate to http://localhost:3000.
If you are setting up or renaming the repository on GitHub, here are the top curated suggestions:
| Name | Short Description | Recommended Tagline |
|---|---|---|
🏆 TenderFlow-AI |
Autonomous Government Tender & Procurement Automation Suite with Multi-LLM Drafting, Letterhead Engine & Bilingual Transliteration. | From Tender to Tax Bill in 60 Seconds. |
🌟 GovDoc-Studio |
Intelligent Government Tender Document Engine & Firm Management Platform with Bilingual AI Transliteration & A4 Letterhead Layouts. | The Smartest Way to Manage Government Contracts. |
🌟 BidForge-AI |
Full-stack bilingual tender management suite: Auto-generate Vigyapti, Quotations, Supply Orders & GST Bills with AI-powered drafting. | Craft Winning Government Bids with AI Precision. |
🌟 Magra-Tender-Automation |
Complete government tender document automation system with firm-specific branding, bilingual Hindi support, and local-first architecture. | Original Enterprise Brand. |
tender-automation • government-procurement • nextjs15 • typescript • tailwindcss • gemini-ai • groq • openai • tiptap • indexeddb • firestore • hindi-transliteration • document-generator • pwa • a4-pdf-layout
Contributions, issues, and feature requests are welcome!
- Fork the repository
- Create your branch (
git checkout -b feature/awesome-feature) - Commit your changes (
git commit -m 'feat: Add awesome feature') - Push to the branch (
git push origin feature/awesome-feature) - Open a Pull Request
This software is distributed under proprietary licensing. See LICENSE for details.