Skip to content

TEMPLATE IT!!!

Glimpse into a world without manual data entry.

Core trick

Has GPT-5 extract structured fields from uploaded documents and map them into Excel, CSV, or SQL templates.

Tags

Description

Glimpse into a world without manual data entry. We fit any data you upload into any template of your choice.
abhi-praj/template-your-pdf.com★ 00 forksTypeScriptCreated Sep 27, 2025 · last push Oct 6, 2025

README excerpt

# TEMPLATE IT!!! For OpenAI GPT-5 Hackathon NYC Sep 28, 2025
https://youtu.be/HtAYLnrOa8w

We take your data of any type and fit it into a template of your choice!

Currently supported templates: Excel, SQL, CSV.

## Use Cases

- **Invoice Processing**: Extract data from invoices and populate accounting templates
- **Form Processing**: Convert PDF forms to structured spreadsheet data
- **Document Digitization**: Transform scanned documents into editable templates
- **Data Migration**: Extract data from legacy documents into modern formats

The system uses GPT-5 to intelligently extract structured data from documents and fit it into customizable templates.

## Setup and Run

### Prerequisites
- Python 3.11+
- Node.js
- Supabase account

### Quick Start

1. Clone and install dependencies:
```bash
make setup
```

2. Create `.env` file in project root:
```bash
# OpenAI
OPENAI_API_KEY=sk-...
GPT_EXTRACT_MODEL=gpt-5-mini
GPT_TEMPLATE_MODEL=gpt-5

# Supabase
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
SUPABASE_ANON_KEY=your-anon-key

# Backend
BASE_URL=http://127.0.0.1:8000
```

3. Run the application:
```bash
make run
```

This starts:
- Backend on `http://localhost:8000`
- Frontend on `http://localhost:3000`

### Other Commands

```bash
make run-backend    # Backend only
make run-frontend   # Frontend only
make kill          # Stop all servers
```

## Available Endpoints

### Document Processing
- `POST /extract` — Upload PDFs/imag

Team