Skip to content

Releases

Strax 0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 16:20

The first version. It has been measured on Linux only; Windows and macOS are built and tested by CI, but nobody has used them yet. The state of each goal, the measurements and the open points are in docs/V01-REPORT.md.

Added

  • Opening and saving with encoding detection (BOM, UTF-16, UTF-8, legacy encodings), line ending and indentation detection and conversion.
  • Multiple cursors and VS Code-style copy and paste.
  • Automatic closing of brackets, quotes and tags.
  • Search and replace with text or regular expressions, find in files, line tools, text transforms (Base64, URL encoding, JSON) and macros.
  • Comparison of two texts by lines, words and characters.
  • Themes (light, dark, high contrast) and theme files with extends.
  • Syntax highlighting for 20 languages with tree-sitter; the grammars are WebAssembly folders loaded at run time (cargo xtask build-grammars).
  • Window with header, menu, ribbon (collapsible with Ctrl+F1, KeyTips with Alt), tabs at the top, left or right, and a status bar whose fields open their choices.
  • Several windows, a single running instance that takes over files from further calls, and a session with crash recovery for unsaved tabs.
  • Search bar with match count, replace and go to line; invisible characters; font zoom; bracket matching; column selection.
  • Open folder with a file tree (Ctrl+B), quick open (Ctrl+P) and find in files (Ctrl+Shift+F).
  • Comparison view: strax --diff a b or View › Compare, side by side with placeholders, word and character marks, an overview bar, F7 and Shift+F7, and taking blocks over with Alt+arrows.
  • settings.toml with live reload and a separate session state.
  • The logo: in the header it is the menu button and takes the colours of the theme; the README shows it in light and dark.
  • A program icon made from the logo: in strax.exe and on its windows (Windows), on the window under X11 with the window class strax, and as files for Linux (icon theme, desktop file draft) and a future macOS app bundle (assets/icon, assets/linux).
  • A settings dialog (Ctrl+, or Menu › Settings) for appearance, editor and start-up; every change is written to settings.toml at once. It works without a mouse: Tab and Shift+Tab move a visible focus ring, arrows change values and move between theme cards, Space and Enter toggle or choose, Ctrl+PageUp and Ctrl+PageDown switch sections.
  • 14 popular free themes: Catppuccin Latte, Frappé, Macchiato and Mocha, Dracula, Nord, Gruvbox Dark and Light, Solarized Dark and Light, One Dark, Tokyo Night, Rosé Pine and Rosé Pine Dawn. Theme files can extend them.
  • Find in files without an open folder: it searches the folder of the active file or the home folder, and a button picks another folder.
  • An own title bar: the header moves and maximises the window, the edges resize it, and minimise, maximise and close sit in the top right corner. On macOS the system's buttons stay.
  • Release packages, built by GitHub Actions for each version tag: an MSI installer and a portable ZIP for Windows, a disk image with a universal app for macOS, an AppImage and a portable tarball for Linux (x86_64 and aarch64), each with the grammars and the licences of all dependencies. The AUR packages strax and strax-bin are updated when a release is published.
  • On macOS Strax takes files from the Finder: it is offered in Open With for text and source files, and opens files from a double-click and from a drop on its Dock icon, also when it is already running.

Changed

  • Light and dark take their accent from the blue of the logo instead of indigo.
  • The logo replaces the File button as the menu button.
  • The View tab of the ribbon is merged into Home. Theme and tab position moved to the settings dialog, and the light/dark button in the header is gone.
  • The file tree runs from the ribbon to the status bar; the tab bar sits above the text only.
  • The compare buttons say "Compare with …" next to their icons.
  • On Windows, strax.exe starts without a console window. --help, --version, usage errors, --verbose and --bench-startup still write to the terminal it was started from, or into a pipe or file.

Downloads

System File How
Windows 10 and 11 …-windows-x86_64.msi Installs Strax for all users, with a Start menu entry, Open with for text files and strax on the PATH.
…-windows-x86_64.zip Portable: unpack anywhere and start strax.exe.
macOS 11 or newer …-macos-universal.dmg For Apple silicon and Intel: drag Strax to Applications. Open With offers it for text files.
Linux …-linux-<arch>.AppImage Runs without installation: make it executable and start it.
…-linux-<arch>.tar.xz Portable: start bin/strax in place, or copy bin and share into ~/.local or /usr/local.
Arch Linux AUR strax (built from source) or strax-bin.

The installers are not signed yet. Windows SmartScreen may warn on the first start (More info › Run anyway). On macOS, open Strax once, then allow it in System Settings › Privacy & Security › Open Anyway.

SHA256SUMS holds the checksums: sha256sum --check --ignore-missing SHA256SUMS.