Перейти до вмісту

Where your data lives

Цей контент ще не доступний вашою мовою.

Oleafly keeps everything in one place, in plain files you can inspect, copy, and back up with any tool you already use. This page is the map.

~/.oleafly/
├── projects/
│ └── flying-pink-pikachu/ one folder per project, random readable name
│ ├── main.tex your source files, at the root
│ ├── references.bib
│ ├── figures/
│ ├── project.json project metadata (see below)
│ ├── .oleafly/build/ compile cache (PDF, logs, SyncTeX)
│ └── .git/ the project's real Git repository
├── assets/ fonts and data downloaded on demand for templates
├── bin/ helper tools fetched on demand (pandoc)
├── tinytex/ the optional LuaLaTeX engine, if installed
├── chats/ AI chat history, one JSON file per project
├── config.json app preferences (non-secret)
├── ai-secrets.json AI provider keys, AES-256-GCM encrypted
├── app-secrets.json GitHub token and MCP secret, AES-256-GCM encrypted
└── app.log the app's error log

A project is exactly its folder under ~/.oleafly/projects/. Copy the folder and you’ve copied the project, history included. Delete it and it’s gone. There is no hidden database that has to stay in sync.

project.json holds the display name, main document, cover color, project kind, and export history. It is ordinary JSON. If the file is invalid, Oleafly regenerates safe defaults.

The .oleafly/build/ subfolder is a disposable compile cache for the PDF, log, and SyncTeX data. Git ignores it, and the next compile recreates it if you delete it.

Choose one or combine them:

  1. Copy the folder. ~/.oleafly/projects/ into your normal backup routine (Time Machine, restic, a synced drive) covers everything.
  2. Use the zip export. The Export menu’s Export source (.zip) produces a clean archive of one project’s sources, without caches.
  3. Push to GitHub. GitHub sync gives each project an off-machine copy with full history, and it’s the right tool for moving between computers.

Install Oleafly, then either pull your projects from GitHub or copy your old ~/.oleafly/projects/ folder into place. Cover colors, main-document choices, and history all travel with the folders. App-level preferences (theme, fonts, AI keys) are per-machine and take a minute to reset in Settings.

~/.oleafly/app.log records errors the app hits. If you ever report a bug, the relevant snippet from this file is the single most useful thing to include. Settings, Help & About has a Report a crash shortcut that points you to it.

What lives here, and what talks to the network

Section titled “What lives here, and what talks to the network”

Your documents, your Git history, and your encrypted AI keys and GitHub token are all stored locally in this folder. Keys are only ever sent to the provider they belong to, when you use that provider. The Philosophy page covers exactly which features talk to the network and what they send.