README for users, dev notes in CONTRIBUTING.org !319

merged merged by cmc on 2026-10-12 03:58 UTC · krz/orgstar:readme-marketing into main

2 files changed, +124 −61

Layout: unified · split

CONTRIBUTING.org added +70
@@ -0,0 +1,70 @@
1#+TITLE: Contributing
2
3* Status
4
5macOS v1, design phases 1–6: editing with Emacs, Mac and Doom keys, agenda, table
6formulas, Babel and tangling, export, capture, clocking, board, themes and buffers.
7Owed: the M1 Air gate run and the VoiceOver check. iOS (phase 7): the editor, agenda,
8capture, search, clocking, reminders, export and tangling, Simulator builds only so far.
9
10=docs/design.md= is the design; =docs/plans/= has one plan per piece of work.
11
12* Build and run
13
14Requires macOS 26 and Xcode 27 (Swift 6.2 tools).
15
16#+BEGIN_SRC sh
17scripts/build-app.sh # builds .build/app/orgstar.app, signed ad hoc
18open .build/app/orgstar.app
19#+END_SRC
20
21Add a folder with File > Add Folder… (⇧⌘O). ⌘P opens a file by name, ⇧⌘F searches,
22⇧⌘A shows the agenda. In the editor, TAB on a heading cycles its folding and Shift-TAB
23cycles the whole file. orgstar opens =.org= files from Finder once the app has been
24launched.
25
26C-c C-v t tangles the file's source blocks into the files their =:tangle= header
27names, as =org-babel-tangle= does.
28
29=org-protocol://capture?template=…&url=…&title=…&body=…= and
30=org-protocol://store-link?url=…&title=…= links work as in Emacs, so browser
31bookmarklets written for org-protocol work unchanged. Shortcuts has a "Capture to
32orgstar" action that files text with a capture template.
33
34Settings live in =~/.config/orgstar/config.toml= (orgstar ▸ Edit Config File), with
35keys in =keymap.toml= and capture templates in =capture.toml= beside it. Settings ▸
36General ▸ Import from Emacs reads an existing Emacs or Doom configuration.
37
38* iOS
39
40The iOS app (iOS 26) is the "Orgstar iOS" scheme in =ios/Orgstar.xcodeproj=, with the
41share and Quick Look extensions. It builds from the package's sources and signs
42automatically with the team set in the project; choose a device or Simulator and Run.
43For the Simulator without Xcode:
44
45#+BEGIN_SRC sh
46scripts/build-ios-app.sh # builds .build/ios-app/orgstar.app
47xcrun simctl install booted .build/ios-app/orgstar.app
48#+END_SRC
49
50On iOS, orgstar in the share sheet takes a page or text with a template; the app opens
51its capture sheet with it when it's next active. Shortcuts has the same "Capture to
52orgstar" action as on the Mac.
53
54* Tests
55
56#+BEGIN_SRC sh
57swift test # all tests
58ORGSTAR_GATES=1 swift test -c release --filter GateTests # performance gates
59#+END_SRC
60
61* Release
62
63=scripts/release-mac.sh <version>= builds a universal app, signs it with the
64keychain's Developer ID, notarizes a DMG, tags =v<version>=, uploads the DMG to the
65gitbay release and updates the cask in krz/homebrew-tap.
66
67* App Store header
68
69=ios/AppStore/header.html= renders the product page headers; the commands are in the
70comment at the top of the file.
README.md +54 −61
@@ -2,71 +2,64 @@
2 2
3![orgstar on iPad, Mac and iPhone](ios/AppStore/header-21x9.png) 3![orgstar on iPad, Mac and iPhone](ios/AppStore/header-21x9.png)
4 4
5A native macOS editor for org-mode files, with an iOS app for iPhone and iPad. 5orgstar is an editor for [Org mode](https://orgmode.org) files on the Mac, iPhone and
6 6iPad. It reads and writes the same plain-text `.org` files Emacs does, and leaves every
7[Download on the App Store](https://apps.apple.com/app/idXXXXXXXXXX). Screenshots are in 7byte you didn't change as it was, so Emacs, the Mac app, the iOS app and your sync tool
8[ios/AppStore/screenshots](ios/AppStore/screenshots). 8can all work on the same folder.
9 9
10The files are the source of truth: orgstar edits them in place and leaves 10[Download on the App Store](https://apps.apple.com/app/idXXXXXXXXXX) ·
11every byte you didn't change as it was, so Emacs and sync tools can work on 11[Download for Mac](https://gitbay.org/krz/orgstar/releases) ·
12the same folder. 12[Manual](https://krz.gitbay.site/orgstar/) ·
13 13[Screenshots](ios/AppStore/screenshots)
14Status: macOS v1, design phases 1–6: editing with Emacs, Mac and Doom keys, 14
15agenda, table formulas, Babel and tangling, export, capture, clocking, board, 15## Your files stay yours
16themes and buffers. Owed: the M1 Air gate run and the VoiceOver check. iOS 16
17(phase 7): the editor, agenda, capture, search, clocking, reminders, export 17There is no database of your notes and no account. orgstar works on folders you choose,
18and tangling, Simulator builds only so far. 18in iCloud Drive, a Syncthing folder or anywhere else, and keeps only an index for search
19 19and the agenda, rebuilt from the files whenever they change. Open the same files in
20## Build and run 20Emacs tomorrow and nothing has been reformatted.
21 21
22Requires macOS 26 and Xcode 27 (Swift 6.2 tools). 22## What it does
23
24- **Editor.** Headings, TODO keywords, priorities, tags, timestamps, links, lists,
25 tables and source blocks, styled as you type. Folding, structure editing, and Emacs,
26 Mac or Doom (Vim) keys.
27- **Agenda.** Scheduled items, deadlines and timestamps from all your files, by day,
28 with habits and Calendar events. On the Mac, a board shows entries as a table or as
29 kanban columns.
30- **Capture.** Capture templates as in Org, from a global shortcut, the share sheet,
31 Shortcuts, widgets, or `org-protocol://` links, so existing browser bookmarklets work
32 unchanged.
33- **Clocking.** Clock in and out of entries, with clock reports and a Live Activity on
34 iPhone.
35- **Tables.** Aligned as you type, with `#+TBLFM` formulas.
36- **Code blocks.** Run source blocks and tangle them into files, as `org-babel-tangle`
37 does.
38- **Export.** HTML and Markdown built in; PDF, LaTeX, ODT and more through Emacs when
39 it is installed.
40- **Search.** Across file names, headings and text, plus Spotlight and Quick Look
41 previews of `.org` files.
42
43## Coming from Emacs
44
45orgstar behaves the way Org does where the two overlap. Settings ▸ General ▸ Import from
46Emacs reads an existing Emacs or Doom configuration and carries over its org settings,
47folders, capture templates, key bindings and agenda views. Settings live in plain files
48under `~/.config/orgstar/`, so they can sit in your dotfiles next to your Emacs config.
49
50## Get it
51
52On the Mac (macOS 26 or later), with Homebrew:
23 53
24```sh 54```sh
25scripts/build-app.sh # builds .build/app/orgstar.app, signed ad hoc 55brew tap krz/tap https://gitbay.org/krz/homebrew-tap.git
26open .build/app/orgstar.app 56brew install --cask orgstar
27``` 57```
28 58
29`scripts/release-mac.sh <version>` builds a universal app, signs it with the keychain's 59or download the notarized DMG from the
30Developer ID, notarizes a DMG, tags `v<version>`, uploads the DMG to the gitbay release 60[releases page](https://gitbay.org/krz/orgstar/releases). iPhone and iPad (iOS 26 or
31and updates the cask in krz/homebrew-tap. 61later): [App Store](https://apps.apple.com/app/idXXXXXXXXXX).
32
33Add a folder with File > Add Folder… (⇧⌘O). ⌘P opens a file by name, ⇧⌘F
34searches, ⇧⌘A shows the agenda. In the editor, TAB on a heading cycles its
35folding and Shift-TAB cycles the whole file. orgstar opens `.org` files from
36Finder once the app has been launched.
37
38C-c C-v t tangles the file's source blocks into the files their `:tangle`
39header names, as `org-babel-tangle` does.
40
41`org-protocol://capture?template=…&url=…&title=…&body=…` and
42`org-protocol://store-link?url=…&title=…` links work as in Emacs, so browser
43bookmarklets written for org-protocol work unchanged. Shortcuts has a
44"Capture to orgstar" action that files text with a capture template.
45
46The iOS app (iOS 26) is the "Orgstar iOS" scheme in `ios/Orgstar.xcodeproj`, with the
47share and Quick Look extensions. It builds from the package's sources and signs
48automatically with the team set in the project; choose a device or Simulator and Run.
49For the Simulator without Xcode:
50
51```sh
52scripts/build-ios-app.sh # builds .build/ios-app/orgstar.app
53xcrun simctl install booted .build/ios-app/orgstar.app
54```
55
56On iOS, orgstar in the share sheet takes a page or text with a template; the
57app opens its capture sheet with it when it's next active. Shortcuts has the
58same "Capture to orgstar" action as on the Mac.
59
60Settings live in `~/.config/orgstar/config.toml` (orgstar ▸ Edit Config File),
61with keys in `keymap.toml` and capture templates in `capture.toml` beside it.
62Settings ▸ General ▸ Import from Emacs reads an existing Emacs or Doom
63configuration.
64
65```sh
66swift test # all tests
67ORGSTAR_GATES=1 swift test -c release --filter GateTests # performance gates
68```
69 62
70`docs/design.md` is the design; `docs/plans/` has one plan per piece of work. 63To build from source or contribute, see [CONTRIBUTING.org](CONTRIBUTING.org).
71 64
72License: 0BSD. 65License: 0BSD.