Skip to content

Open source · Self-hosted · Apache-2.0

The LaTeX editor you can audit.

Folio is the open workspace for writing scientific papers with AI: your model, your server, citations that cannot be invented, and every change in view before it lands.

Try the demo project

Prism closes in 50 days. Folio imports its export as it is.

Literature

Search real papers, inside the editor.

OpenAlex, arXiv, PubMed and Semantic Scholar in one search box. Press Cite and the entry lands in your .bib, ready for \cite.

Drafting

From literature to a cited draft.

  1. Your bibliography as a graph: in the demo, 93 papers and 239 links.
  2. Ask for a section and the agent gathers evidence before it writes: twelve papers here.
  3. It only cites keys from your .bib. Anything it invents is stripped on the server.

Assistant

It has read the whole paper.

Ask about your document and it answers with your own source in view. Nothing changes until you confirm.

Review

A reviewer that quotes you.

Scores per aspect and comments that point to a line of main.tex. One click hands the fix to the assistant.

Errors

Errors leave as patches.

A failed compile comes back as a red and green patch. Apply it and Folio recompiles.

Together

Write together. Ship anywhere.

Invite co-authors, save versions you can compare with latexdiff, and export the PDF, the sources or an arXiv package.

Prism closes in 50 days.

Folio imports the Prism export as it is. From then on your papers live in your own Postgres, not on someone else's schedule.

  1. In Prism: Settings → Data Controls → Export all.
  2. Create your Folio account.
  3. Import the ZIP in Projects: Folio finds the main file.

Your server. Your model.

Any OpenAI-compatible API, Anthropic or a local model, with a different provider per task. Keys are stored encrypted on your server.

Three commands and it's yours.

Postgres, the compiler and the app in one compose file. No tracking and no verification email.

Installation guide
$ git clone https://github.com/Gjusev/folio.git folio
$ cd folio && cp .env.example .env
$ docker compose --profile app up -d

What is inside

  • Write with AI

    Draft sections with real literature as evidence, rewrite a paragraph with the diff in view, and turn a whiteboard photo into LaTeX.

  • Citations that exist

    Invented keys are removed on the server, drafts are checked by compiling, and no edit lands until you have seen its diff.

  • Citation graph

    A citation graph in the style of Connected Papers, built from your bibliography with open OpenAlex data.

  • Compile without TeX

    latexmk in a container with no Internet, SyncTeX both ways, and versions with latexdiff markup.

  • Your server

    Any OpenAI-compatible API, Anthropic or local models. The owner decides whether a manuscript may leave the server, and Folio writes the AI-use declaration journals ask for.

Your next paper, on your server.

Create your account and Folio opens a demo project that already compiles: click the PDF, cite a paper, save a version.

Try the demo project

$ docker compose --profile app up