Compound AI System for Journals – Automation API (AI Agent) A FastAPI-based automation system for creating, enriching, and managing journal articles. It integrates Google Gemini, Groq’s LLaMA, and the CORE API to deliver a seamless pipeline — from metadata input to fully structured, AI-generated journal outputs.
# pdfGen — Local LaTeX PDF Generator for Journals ✅
A lightweight, locally-hosted tool that converts journal templates into publication-ready PDFs using FastAPI and LaTeX. Designed to run offline on Windows and optionally integrate with AI services (Gemini, Groq) for assisted content generation and translation — enabling reproducible PDF generation without hosting costs.
---
## Table of Contents
- [About](#pdfgen---local-latex-pdf-generator-for-journals-)
- [Features](#features)
- [Quickstart](#quickstart)
- [Installation](#installation)
- [Usage](#usage)
- [Project Structure](#project-structure)
- [Technologies Used](#technologies-used)
- [Contributing](#contributing)
- [License](#license)
- [Contact & Support](#contact--support)
---
## ✨ Features
- Render journal templates (LaTeX) into PDF locally using MiKTeX
- Web interface and API endpoints via FastAPI and Uvicorn
- Optional AI-enhanced content generation (Gemini, Groq)
- Translation support (deep-translator) and multi-language templates
- Local-first workflow — no paid hosting required
---
## 🚀 Quickstart
1. Clone the repository:
```bash
git clone <repository-url>
cd <repo-root>
```
2. Follow the Installation steps below (Windows-specific steps included).
3. Start the app:
- Option A (recommended):
```bash
python run.py
```
The script finds a free port (8000–8100), launches Uvicorn, and opens your browser.
- Option B: Run Uvicorn directly:
```bash
uvicorn Apps.app:app --reload --port 8000
```
4. Open the URL displayed in the console (e.g., http://127.0.0.1:8000).
---
## 🛠 Installation (Detailed)
**Prerequisites (Windows)**
- Windows 10/11 (latest updates recommended)
- Python 3.12.x (3.12.8 recommended)
- MiKTeX 24.1+ (for LaTeX to PDF rendering)
- Optional: API keys for Google Gemini / Groq / CORE if you plan to use AI or search features
**Detailed steps**
1. Verify Python is installed and accessible
```powershell
python --versGoogle's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.