Skip to content

Kitab Reader 1.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 10:38
· 2 commits to main since this release

Kitab reads more than books and PDFs now. AsciiDoc and MDX open like Markdown; JSON, logs, settings files, .env, CSV, subtitles and two dozen other text formats open straight into an editor with syntax colours, folding, find and a minimap; and a .txt book turns into its text when you start typing. Every new type has its own document icon and its place in Settings › File types.

Added

New document formats

  • AsciiDoc (.adoc, .asciidoc) opens like Markdown, with the outline, find, print, read aloud, the editor beside a live preview, live reload and file-manager thumbnails. Kitab reads the document header (title, authors, revision), sections (with Asciidoctor's ids and :sectnums:), admonitions, tables (PSV, CSV and DSV, with cols, header rows and column spans), bullet, numbered, check and description lists with + continuations, listings with syntax colours, literal, quote, verse, sidebar, example and collapsible blocks, images, footnotes, links and cross references, kbd:, btn: and menu:, attributes and ifdef/ifndef/ifeval, STEM (LaTeX) math and Mermaid diagrams. include:: shows as a link to the file and is never read, and AsciiDoc's raw HTML goes through the same allow-list as Markdown's.
  • MDX (.mdx) opens like Markdown, with the outline, editor and live reload. Imports, exports and {/* comments */} are left out, the Markdown inside components shows as written, and a component with nothing inside (<Chart />) shows as its name. Nothing in the file runs.

Text and data files, in an editor

  • JSON, logs, settings files, .env and more open straight into an editor, with no Edit button: line numbers, syntax colours, undo, Ctrl+S to save, find (Ctrl+F), a right-click menu (undo, redo, cut, copy, paste, select all, save, the file's path and folder) and a dot on the tab while something is unsaved.
  • The formats, each named in the tab, the toolbar and the status bar ("TOML", "Git ignore list", "systemd service", "Subtitles"…) and coloured by what it is:
    • JSON and its relatives: .json, .jsonc, .json5, .geojson, .webmanifest, .har, .code-workspace, .jsonl and .ndjson, and .babelrc, .eslintrc, .prettierrc and the like;
    • settings: .ini, .cfg, .conf, .toml, .properties, .editorconfig, .gitconfig, .gitmodules, .npmrc; Linux .desktop files and systemd .service, .timer, .socket and .mount units; Windows .inf, .url and .reg files;
    • .env files (.env, .env.local, prod.env), logs, CSV and TSV (separators, numbers and quoted fields coloured), .srt and .vtt subtitles, .gitignore-style lists, and files with no extension such as LICENSE, hosts and fstab.
  • JSON folds: objects and arrays fold and unfold from the arrows beside the line numbers (or Fold all from the right-click menu), and a note says where JSON stops being valid (it still saves as written).
  • A minimap down the right edge shows the whole file in its colours, with a box around what's on screen: click or drag it to jump. A long file is drawn as a sample, so a 100,000-line log draws no more than a short one.
  • Logs follow the file: a file being written to updates on its own while nothing in it is unsaved.
  • Its own font and size: the dock's typography button and Settings › Reading › Text file font choose the typeface (until then, the code font) and the size; Ctrl+wheel, Ctrl+= and Ctrl+- make the text bigger or smaller.
  • The sidebar and the dock's page slider, zoom and back/forward stay out of the way for these files, the status bar shows the caret's line and column, and the tab shows the whole file name (settings.json, .env).
  • Private by default: these files are never added to Home or to folder scans, and .env files never get a thumbnail, in Kitab or in a file manager, so their secrets stay out of sight.
  • Edit a text file you're reading: a .txt still opens as a book. Start typing (or press Ctrl+E) and it turns into its text, ready to edit near where you were reading; Back to book (or Esc) returns to the book at the same place, with your saved changes.

Everywhere

  • Document icons and file types for every new format: AsciiDoc, MDX, JSON, JSON Lines, GeoJSON, logs, settings files, TOML, properties, .env, CSV, TSV, systemd units, .desktop entries, .inf, .url and .reg files, ignore lists and subtitles each have their own document icon and a row in Settings › File types. Kitab can be the app for AsciiDoc; for the text and data files it is offered under Open with, and never takes them over. The Microsoft Store package leaves out .url, .reg and .inf, which Windows keeps for itself.
  • Select all: Ctrl+A (Cmd+A on a Mac), or Edit › Select all, selects all the text of a PDF, book, Markdown document or file being edited, and Ctrl+C then copies all of it (up to 5,000 pages), including Markdown not scrolled to yet.
  • Unsaved changes show on the tab as a dot where its close button sits (the close button comes back under the pointer), for every kind of document: text and data files, Markdown and AsciiDoc being edited, filled-in PDF forms and removed annotations.

Changed

  • Edit › Edit Markdown is now Edit text, for Markdown, AsciiDoc and text files alike, and the editor's tooltips say "file" rather than "Markdown".
  • Tables without a header row (common in AsciiDoc) draw and print without an empty first row.

Fixed

  • Editing Markdown on a Mac, Cmd+A, C, X, V, Z, Y and S work in the editor (they needed Ctrl).
  • Ctrl+X and Ctrl+V reach the Markdown editor after a click on its toolbar.
  • The dock's hide arrow, and its handle, work while a file is being edited.

Downloads

System File
Windows (Intel, AMD) Kitab_1.9.0_x64_setup.exe installs for everyone on the computer, in Program Files (Windows asks for administrator permission). Kitab_1.9.0_x64_portable.zip runs without installing.
Windows on Arm The x64 downloads; Windows runs them through its emulation.
macOS, Apple silicon Kitab_1.9.0_aarch64.dmg
macOS, Intel Kitab_1.9.0_x86_64.dmg
Linux .flatpak, .AppImage, .deb (Debian, Ubuntu), .rpm (Fedora, openSUSE) or .tar.gz (unpack it and run ./install.sh). x86_64, and aarch64 except the Flatpak.

Or with a package manager: brew install --cask t21dev/tap/kitab on macOS; scoop bucket add t21dev https://github.com/t21dev/scoop-bucket and then scoop install t21dev/kitab on Windows.

Unsigned builds

These downloads aren't code-signed yet. On Windows, SmartScreen may say "Windows protected your PC": choose More info, then Run anyway. On macOS, if the first launch says Kitab is damaged or can't be verified, run xattr -cr /Applications/Kitab.app in Terminal once; or try to open it, then choose Open Anyway in System Settings › Privacy & Security (macOS 15 and later; on macOS 14 and earlier, right-click Kitab in Applications and choose Open). Check any download against the SHA-256 checksums at the end of these notes.

SHA-256 checksums

79b7205aa25e966177fcb7ebd9a64a583363904cb8dc84d2317960f3362fec74  Kitab_1.9.0_aarch64.AppImage
d22b44c921880fca3584e432d2ff248377cb493306d4aeb646d37473e6203a6e  Kitab_1.9.0_aarch64.AppImage.zsync
e6b3c1446750c991d99f432f736db123707c5cfe941f2f03bb3c7a5ac00a15e3  Kitab_1.9.0_aarch64.dmg
d633c9d723243d3000c8012bab9c63d31e2cb8a0d1088ad89732be23be5698a4  Kitab_1.9.0_aarch64.rpm
cb4e751dc3725694aab82100f12aeae78db3deb0e195989c1623d33cf1baa117  Kitab_1.9.0_aarch64.tar.gz
566431baecbf22e9311d5dc29c46cd454c6ef9ada7fc32f38d5962701f0530ac  Kitab_1.9.0_amd64.deb
fa03d3f83de4d729d966c97fdd9c140ef0912f0592040d5782e612da592133ea  Kitab_1.9.0_arm64.deb
b5a71a698d17927daf8697196ed3d3b601e6a7e84c0e64d5859906c1c191f3d7  Kitab_1.9.0_x64_portable.zip
2273972541cc3a196c68af7027ad481d74ad65d59e26071b8daf5627cb835bb5  Kitab_1.9.0_x64_setup.exe
d2e5a6efad687891c8331e48b52f53e41447613ef61cd0d588f215cd0e683ec5  Kitab_1.9.0_x86_64.AppImage
b33ea039a667481c22a162942108588f2a8d934a732b1f85a9cd4b3d7592e8bb  Kitab_1.9.0_x86_64.AppImage.zsync
d2479c2518393054335990ad670867d3f9551bf70191624e929c46782bf20147  Kitab_1.9.0_x86_64.dmg
3865e538f754283902c8e59c724ae0fc4d2995724205918aaa355b77229525b5  Kitab_1.9.0_x86_64.flatpak
8513a2acc21abe97eefc2bf8737d749a575705bd2d0327c305ed1339e81c4f81  Kitab_1.9.0_x86_64.rpm
f79b4290dfa55a0ecf1ccbf2f56412d489b9f017680e938b9dd4ae1ba43a15e5  Kitab_1.9.0_x86_64.tar.gz