Skip to content

shelwinsunga/jules

Repository files navigation

Jules: AI LaTeX Editor

Jules is a proof of concept AI-Latex Editor. You select a range, type into the dialogue, and the LLM will (hopefully) create a diff that turns your natural language request into compileable LaTeX.

jules.mp4

It has basic LaTeX project management features, like adding/deleting files and folders, images, svgs, etc. main.tex is required to compile.

Note this is a proof-of-concept and not a "production" application. There will be bugs, important missing features, and UX issues that make it not quite ready yet for daily usage.

Local Setup

To get Jules working locally, you need:

  • An Anthropic Key
  • An App ID from InstantDB
  • A deployed instance of the API on railway (railway-api).

Set those in a .env.local file.

You can then:

git clone [email protected]:shelwinsunga/jules.git
cd jules
npm install i
npm run dev

You can run the flask endpoint locally by running:

cd railway-api
hypercorn main:app --reload

You need pdflatex installed as well as the stuff in requirements.txt

Acknowledgments

Created by Shelwin Sunga. Licensed under the MIT License

  • Inspired by Cursor and Overleaf