CONTRIBUTING.org

v0.6.0
orgstar/CONTRIBUTING.org rendered · source · history · blame · raw

75 lines · 3074 bytes

Contributing

Status

Design phases 1–7 are built. The Mac app is released as a notarized DMG and a Homebrew cask, with Sparkle updates. The iOS and watchOS apps build from the Xcode project for the Simulator and for a device signed with your own team; device signing and TestFlight for releases are not set up (issue 8). Owed: the M1 Air gate run (issue 2) and the VoiceOver passes on the Mac and iOS (issues 3 and 4).

docs/design.md is the design; docs/plans/ has one plan per piece of work.

Build and run

Requires macOS 26 and Xcode 27 (Swift 6.2 tools).

scripts/build-app.sh          # builds .build/app/orgstar.app, signed ad hoc
open .build/app/orgstar.app

Add a folder with File > Add Folder… (⇧⌘O). ⌘P opens a file by name, ⇧⌘F searches, ⇧⌘A shows the agenda. In the editor, TAB on a heading cycles its folding and Shift-TAB cycles the whole file. orgstar opens .org files from Finder once the app has been launched.

C-c C-v t tangles the file's source blocks into the files their :tangle header names, as org-babel-tangle does.

org-protocol://capture?template=…&url=…&title=…&body=… and org-protocol://store-link?url=…&title=… links work as in Emacs, so browser bookmarklets written for org-protocol work unchanged. Shortcuts has a "Capture to orgstar" action that files text with a capture template.

Settings live in ~/.config/orgstar/config.toml (orgstar ▸ Edit Config File), with keys in keymap.toml and capture templates in capture.toml beside it. Settings ▸ General ▸ Import from Emacs reads an existing Emacs or Doom configuration.

iOS

The iOS app (iOS 26) is the "Orgstar iOS" scheme in ios/Orgstar.xcodeproj, with the share and Quick Look extensions. It builds from the package's sources and signs automatically with the team set in the project; choose a device or Simulator and Run. For the Simulator without Xcode:

scripts/build-ios-app.sh      # builds .build/ios-app/orgstar.app
xcrun simctl install booted .build/ios-app/orgstar.app

On iOS, orgstar in the share sheet takes a page or text with a template; the app opens its capture sheet with it when it's next active. Shortcuts has the same "Capture to orgstar" action as on the Mac.

Tests

swift test                                                 # all tests
ORGSTAR_GATES=1 swift test -c release --filter GateTests   # performance gates

Release

scripts/release-mac.sh <version> builds a universal app, signs it with the keychain's Developer ID, notarizes a DMG, tags v<version>, uploads the DMG to the gitbay release and updates the cask in krz/homebrew-tap.

Set ORGSTAR_NOTES to an HTML file of release notes for the appcast, which Sparkle's update window shows, and ORGSTAR_RELEASE_NOTES to a Markdown file for the gitbay release. Without them both get the one-line platform note.

App Store header

ios/AppStore/header.html renders the product page headers; the commands are in the comment at the top of the file.