- Real-time Rendering: Instantly visualize LaTeX equations as high-quality SVG images
- Intuitive Interface: Sleek, user-friendly design for effortless equation input and rendering
- Export as images: Easily download rendered equations as files (SVG/PNG) for other applications
- AI-Powered Explanations: Receive interpretations of LaTeX syntax, powered by AI
- Node.js (v14 or later)
- pnpm
-
Clone the repository:
git clone https://github.com/Thereallo1026/LaTeX-Renderer.git cd latex-renderer
-
Install dependencies:
pnpm install
-
Set up environment variables:
Create a
.env
file in the root directory and add the following:API_KEY="" BASE_URL="https://api.openai.com/api/v1" TURNSTILE_SECRET_KEY="" NEXT_PUBLIC_TURNSTILE_SITE_KEY=""
Fill in the appropriate values for each variable.
-
Run the development server:
pnpm dev
-
Open http://localhost:3000 in your browser.
Converts a LaTeX equation to an SVG image.
{
"latex": "base64-string"
}
- Next.js - The React framework for production
- tex-to-svg - For LaTeX to SVG conversion