Editor tabs
A double click on a file in the SFTP panel, the Files window or the Project window opens it in an
editor tab. KryoDesk downloads the file into a private temporary copy
($TMPDIR/kryodesk-edit-*, folder 0700, file 0600), shows it, and sends the edited text back only
when you press Upload. Sources: this Mac, SFTP, FTP/FTPS, SMB/NFS mounts and S3.

What opens how
Section titled “What opens how”The type is taken from the file’s first bytes, never from its name alone.
| File | Opens as | Size limit |
|---|---|---|
| Text | Editable text | 8 MiB |
PNG, JPEG, GIF, WebP, BMP, ICO, TIFF, HEIC, AVIF; SVG (with the .svg extension) |
Image, read only | 64 MiB |
| Pages drawn by pdf.js, read only; links and document navigation are off | 64 MiB | |
SQLite 3 database (header SQLite format 3) |
Database browser, read only | 256 MiB with a .db, .sqlite, .sqlite3, .db3, .s3db or .sl3 name, else 8 MiB |
| MP4, M4A, MOV, 3GP, WebM, Matroska, Ogg, MP3, AAC, WAV, FLAC, AIFF | Player of the system webview (no autoplay, no loop) | 1 GiB |
Certificates: PEM (with a known BEGIN block and a certificate extension, or starting with -----BEGIN), DER, PKCS#7, PKCS#12, PKCS#10 requests, private keys |
Certificate view, read only | 4 MiB |
| Anything else | Hex view, read only | 8 MiB |
The 64 MiB limit applies to names with an image or PDF extension (png, jpg, gif, webp, bmp,
ico, tif, heic, avif, svg, pdf, …); every other file is read up to 8 MiB. A larger file
opens in the read-only Large File view when double-clicked. Video and audio names (mp4,
m4a, mov, webm, mkv, ogg, opus, mp3, wav, flac, …) are copied to disk without being held in memory,
up to 1 GiB; the first bytes still decide: a .mp4 that is text opens as text.
Toolbar of a text tab
Section titled “Toolbar of a text tab”| Button | What it does |
|---|---|
| Text, Preview, Both | For Markdown files: source, rendered preview, or both side by side. The choice is remembered (localStorage editor-markdown-view). |
| Table, Text | For .csv, .tsv and .tab files: a read-only table or the editable text (see below). The choice is remembered (localStorage editor-csv-view). |
| Side by side | Shows the editor next to the tab the file came from (split view). |
| Hex | Opens the same file’s bytes in a hex tab. |
| Reload | Downloads the file again; asks first when there are changes that were not uploaded. |
| Download… | Writes the edited text to a path you choose. |
| Upload (⌘S) | Sends the text to the source path in the background, with progress in the button. |
A dot on the tab title and modified in the status bar mark changes that were not uploaded.
CSV and TSV tables
Section titled “CSV and TSV tables”The table shows the current text of the tab, also changes that were not uploaded; editing happens in
Text. The parser follows RFC 4180: quoted fields, "" for a quote, line breaks inside quotes, CRLF
or LF.
| Control | What it does |
|---|---|
| Delimiter | Detected from the first 200 records (comma, semicolon, tab, pipe: the most consistent field count wins); Other… takes any ASCII character. |
| Header row | The first row as column names. Guessed: on when it has no numbers, no empty and no repeated values. |
| Column header | Click: sort ascending, descending, off. Sort as Text or Number (numbers like 1 234,5 or -3.2e4; chosen automatically when every value is one). Empty values go last. Drag the right edge to resize, double-click it to reset. |
| Filter rows | Rows containing the text (case-insensitive), in all columns or one. |
| Cell | Click selects (arrow keys move), ⌘C copies the value. Right click: Copy Cell, Copy Row (in the file’s format), Filter by the value. |
| Line | The line in the file where the record starts. |
| N problems | Records with another field count than the first row, quotes inside unquoted fields, text after a closing quote, a quote not closed before the end of the file; each with its line, a click scrolls to the row. |
Values are shown as plain text: control characters, tabs, line breaks and invisible or direction characters appear as symbols, nothing is read as HTML or a formula. A cell shows up to 500 characters; the tooltip and the copy have the whole value. Limits: 2000 columns, 1000 listed problems (the rest are counted). A file over 8 MiB opens in the Large File view, without the table.
Find and replace
Section titled “Find and replace”⌘F opens the find bar above the text, ⌘R the find and replace
bar (the arrow at the left switches between them). Text selected on one line becomes the search text;
a selection over several lines becomes the search scope (In selection). Matches are highlighted
while you type and the first one from the caret is selected; the counter shows 3/17, the number of
results, No results or the regex error.
| Control | What it does |
|---|---|
| Magnifier menu (⌥↓) | The last 20 searches (localStorage editor-search-history). |
| New line | Enter in the fields inserts a new line, to search across lines; ⌘Enter then finds or replaces. |
| Match case, Words, Regex | ⌥C, ⌥W, ⌥X in the bar, or Tab to the option and Space. Kept for all tabs and the Large File view (localStorage editor-search-prefs). JavaScript regex syntax (flag u); the replacement takes $& (the match) and $1… (groups). Show expressions help in the Regex tooltip (or ⋮ → Regex help) lists the syntax. |
| Up, down | Previous / next match: ⇧Enter / Enter in the field, ⇧F3 / F3, ⇧⌘G / ⌘G. |
| ⋮ → In selection | Searches only in the selection (dashed underline). |
| Preserve case | The replacement follows the found text: ALL CAPS, Capitalized or lower case. |
| Replace | Replaces the selected match and selects the next one (Enter in the replace field). |
| Replace All | Replaces every match in one step; one ⌘Z undoes it. |
| Exclude | Skips the selected match: it is no longer highlighted, counted or replaced. |
Esc closes the bar and returns to the text. While the file reloads, only find is available. ⌥⌘G goes to a line.
Upload
Section titled “Upload”- KryoDesk compares the file at the source with the version opened in the tab. When it differs, it asks Changed on the server? with the reason; Upload anyway overwrites, Reload shows the current file.
- The text, in the tab’s encoding and line endings, is written to
upload/<name>in the temporary folder and sent like a Files window copy: to.<name>.kryodesk-partnext to the target, then renamed over it. - A symlink is written through to its target; the file’s mode is restored.
- The result is reported with the size and time; warnings come with the transfer log.
Status bar
Section titled “Status bar”The bottom bar of the main window describes the active editor tab.
| Item | What it does |
|---|---|
| Source and path | Click: menu with Copy Path, Copy Source and Path, Copy Temporary Copy Path. |
Ln, Col |
Caret position and selection length. |
| Encoding | Click: Save with Encoding (applies on the next Upload) or Reopen with Encoding (decodes the downloaded bytes again; asks when there are changes). A ? means the encoding was guessed. |
| Line endings | LF (Unix, macOS) or CRLF (Windows), written on Upload. A file with both shows mixed and is written as LF unless you choose. |
| Size | Bytes when opened or reloaded. |
Encodings: UTF-8, UTF-8 with BOM, UTF-16 LE (BOM), UTF-16 BE (BOM), Windows-1250, Windows-1252, ISO-8859-2, ISO-8859-15. Detection: a BOM, else valid UTF-8, else a single-byte code page guessed from the bytes (bytes 0x80–0x9F point to a Windows code page, since they are control characters in ISO-8859). Text that the chosen encoding cannot represent is refused on Upload with the first such line.
Git in the editor
Section titled “Git in the editor”For a local file in a git repository (not SFTP, FTP or S3 copies).
Change markers in the gutter compare the editor text, unsaved edits included, with the HEAD
version: a blue bar marks changed lines, a green bar added lines, a grey triangle the place of
deleted lines. A file added to the index but not in HEAD shows every line as added; untracked and
ignored files have no markers. The HEAD version is read when the tab opens, after an Upload and when
HEAD moves (ls-tree + cat-file blob: no filters, textconv or diff drivers); the comparison runs
in the window 0.3 s after an edit. Clicking a marker shows the HEAD lines of that block with
Rollback (puts them back in the editor, nothing is saved) and Show Diff (the
diff tab: HEAD against the saved file).
Git Blame: right click on the gutter → Annotate with Git Blame (toggle). A column left of the
line numbers shows the author date (short, local format) and author per line; older commits are
dimmer, uncommitted lines are empty. It runs git blame --porcelain --no-textconv --contents - with
the editor text on stdin and the repository’s clean filters turned off with -c, again 1.5 s after
an edit. Clicking a cell shows the commit id, author, e-mail, date and full message with Show
Diff (the file in that commit against its first parent) and Copy Revision. Names and messages
are shown with control and bidi characters as symbols.
Image, PDF, video, audio and hex tabs
Section titled “Image, PDF, video, audio and hex tabs”
A PNG opened from the Files window.

A PDF tab.

A binary file in the hex view.
| Button | Shown for | What it does |
|---|---|---|
| Fit | image, PDF | Fits into the tab (PDF: the page width). |
| 100% | image, PDF | One image pixel (PDF point) per screen point. |
| Zoom out, zoom in | image, PDF | Also ⌘+wheel. |
| Open as Hex | image, PDF, video, audio | The bytes in a hex tab (up to 64 MiB). |
| Offset field, Go | hex | Jumps to an offset: decimal, 0x1f0 or 1f0h. |
| Open as Text | SVG, hex | Opens the file in a text tab. |
| Reload | all | Downloads the file again. |
| Download… | all | Writes the file, as it is, to a path you choose. |
Video and audio
Section titled “Video and audio”The webview of the system plays the file (macOS: WebKit, Windows: WebView2), so the codecs are the system’s: on macOS
Matroska (.mkv) does not play; on Windows HEVC needs the HEVC Video Extensions and AIFF does not play. Above the
player: format, MIME type, duration, picture size, the tracks and codecs read from the container (avc1, hvc1,
V_VP9, A_OPUS, PCM 16-bit, stereo, 44100 Hz, …) and the webview’s own answer for the MIME type
(canPlayType: probably, maybe, no). When the webview cannot play the file, the tab says so with the
MediaError code and message (for example MEDIA_ERR_SRC_NOT_SUPPORTED (4)) and offers Open as Hex and
Download…. A video track without a picture (a codec the webview lacks) is reported too; the audio still plays.
The player reads only the tab’s temporary copy, in byte ranges, through a URL valid in that window until the tab closes.
SQLite tabs
Section titled “SQLite tabs”A SQLite database opens as a read-only browser. KryoDesk never opens the file in use: Rust makes its
own copy in the tab’s temporary folder (sqlite-<n>, 0700/0600) and SQLite reads only that copy.
- Local file (also SMB/NFS mounts): the database and its
-walare copied; the copy is repeated (up to 3 times) when either file changes during copying.-shmis not needed. An existing-journalis reported: it is not applied. - SFTP, FTP, S3: the downloaded copy of the main file. A
-walor-journalnext to it at the source is reported in the console; transactions in a remote-walthat are not yet checkpointed are not shown.
The copy is opened with SQLITE_OPEN_READONLY, PRAGMA query_only=ON, trusted_schema=OFF,
cell_size_check=ON, defensive mode, no ATTACH and no extensions. An authorizer allows only reading
(SELECT, column reads, functions other than load_extension, schema pragmas such as table_info).
A statement stops after 30 s or with Stop.
| Part | What it shows |
|---|---|
| Object list | Tables, views, indexes and triggers from sqlite_schema, with a filter. |
| Data | Rows of a table or view, 100 to 1000 per page; a header click sorts; the search runs CAST(column AS TEXT) LIKE '%text%' over all columns or one, with the number of matches. |
| Structure | Columns from pragma_table_xinfo (type, NOT NULL, primary key, default, generated or hidden) and the CREATE statement. |
| Query | One read-only statement (⌘Enter); the grid keeps 1000 rows and counts the rest. |
| Console | Every statement with its parameters, row count and time; the copy, the -wal, the database header (page size, journal mode, encoding, user_version, last SQLite version that wrote it) and errors. Copy copies it. |
Text is shown up to 4096 characters and BLOBs as hex up to 256 bytes; control and bidi characters
in names, CREATE statements and values appear as \u{…}.
Certificate tabs
Section titled “Certificate tabs”PEM, DER (.crt, .cer, .der, …), PKCS#7 (.p7b, .p7c), PKCS#12 (.p12, .pfx), requests (.csr)
and key files. Nothing is downloaded (AIA, OCSP and CRL addresses are shown as text) and no openssl runs.
| Part | What it shows |
|---|---|
| Summary | Format, PEM blocks, PKCS#12 MAC and encryption of each part, PKCS#7 contents, the trust store used. |
| Password | PKCS#12 and encrypted PKCS#8 keys (ENCRYPTED PRIVATE KEY). The empty password is tried first. The password is used for one read and not kept. |
| Findings | Errors, warnings and checks that passed, each with the certificate number and the reason; Copy findings. |
| Chain | Leaf first, then each issuer, ending at a root in the file, a root this system trusts, or a missing issuer; under each link how its signature was checked. |
| Certificates | Subject, issuer, serial, validity with days left, key, signature, SAN, key usage, extended key usage, basic constraints, SKI, AKI, AIA, CRL, policies, SHA-256 and SHA-1 fingerprints, public key pin; extensions and the signature value in hex; Copy PEM. Every row can be copied. |
| Keys | Type and size, whether and how the key is encrypted, the certificate and request with the same public key. The key itself is never shown. |
The host name field checks a name or IP address against the leaf: SAN DNS entries (a wildcard covers one label), SAN IP entries, and the CN only when there is no SAN.
Checks: duplicates; issuer by name and Authority/Subject Key Identifier; signature of each link (RSA, RSA-PSS, ECDSA, Ed25519); order in the file (leaf first); CA:TRUE, path length and Certificate Sign of each issuer; issuer EKU; dates of each certificate (expired, not valid yet, under 30 days); a certificate valid longer than its issuer; missing intermediate (with the AIA CA Issuers address); a root in the file (trusted or not); SHA-1 and MD5 signatures, RSA under 2048 bits, EC under 256 bits, DSA; unknown critical extensions; a leaf without SAN or valid over 398 days; legacy PKCS#12 algorithms (RC2, 3DES, SHA-1 MAC).
The trust store is read, never changed: on macOS the trust settings of System Roots and the admin and user domains, on Windows the ROOT certificate store. Open as Text (PEM) and Open as Hex open the file in another tab.