README.md
67 lines · 2824 bytes
1# orgstar
2
3A native macOS editor for org-mode files, with an iOS app for iPhone and iPad.
4
5The files are the source of truth: orgstar edits them in place and leaves
6every byte you didn't change as it was, so Emacs and sync tools can work on
7the same folder.
8
9Status: macOS v1, design phases 1–6: editing with Emacs, Mac and Doom keys,
10agenda, table formulas, Babel and tangling, export, capture, clocking, board,
11themes and buffers. Owed: the M1 Air gate run and the VoiceOver check. iOS
12(phase 7): the editor, agenda, capture, search, clocking, reminders, export
13and tangling, Simulator builds only so far.
14
15## Build and run
16
17Requires macOS 26 and Xcode 27 (Swift 6.2 tools).
18
19```sh
20scripts/build-app.sh # builds .build/app/orgstar.app, signed ad hoc
21open .build/app/orgstar.app
22```
23
24`scripts/release-mac.sh <version>` builds a universal app, signs it with the keychain's
25Developer ID, notarizes a DMG, tags `v<version>`, uploads the DMG to the gitbay release
26and updates the cask in krz/homebrew-tap.
27
28Add a folder with File > Add Folder… (⇧⌘O). ⌘P opens a file by name, ⇧⌘F
29searches, ⇧⌘A shows the agenda. In the editor, TAB on a heading cycles its
30folding and Shift-TAB cycles the whole file. orgstar opens `.org` files from
31Finder once the app has been launched.
32
33C-c C-v t tangles the file's source blocks into the files their `:tangle`
34header names, as `org-babel-tangle` does.
35
36`org-protocol://capture?template=…&url=…&title=…&body=…` and
37`org-protocol://store-link?url=…&title=…` links work as in Emacs, so browser
38bookmarklets written for org-protocol work unchanged. Shortcuts has a
39"Capture to orgstar" action that files text with a capture template.
40
41The iOS app (iOS 26) is the "Orgstar iOS" scheme in `ios/Orgstar.xcodeproj`, with the
42share and Quick Look extensions. It builds from the package's sources and signs
43automatically with the team set in the project; choose a device or Simulator and Run.
44For the Simulator without Xcode:
45
46```sh
47scripts/build-ios-app.sh # builds .build/ios-app/orgstar.app
48xcrun simctl install booted .build/ios-app/orgstar.app
49```
50
51On iOS, orgstar in the share sheet takes a page or text with a template; the
52app opens its capture sheet with it when it's next active. Shortcuts has the
53same "Capture to orgstar" action as on the Mac.
54
55Settings live in `~/.config/orgstar/config.toml` (orgstar ▸ Edit Config File),
56with keys in `keymap.toml` and capture templates in `capture.toml` beside it.
57Settings ▸ General ▸ Import from Emacs reads an existing Emacs or Doom
58configuration.
59
60```sh
61swift test # all tests
62ORGSTAR_GATES=1 swift test -c release --filter GateTests # performance gates
63```
64
65`docs/design.md` is the design; `docs/plans/` has one plan per piece of work.
66
67License: 0BSD.