Privacy
Where your files live, and what leaves the machine. Reviewed 2026-11-18.
Your files
Jotra opens a text file up to 524 MB anywhere on your disk and edits it where it is. It also keeps a folder of its own,
~/Writ unless you moved it; Settings → General → Folder shows the path. New
files and anything you pipe into the writ command land there, and search covers its text files up to
5 MB each, leaving out folders such as .git, .obsidian and .trash.
Jotra's data folder
Jotra keeps its own records in ~/.writ, which
Settings → Advanced also shows. Among
them:
-
writ.dbholds the search index, which stores the text of each file search covers so search can find it, along with the links, headings, tags and properties read from those files, the paths and order of your tabs and of the files you closed, each file's preview layout, and how often and when you last ran each palette command. It also holds text you typed that had not reached its file, such as after a refused save or when Jotra quit, until a later save or the next launch puts it on disk. config.tomlholds your settings. It holds no API key.-
history/andhistory.dbhold earlier versions of the files in the folder, so a bad edit or a program's write can be undone. Jotra keeps a version when a file is saved; your own saves within 10 seconds of the last version kept replace that version's text. It keeps versions for up to 30 days or 200 per file, and no more than 250 MB in all. A file's newest version is kept past 30 days. A file over 2 MB is not versioned. -
chats/holds one file per conversation: your messages, the replies, the edits a reply proposed, and the paths, sizes and hashes of attached files, with the provider and model;chats/index.jsonlists each conversation's title and dates. It keeps no copy of an attached file and no key. A proposed edit is kept as the whole text the reply proposed for that file, until you apply or discard it. activity.jsonllists what connected programs and chat did with your files, without their text.logs/records what the app did, and can name the files it worked on. Logs rotate daily, and the newest 14 are kept. Crash files, up to eight a run, stay until you delete them. A failure at startup writes its report to the system temp folder whenlogs/cannot be written.
None of this is written into your folder, so a sync client never carries it.
What the app does on the network
Until you switch on Chat, Rewrite or Dictation, or load a web image, Jotra itself contacts only GitHub, for updates:
it fetches a release manifest
and compares versions on your machine. It does this on its own a few seconds after launch and again while Jotra
stays open, at most once a day,
and whenever you ask in Settings → About. Turn the automatic check off with
Check for updates automatically. Installing an update downloads the release from GitHub and checks it
against a signing key built into the app. Both requests go to github.com, which redirects them to
release-assets.githubusercontent.com.
Spell check runs against a dictionary bundled in the app. The preview pane runs under a fixed
content-security-policy (default-src 'none', connect-src 'none'), so rendered HTML makes
no network calls while scripts are off for that file, as they are until you turn them on for it. A file whose
scripts you turn on runs its own code, which can reach the network. Jotra sends no crash reports, usage data or
telemetry.
A Markdown file in the Inline layout shows an image from a web address as its host and a Load image button. Jotra requests
the image only when you click it, or for every one once Load web images is on in
Settings → Editor. With that setting on, an image still waits for your click when its host is a
name reserved for this computer or a name ending in .local or .internal, or when its
address, or any address its name resolves to, is in a loopback, private, link-local, unique-local,
carrier-grade NAT or other local-use range. A device on your network that has a public address is not recognized as
local. The request goes to that image's server, and to the redirects Jotra follows, with no cookies and no
referrer. Jotra does not follow a redirect to a local address at a host other than the one shown, even after
a click. When Jotra connects directly, it checks every address the redirect's host name resolves to. When a system
proxy makes the connection, the proxy looks up that name, so Jotra checks only the name and any address written in
the redirect. An image that loads without a click connects directly, bypassing any system proxy; one you click
goes through it. Web images are fetched over https. An address written with http is requested over https, and Jotra
does not follow a redirect to http on a public host or fall back to http. When you click, an image on this
computer or a device on your own network can load over http if its host is one of those local names or an address
in one of those ranges. Jotra keeps the image in memory and does not write it to disk.
The AI connection
Chat and Rewrite are apps you switch on in Settings → Apps. While either is on, the same
section holds the connection they share: provider, API key and model, plus a Base URL when the provider is
Custom. Ollama, LM Studio, llama.cpp and
Jan run on your machine and need no key, so a request to any of them stays there. On macOS 26 or later, on a Mac
that can run it, Rewrite can also use Apple's on-device model, and Jotra makes no network request for it.
Point the connection at a hosted provider and Jotra asks once, naming the host, before it sends that host
anything. The hosted providers are Anthropic (api.anthropic.com), OpenAI (api.openai.com), Google Gemini
(generativelanguage.googleapis.com), OpenRouter (openrouter.ai), Groq (api.groq.com), DeepSeek
(api.deepseek.com), Mistral (api.mistral.ai), xAI (api.x.ai), Together (api.together.ai) and Fireworks
(api.fireworks.ai); a custom address goes to the host you typed. The answer is recorded for that host alone, so
it does not cover another host, whether a provider's or one you typed. An address that is not https
is refused before any bytes leave, unless it is this machine or a private IP address, such as one on your local
network or Tailscale. Jotra asks before it sends anything to a private address, and sends no key over plain http.
To show whether the provider is reachable, Jotra requests its model list. It does so when Settings or the chat pane opens and when you change the provider or address. That request carries your API key and no text, and goes to a hosted provider only after you allowed it. Settings and the chat pane also ask Ollama, LM Studio, llama.cpp and Jan on this machine (ports 11434, 1234, 8080 and 1337) whether they are running; that request carries nothing.
Connecting OpenRouter opens openrouter.ai in your browser. Jotra listens on this machine for the one answer that browser sends back, then exchanges it for a key and stores the key like one you typed. No port is open at any other time.
Rewrite
A rewrite sends the selected text, the instruction for the action you picked, and the model id. With nothing selected, Jotra asks before sending the whole file.
Chat
A chat request carries a fixed instruction that names the first attached file, the attached files, as much of the
conversation as fits, and the model id. The pane attaches the file in front of you and shows it as a chip you can remove; you add others
with @ or by attaching a folder. Any saved text file open in the editor can be attached, including one outside
your folder, which is sent under its parent folder and file name, never its full path. Nothing that is not
attached is read for a request.
Chat writes a file only when you choose Apply on a proposed edit, or Undo after one, and no setting applies one for you. If the file changed after the edit was proposed, Jotra refuses to apply it. The proposed text stays in the conversation. If Apply finds a file in your folder changed since the edit was proposed, the proposed text is also saved beside it as a dated copy.
Dictation
Dictation is an app you switch on in Settings → Apps. Jotra opens the microphone only while you
dictate, and the status bar shows it while it is open. Hiding Jotra, or hiding, minimizing or closing its window,
turns it off, and so does a minute without speech. On Linux under Wayland a minimized window is not detected, so
the microphone stays open until the dictation shortcut, Escape, the status bar mark, switching tabs or a minute
without speech turns it off. Audio
stays in memory: Jotra never writes it to disk or to a log, and drops it once it is transcribed.
With the On this Mac engine, on macOS 26 or later, Apple's speech model transcribes on the Mac and Jotra sends no
audio anywhere; the model itself downloads through macOS the first time. With the API engine, Jotra sends what you
said at each pause to the provider you chose: OpenAI (api.openai.com), Groq (api.groq.com), or the server at the
address you typed. A request carries that audio, the model id, the language when you chose one, and up to the last
200 characters the session transcribed before it. Jotra asks once, naming the host, before it sends a hosted
provider any audio, and records the answer for audio alone, so a host you allowed for Chat or Rewrite is asked
again. The AI connection's address rules apply: an address that is not https is refused unless it is
this machine or a private IP address.
With Clean up with the AI connection on, the text of each phrase also goes to the AI connection, its
host or Apple's on-device model when the connection uses it, under that connection's consent and key, before it
is inserted. Dictation's key is stored like the AI
connection's, in the system keychain under com.writ.ai, or in memory only where the keychain is
unavailable. While Chat or Rewrite is on and Dictation uses the same provider and address (scheme, host and port)
as the AI connection, it uses that connection's key; otherwise it keeps its own, and a custom server's key is kept
for its address. The decisions are in
ADR-058.
Connected programs
Jotra ships an MCP server, writ mcp, so a program you choose can work with the files in your folder.
Connected programs is an app you switch on in Settings → Apps, which also shows the command to
give the program. Add on a program's card runs that program's own mcp add, opens the install link
the program handles, or hands it an extension bundle it installs itself; Jotra never edits another program's
configuration. The program starts the server itself and talks to it over that process's input and output.
Jotra opens no port for it, and the server makes no network request. Where that program sends what it reads is up to
that program.
Switching the app on approves nobody. A program's first call is refused and waits in Settings until you approve
that program. Reading, writing and seeing the open file are approved separately; writing includes reading, and
nothing else grants another. Each can be withdrawn in Settings or in config.toml and takes effect on
the next call.
With reading approved, a program has ten tools: list the folder's text files, search the folder, read a file,
read a file's links, backlinks, properties and tags, list the folder's tags, and show a file in Jotra at a line or
a heading. With writing approved, it has six more: replace a file's text, create a file, rename one, add to the end of
a file, replace one passage, and make or add to today's file. No tool deletes a file. A write is checked against the
version the program read: it is refused if the file changed since, and the program's text is saved beside the
file. A file the program has not read is not replaced unless it asks to overwrite it, and the text a write
replaces, up to 2 MB, is kept as a version in Jotra's data folder. A file outside your folder is out of reach of these tools,
unless the program starts the server with WRIT_NOTES_DIR naming another folder. A write to a file
outside your folder keeps no version.
With Open file turned on for it, a program can ask which file is in front in Jotra and read the text you selected there, including text not saved yet. Selected text past 2 MB in all, or past 100 selections, is left out, and the answer says it was cut. A file outside your folder is named to it by its file name alone. Jotra asks the window only when the program calls, hands the answer over in a file in its data folder that the server deletes once read, and lists each call in the activity list with the file's name and not the text. An answer the server stopped waiting for, which can hold unsaved text, is deleted at Jotra's next start.
The activity list
Every call from a program, whether it was allowed, refused or left waiting, and every chat edit you applied or
discarded, is appended to activity.jsonl. A record names the program, the chat or Jotra, the tool, the file,
the decision and, for a write, a byte count, never the text. A chat edit to a file outside your folder, applied
or discarded, is recorded under that file's full path, or its file name alone when it is discarded after its tab
closed. Reads of one file that one program repeats within a minute
are counted on a single record. The file stays on your disk and is capped at 5 MB with one
older generation kept. While Connected programs is on, open it from
Settings → Apps → Connected programs → Program activity.
Keys
On macOS, Windows and Linux, Jotra stores an API key in the system keychain (the Secret Service on Linux) under
the service com.writ.ai.
Where the keychain is unavailable, Jotra holds the key in memory for the session and warns that you will enter it
again next time. A key is never written to config.toml, the database or a log.
What this site does
This site is a static export served from GitHub Pages, and it serves its own font. It counts page views with a self-hosted Umami script from stats.ibrahemid.com, which it tells to honor Do Not Track. It sets no cookies and embeds no third-party widgets.
Backup and deletion
Back up your folder and any file you keep elsewhere; Jotra's data folder is not a backup of them. Jotra can rebuild
the index from your folder. Nothing else in the data folder can be rebuilt:
settings, earlier versions, conversations, the activity list, your tab list, preview layouts, palette counts, and
text in writ.db that had not reached its file.
Delete Jotra's data folder to reset the settings and records kept there. Which sidebar folders are expanded, the
pane layout and a copy of the theme are kept apart, in the web view's storage (~/Library/WebKit/com.writ.editor on macOS).
Your folder and every file you opened elsewhere
stay untouched. An API key is not in that directory: clear it from your keychain, or in
Settings → Apps with Clear, one provider at a time: the AI connection's key while Chat or Rewrite
is on, Dictation's own key while Dictation is on.
Source of truth
Everything above about the app is in the repository, github.com/ibrahemid/jotra, with the decisions on what leaves the machine in ADR-031 and the checks in the threat model. If you find a network call this page does not describe, file an issue and it will be treated as a bug.