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