https://github.com/0xwoland/image-to-latex
🔄 Convert images of mathematical equations to LaTeX code instantly. Upload images or PDFs, get LaTeX output with live preview.
https://github.com/0xwoland/image-to-latex
Last synced: about 2 months ago
JSON representation
🔄 Convert images of mathematical equations to LaTeX code instantly. Upload images or PDFs, get LaTeX output with live preview.
- Host: GitHub
- URL: https://github.com/0xwoland/image-to-latex
- Owner: 0xWOLAND
- Created: 2024-11-25T01:41:24.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-01T03:11:05.000Z (6 months ago)
- Last Synced: 2025-02-10T00:51:48.547Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 79.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image to LaTeX Converter

A web application that converts images containing mathematical equations, diagrams, and text into LaTeX code. The application supports both single and multiple image uploads, PDF uploads, and provides real-time conversion progress feedback.
## Prerequisites
- Node.js (v14 or higher)
- pnpm
- LaTex distribution (e.g., TexLive)## Build
1. Install dependencies
```bash
cd backend
pnpm install
cd ../frontend
pnpm install
```2. Start the backend server
```bash
cd backend
pnpm start
```3. Start the frontend server
```bash
cd frontend
pnpm start
```Environment variables
```bash
XAI_API_KEY=
PORT=3001
```