docs/manual/install.org

2b4bbb38252d0a3d7b97adde900413f734f0506b
orgstar/docs/manual/install.org

162 lines · 9402 bytes

  1#+TITLE: Install
  2#+DESCRIPTION: Installing orgstar on the Mac from the Mac App Store, with Homebrew or a download, and on iPhone and iPad from the App Store.
  3#+LEDE: The Mac app comes from the Mac App Store, or as a notarized download and a Homebrew cask; the iOS app is on the App Store.
  4
  5* Requirements
  6
  7- macOS 26 or later.
  8- Optional, for the download version: GNU Emacs, for the features that hand work to it
  9  (Emacs Lisp code blocks that need full Emacs, Lisp table formulas the built-in
 10  interpreter can't run, and export to PDF, LaTeX, ODT and other formats). See
 11  [[file:guide/15-alongside-emacs.org][Working alongside Emacs and other tools]].
 12
 13* The Mac app
 14
 15There are two versions of the Mac app. Both edit the same files in the same way; they
 16differ in where they come from, how orgstar+ is bought, and what they can run.
 17
 18- The Mac App Store version runs in the App Sandbox and starts no other programs. Emacs
 19  Lisp blocks run in orgstar's own interpreter, as on iOS; other languages, Emacs and
 20  gnuplot are not used. orgstar+ is an in-app purchase shared with the iPhone and iPad app.
 21- The download version, from Homebrew or files.krz.sh, is signed with a Developer ID and
 22  notarized. It runs code blocks with the programs installed on the Mac, hands some tables and
 23  exports to Emacs, and updates itself.
 24
 25** From the Mac App Store
 26
 27Get orgstar from the [[https://apps.apple.com/us/app/orgstar-org-mode-agenda/id6821552018][Mac App Store]]. The Mac App Store keeps it up to date.
 28
 29Settings ▸ orgstar+ has the monthly, yearly and lifetime plans and Restore Purchases. A
 30purchase made with the same Apple Account on iPhone or iPad unlocks orgstar+ on the Mac too,
 31and the other way round. The same tab has tips, which unlock nothing.
 32
 33** With Homebrew
 34
 35#+BEGIN_SRC sh
 36brew tap krz/tap https://gitbay.org/krz/homebrew-tap.git
 37brew install --cask orgstar
 38#+END_SRC
 39
 40** As a download
 41
 42Download the newest =orgstar-<version>.dmg= from [[https://files.krz.sh/orgstar/][files.krz.sh/orgstar]], open it, and drag
 43orgstar to Applications. The app is universal (Apple silicon and Intel), signed with a
 44Developer ID and notarized by Apple, so it opens without warnings.
 45
 46Once the app has been launched, Finder opens =.org= files with it, Quick Look shows
 47them formatted, and Spotlight indexes their headings and text. The same is true of the Mac
 48App Store version.
 49
 50* The Mac App Store version
 51
 52** What it does differently
 53
 54| Feature                    | Mac App Store version                                             | Download version                                       |
 55|----------------------------+-------------------------------------------------------------------+--------------------------------------------------------|
 56| Code blocks                | Emacs Lisp, in orgstar's own interpreter                          | Every language installed; Emacs Lisp in Emacs          |
 57| Sessions, graphics         | No                                                                | Yes                                                    |
 58| Tangling                   | Yes                                                               | Yes                                                    |
 59| Table formulas             | Those orgstar computes itself                                     | The rest in Emacs as well                              |
 60| Plots                      | Drawn with Swift Charts                                           | gnuplot when installed, else Swift Charts              |
 61| Export                     | HTML, Markdown, PDF, Word, RTF, plain text, iCalendar; publishing | Also PDF through LaTeX, LaTeX, ODT and ASCII, in Emacs |
 62| Settings                   | In the app's container, or a folder you choose                    | =~/.config/orgstar=                                    |
 63| Files outside your folders | After you grant access to their folder                            | Directly                                               |
 64| Attachments                | Copied, or moved from inside your folders                         | Copied, moved, linked or symlinked                     |
 65| Updates                    | The Mac App Store                                                 | Built in, or Homebrew                                  |
 66| orgstar+                   | In-app purchase, shared with iPhone and iPad                      | License key                                            |
 67
 68A block in another language reports "/language/ blocks don't run in this version of
 69orgstar." An Emacs Lisp block that uses more than the interpreter has reports "This block uses
 70Emacs Lisp that runs only in Emacs." A table whose formulas need Emacs reports "This table's
 71formulas can't be calculated here", with the reason, and isn't changed. The Emacs exports are
 72not in the File ▸ Export menu, the export dialog or the command palette; a key bound to
 73Export to PDF with Emacs exports to PDF without LaTeX.
 74
 75** Folders and files
 76
 77The App Store version can open only the folders and files you give it:
 78
 79- Folders you add (File ▸ Add Folder…, or the welcome sheet) and files you open from Finder.
 80  orgstar remembers them across launches.
 81- When something needs a file outside them, such as an =#+INCLUDE:= or =#+SETUPFILE:=, a
 82  tangle target, an export file, a =file:= link, a =:file= result or a publishing folder,
 83  orgstar asks once. Grant Access… opens a folder picker at that folder; choose it, and orgstar
 84  uses that folder and everything in it from then on. An export also offers Save Elsewhere….
 85- A folder that can no longer be opened, for example one on a disk that isn't connected, is
 86  listed under Can't Open in the sidebar, with Grant Access… to choose it again.
 87- =~= in paths and settings means your home folder, as in the download version.
 88- Import from Emacs opens a picker at the configuration it finds and asks for each folder it
 89  adds to the sidebar. For a Doom configuration, Choose Doom Folder… reads Doom's own org
 90  defaults from its installation folder.
 91
 92** Settings
 93
 94The App Store version keeps its settings in its container,
 95=~/Library/Containers/sh.krz.orgstar/Data/.config/orgstar/=. To keep them in
 96=~/.config/orgstar/= instead, for example to share them with the download version, the iOS app
 97or your dotfiles, click Settings ▸ General ▸ Choose Configuration Folder… and choose that
 98folder. If it has no =config.toml=, orgstar writes one with the current settings. Use Default
 99Folder goes back to the container.
100
101* Switching between the two Mac versions
102
103Both versions are called orgstar and have the same bundle identifier. Keep only one of them:
104quit orgstar and delete =orgstar.app= from Applications, or run =brew uninstall --cask
105orgstar=, before installing the other. With both on the Mac, Finder, Quick Look, Spotlight,
106widgets and =org-protocol://= links each use one of them, as macOS picks.
107
108The two don't share their sidebar folders, open files, recovery versions or orgstar+:
109
110- After switching, add your folders again with File ▸ Add Folder….
111- The App Store version's purchase doesn't unlock the download version, and a license key
112  doesn't unlock the App Store version.
113- Recovery versions stay with the version that made them. The App Store version keeps them in
114  =~/Library/Containers/sh.krz.orgstar/Data/Library/Application Support/Orgstar/Recovery/=.
115
116Settings move this way:
117
118- From the download version to the App Store version: your settings stay in
119  =~/.config/orgstar/=. Choose that folder with Choose Configuration Folder… (see /Settings/
120  above).
121- From the App Store version to the download version: if you chose =~/.config/orgstar/=, there
122  is nothing to move. Otherwise copy the files out of the container; =cp -i= asks before
123  replacing a file that is already there:
124
125#+BEGIN_SRC sh
126mkdir -p ~/.config/orgstar
127cp -i ~/Library/Containers/sh.krz.orgstar/Data/.config/orgstar/*.toml ~/.config/orgstar/
128#+END_SRC
129
130* The iOS app
131
132The iPhone and iPad app (iOS 26 or later) is on the [[https://apps.apple.com/us/app/orgstar-org-mode-agenda/id6821552018][App Store]]. The Apple Watch
133app comes with it. The App Store keeps it up to date.
134
135See [[file:guide/14-ios.org][iPhone and iPad]] for what it does.
136
137* Updating
138
139The Mac App Store updates the App Store version. The rest of this section is about the download
140version.
141
142orgstar checks for a new release once a day, after asking on its second launch whether it
143may; orgstar ▸ Check for Updates… checks now, and Settings ▸ General has the switch. An update
144downloads, is checked against the key the releases are signed with, and installs when you
145agree. With Homebrew, =brew upgrade --cask orgstar= works too; the cask leaves updating to the
146app otherwise. From source, pull and build again (a build without a Developer ID never checks):
147
148#+BEGIN_SRC sh
149git pull
150scripts/build-app.sh
151#+END_SRC
152
153Your settings live in =~/.config/orgstar/= and survive rebuilds.
154
155* Uninstalling
156
157Delete =orgstar.app=, or run =brew uninstall --cask orgstar=. To remove your settings as
158well, delete =~/.config/orgstar/= (=brew uninstall --zap --cask orgstar= does both). The App
159Store version keeps its settings, index and recovery versions in
160=~/Library/Containers/sh.krz.orgstar/=, and the widgets' data in
161=~/Library/Group Containers/group.sh.krz.orgstar/=.
162Your org files are never stored inside the app.
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form