Repository navigation
OriCmd 0.11b
The viewer (F3) shows much more
- Web pages and Markdown. HTML files open as pages and Markdown files as documents: tables, colored code, task lists, pictures lying next to the file.
1shows the source,7the page again. - Formatting.
F(or Format in the context menu) lays out JSON, XML, JavaScript, TypeScript, CSS and HTML for reading, and stays on for the next files. - 3D models. STL files, binary or text, open as a model to turn with the mouse. The wheel or a pinch brings it nearer, Option-drag or two fingers move it, a double click shows it as at first. Its size and number of triangles are in the title.
- E-books. FB2 (also
.fb2.zip), EPUB, MOBI, AZW, AZW3 and PRC open to read, with chapters, notes, pictures and the cover. Contents in the context menu jumps to a chapter. Books protected by DRM are said so. - DjVu. Documents show their pages when DjVuLibre is installed (
brew install djvulibre), otherwise their text layer.F7finds text in them. - Tables. Excel 2003 XML files (whatever their name), HTML pages saved as
.xlsand CSV/TSV open as a grid with sheets, merged cells and dates.⌘Ccopies rows. - TypeScript.
.tsfiles are shown as code, no longer taken for video.
Kept apart and locked
- Pages are shown with JavaScript off, and nothing is loaded from the network, not even a picture, so a page can't tell anyone it was opened.
- A page shows only files of its own folder, and a link opens in the browser only when you click it.
- Books, tables, models, Markdown and formatting are all read by the locked-down helper that does syntax highlighting. It has no files, no network and no other programs. OriCmd checks everything it answers, stops it when it takes too long, and it ends itself if it takes too much memory.
- DjVuLibre draws pages in a sandbox that can read nothing but its own libraries. The document is handed to it by OriCmd.
- The new readers went through three security reviews.
Panels
- Drive buttons. A right click gives the Finder's volume menu: open (also in a new tab or the other panel), Show in Finder, eject a disk or a disk image, rename, Get Info, copy the path.
- Many drives. When the drive buttons don't fit, they scroll with the wheel, the trackpad or the arrows at the ends.
- Tabs can be dragged along their bar, or onto the other panel's tabs. A server tab takes its connection and its running terminal along.
Ctrl+Shift+←/Ctrl+Shift+→(macOS keepsCtrl+←/→for its spaces) show in the other panel what is under the cursor:- a folder's or an archive's contents;
- inside an archive, the same archive folder;
- for a file, its folder with the file selected.
Install
brew install --cask mmag/tap/oricmdOr download OriCmd-0.11b.dmg below (macOS 14 or later, Apple Silicon and Intel). To update from an earlier version, choose OriCmd → Check for Updates….
The app is ad-hoc signed, without an Apple certificate. On the first launch, right-click OriCmd and choose Open.
Просмотрщик (F3) показывает гораздо больше
- Веб-страницы и Markdown. HTML-файлы открываются страницами, Markdown — документами: таблицы, раскрашенный код, списки задач, картинки, лежащие рядом с файлом.
1показывает исходник,7— снова страницу. - Форматирование.
F(или «Форматировать» в контекстном меню) раскладывает для чтения JSON, XML, JavaScript, TypeScript, CSS и HTML и остаётся включённым для следующих файлов. - 3D-модели. STL-файлы, двоичные и текстовые, открываются моделью, которую можно крутить мышью. Колесо или щипок приближает, перетаскивание с Option или двумя пальцами сдвигает, двойной щелчок возвращает исходный вид. Размеры и число треугольников — в заголовке.
- Электронные книги. FB2 (и
.fb2.zip), EPUB, MOBI, AZW, AZW3 и PRC открываются для чтения: с главами, примечаниями, картинками и обложкой. «Оглавление» в контекстном меню переходит к главе. О книгах, защищённых DRM, так и сказано. - DjVu. Документы показывают свои страницы, если установлен DjVuLibre (
brew install djvulibre), иначе — свой текстовый слой.F7ищет по тексту. - Таблицы. Файлы Excel 2003 XML (как бы они ни назывались), HTML-страницы, сохранённые как
.xls, и CSV/TSV открываются сеткой с листами, объединёнными ячейками и датами.⌘Cкопирует строки. - TypeScript. Файлы
.tsпоказываются кодом и больше не принимаются за видео.
Отдельно и под замком
- Страницы показываются с выключенным JavaScript, из сети не загружается ничего, даже картинка, — страница не может никому сообщить, что её открыли.
- В странице видны только файлы её собственной папки, а ссылка открывается в браузере только по щелчку.
- Книги, таблицы, модели, Markdown и форматирование разбирает тот же запертый помощник, что и подсветку синтаксиса: у него нет ни файлов, ни сети, ни других программ. OriCmd проверяет всё, что он отвечает, останавливает его, если тот работает слишком долго, а помощник сам завершается, если занимает слишком много памяти.
- DjVuLibre рисует страницы в песочнице, где может читать только свои библиотеки; документ ему передаёт OriCmd.
- Новые разборщики прошли три ревью безопасности.
Панели
- Кнопки дисков. Правый клик открывает меню тома как в Finder: открыть (и в новой вкладке, и в другой панели), показать в Finder, извлечь диск или образ, переименовать, свойства, скопировать путь.
- Много дисков. Когда кнопки дисков не помещаются, они прокручиваются колесом, трекпадом или стрелками по краям.
- Вкладки перетаскиваются по своей полосе и на вкладки другой панели. Серверная вкладка забирает с собой соединение и работающий терминал.
Ctrl+Shift+←/Ctrl+Shift+→(Ctrl+←/→macOS оставляет себе для рабочих столов) показывают в другой панели то, что под курсором:- содержимое папки или архива;
- внутри архива — ту же папку архива;
- для файла — его папку с курсором на нём.
Установка
brew install --cask mmag/tap/oricmdИли скачайте OriCmd-0.11b.dmg ниже (macOS 14 и новее, Apple Silicon и Intel). Чтобы обновить прежнюю версию, выберите OriCmd → «Проверить обновления…».
Приложение подписано ad-hoc, без сертификата Apple. При первом запуске щёлкните OriCmd правой кнопкой и выберите «Открыть».