Commit 0e4f9c4ea6

0e4f9c4ea6acb3dd5ea6834c8c08004fef1948a8

parent: 65a97fc9c9

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-14 02:50 UTC

Rename orgstar Pro to orgstar+; gold banner at top of Settings and a redesigned orgstar+ screen

Layout: unified · split

README.org +4 −4
@@ -59,18 +59,18 @@ or download the notarized DMG from the
59[[https://gitbay.org/krz/orgstar/releases][releases page]]. The iPhone and iPad app (iOS 26 59[[https://gitbay.org/krz/orgstar/releases][releases page]]. The iPhone and iPad app (iOS 26
60or later), with its Apple Watch app, is on the [[https://apps.apple.com/us/app/orgstar-org-mode-agenda/id6821552018][App Store]]. 60or later), with its Apple Watch app, is on the [[https://apps.apple.com/us/app/orgstar-org-mode-agenda/id6821552018][App Store]].
61 61
62** orgstar Pro 62** orgstar+
63Editing, the agenda, capture, clocking, tables, search, and HTML and Markdown export are 63Editing, the agenda, capture, clocking, tables, search, and HTML and Markdown export are
64free. Pro adds running and tangling source blocks; PDF, LaTeX, ODT, Word and rich-text export 64free. orgstar+ adds running and tangling source blocks; PDF, LaTeX, ODT, Word and rich-text export
65and publishing; encrypting entries (decrypting stays free); org-roam nodes, daily notes and 65and publishing; encrypting entries (decrypting stays free); org-roam nodes, daily notes and
66backlinks; widgets, the Apple Watch app and the clock Live Activity; Calendar and Reminders in 66backlinks; widgets, the Apple Watch app and the clock Live Activity; Calendar and Reminders in
67the agenda; and Shortcuts actions. 67the agenda; and Shortcuts actions.
68 68
69- iPhone and iPad: in-app, $1.99 a month, $19.99 a year or $39.99 once. 69- iPhone and iPad: in-app, $1.99 a month, $19.99 a year or $39.99 once.
70- Mac: $39.99 once, for a license key from [[https://krz.sh/apps/orgstar/buy][krz.sh/apps/orgstar/buy]], entered in 70- Mac: $39.99 once, for a license key from [[https://krz.sh/apps/orgstar/buy][krz.sh/apps/orgstar/buy]], entered in
71 Settings ▸ Pro. 71 Settings ▸ orgstar+.
72 72
73Anyone who installed orgstar before Pro keeps every feature without buying it. 73Anyone who installed orgstar before orgstar+ keeps every feature without buying it.
74 74
75To build from source, contribute or release (the Mac app and the App Store), see 75To build from source, contribute or release (the Mac app and the App Store), see
76[[file:CONTRIBUTING.org]]. 76[[file:CONTRIBUTING.org]].
Sources/OrgApp/ProAccess.swift +1 −1
@@ -1,7 +1,7 @@
1import Foundation 1import Foundation
2import Observation 2import Observation
3 3
4/// Features that need orgstar Pro. 4/// Features that need orgstar+.
5public enum ProFeature: String, CaseIterable, Sendable, Identifiable { 5public enum ProFeature: String, CaseIterable, Sendable, Identifiable {
6 case babel, export, encryption, roam 6 case babel, export, encryption, roam
7 case widgets, watch, liveActivity, calendar, shortcuts 7 case widgets, watch, liveActivity, calendar, shortcuts
Sources/OrgWatchData/WatchAgenda.swift +1 −1
@@ -74,7 +74,7 @@ public struct WatchAgenda: Codable, Equatable, Sendable {
74 public var clock: Clock? 74 public var clock: Clock?
75 /// The most recently clocked entry, `org-clock-in-last`'s. 75 /// The most recently clocked entry, `org-clock-in-last`'s.
76 public var lastClocked: String? 76 public var lastClocked: String?
77 /// True when the phone hasn't got orgstar Pro, which the Watch app needs. 77 /// True when the phone hasn't got orgstar+, which the Watch app needs.
78 public var locked: Bool? 78 public var locked: Bool?
79 79
80 /// What the phone sends without Pro: no entries. 80 /// What the phone sends without Pro: no entries.
Sources/Orgstar/CaptureIntent.swift +1 −1
@@ -26,7 +26,7 @@ struct CaptureIntent: AppIntent {
26 @MainActor 26 @MainActor
27 func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog { 27 func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog {
28 // Launched for the intent, the window sets the models up shortly. 28 // Launched for the intent, the window sets the models up shortly.
29 guard ProAccess.shared.isUnlocked else { throw Failure(message: "Shortcuts actions need orgstar Pro") } 29 guard ProAccess.shared.isUnlocked else { throw Failure(message: "Shortcuts actions need orgstar+") }
30 for _ in 0..<50 where Self.environment == nil { try? await Task.sleep(for: .milliseconds(100)) } 30 for _ in 0..<50 where Self.environment == nil { try? await Task.sleep(for: .milliseconds(100)) }
31 guard let (workspace, session, clock, commands) = Self.environment else { throw Failure(message: "orgstar isn't ready") } 31 guard let (workspace, session, clock, commands) = Self.environment else { throw Failure(message: "orgstar isn't ready") }
32 let placed = session.capture( 32 let placed = session.capture(
Sources/Orgstar/OrgstarApp.swift +3 −3
@@ -650,7 +650,7 @@ struct SettingsView: View {
650 Tab("Appearance", systemImage: "paintpalette", value: "appearance") { appearance } 650 Tab("Appearance", systemImage: "paintpalette", value: "appearance") { appearance }
651 Tab("Agenda", systemImage: "calendar", value: "agenda") { agenda } 651 Tab("Agenda", systemImage: "calendar", value: "agenda") { agenda }
652 Tab("Capture", systemImage: "tray.and.arrow.down", value: "capture") { capture } 652 Tab("Capture", systemImage: "tray.and.arrow.down", value: "capture") { capture }
653 Tab("Pro", systemImage: "star", value: "pro") { LicenseForm() } 653 Tab("orgstar+", systemImage: "star", value: "pro") { LicenseForm() }
654 } 654 }
655 .frame(width: 600) 655 .frame(width: 600)
656 } 656 }
@@ -846,7 +846,7 @@ struct SettingsView: View {
846 Section { 846 Section {
847 Toggle("Show events from Calendar", isOn: $calendarEvents) 847 Toggle("Show events from Calendar", isOn: $calendarEvents)
848 .disabled(!ProAccess.shared.isUnlocked && !calendarEvents) 848 .disabled(!ProAccess.shared.isUnlocked && !calendarEvents)
849 .help(ProAccess.shared.isUnlocked ? "" : "Needs orgstar Pro") 849 .help(ProAccess.shared.isUnlocked ? "" : "Needs orgstar+")
850 if calendarEvents { 850 if calendarEvents {
851 choices(calendars, empty: CalendarEvents.isAuthorized ? "No calendars." : "Allow orgstar to read your calendars in System Settings ▸ Privacy & Security ▸ Calendars.", setting: $calendarEventCalendars) 851 choices(calendars, empty: CalendarEvents.isAuthorized ? "No calendars." : "Allow orgstar to read your calendars in System Settings ▸ Privacy & Security ▸ Calendars.", setting: $calendarEventCalendars)
852 } 852 }
@@ -861,7 +861,7 @@ struct SettingsView: View {
861 Section { 861 Section {
862 Toggle("Show reminders from Reminders", isOn: $agendaReminders) 862 Toggle("Show reminders from Reminders", isOn: $agendaReminders)
863 .disabled(!ProAccess.shared.isUnlocked && !agendaReminders) 863 .disabled(!ProAccess.shared.isUnlocked && !agendaReminders)
864 .help(ProAccess.shared.isUnlocked ? "" : "Needs orgstar Pro") 864 .help(ProAccess.shared.isUnlocked ? "" : "Needs orgstar+")
865 if agendaReminders { 865 if agendaReminders {
866 choices(reminderLists, empty: ReminderLists.isAuthorized ? "No lists." : "Allow orgstar to read your reminders in System Settings ▸ Privacy & Security ▸ Reminders.", setting: $agendaReminderLists) 866 choices(reminderLists, empty: ReminderLists.isAuthorized ? "No lists." : "Allow orgstar to read your reminders in System Settings ▸ Privacy & Security ▸ Reminders.", setting: $agendaReminderLists)
867 } 867 }
Sources/Orgstar/ProLicense.swift +7 −7
@@ -29,11 +29,11 @@ struct LicenseForm: View {
29 Section { 29 Section {
30 switch access.grant { 30 switch access.grant {
31 case .license: 31 case .license:
32 LabeledContent("orgstar Pro", value: license.map { "Licensed to \($0.email)" } ?? "Licensed") 32 LabeledContent("orgstar+", value: license.map { "Licensed to \($0.email)" } ?? "Licensed")
33 case .grandfathered: 33 case .grandfathered:
34 LabeledContent("orgstar Pro", value: "Included: you used orgstar before Pro") 34 LabeledContent("orgstar+", value: "Included: you used orgstar before orgstar+")
35 case .purchase, nil: 35 case .purchase, nil:
36 LabeledContent("orgstar Pro", value: "Not licensed") 36 LabeledContent("orgstar+", value: "Not licensed")
37 } 37 }
38 } 38 }
39 if access.grant != .license { 39 if access.grant != .license {
@@ -44,7 +44,7 @@ struct LicenseForm: View {
44 .onSubmit(activate) 44 .onSubmit(activate)
45 if let error { Text(error).foregroundStyle(.red) } 45 if let error { Text(error).foregroundStyle(.red) }
46 HStack { 46 HStack {
47 Link("Buy orgstar Pro…", destination: MacPro.buyURL) 47 Link("Buy orgstar+…", destination: MacPro.buyURL)
48 Spacer() 48 Spacer()
49 Button("Activate", action: activate).disabled(key.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty) 49 Button("Activate", action: activate).disabled(key.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty)
50 } 50 }
@@ -60,7 +60,7 @@ struct LicenseForm: View {
60 } 60 }
61 } 61 }
62 } 62 }
63 Section("Included in Pro") { 63 Section("Included in orgstar+") {
64 ForEach(ProFeature.macFeatures) { feature in 64 ForEach(ProFeature.macFeatures) { feature in
65 Label(feature.title, systemImage: feature.systemImage) 65 Label(feature.title, systemImage: feature.systemImage)
66 } 66 }
@@ -91,8 +91,8 @@ struct ProPaywallSheet: View {
91 var body: some View { 91 var body: some View {
92 VStack(alignment: .leading, spacing: 0) { 92 VStack(alignment: .leading, spacing: 0) {
93 VStack(alignment: .leading, spacing: 6) { 93 VStack(alignment: .leading, spacing: 6) {
94 Label("\(feature.title) needs orgstar Pro", systemImage: feature.systemImage).font(.headline) 94 Label("\(feature.title) needs orgstar+", systemImage: feature.systemImage).font(.headline)
95 Text("Pro is a one-time purchase of $39.99 for this Mac. Editing, the agenda, capture, clocking and search stay free.") 95 Text("orgstar+ is a one-time purchase of $39.99 for this Mac. Editing, the agenda, capture, clocking and search stay free.")
96 .foregroundStyle(.secondary) 96 .foregroundStyle(.secondary)
97 } 97 }
98 .padding([.horizontal, .top], 20) 98 .padding([.horizontal, .top], 20)
Sources/OrgstarMobile/CaptureIntent.swift +1 −1
@@ -23,7 +23,7 @@ struct CaptureIntent: AppIntent {
23 23
24 @MainActor 24 @MainActor
25 func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog { 25 func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog {
26 guard ProAccess.shared.isUnlocked else { throw Failure(message: "Shortcuts actions need orgstar Pro") } 26 guard ProAccess.shared.isUnlocked else { throw Failure(message: "Shortcuts actions need orgstar+") }
27 let model = MobileModel.shared 27 let model = MobileModel.shared
28 guard let workspace = model.workspace else { throw Failure(message: model.failure ?? "orgstar isn't ready") } 28 guard let workspace = model.workspace else { throw Failure(message: model.failure ?? "orgstar isn't ready") }
29 let placed = model.session.capture( 29 let placed = model.session.capture(
Sources/OrgstarMobile/ExportMenu.swift +1 −1
@@ -122,7 +122,7 @@ struct ExportMenu: View {
122 Menu("Export", systemImage: "square.and.arrow.up") { 122 Menu("Export", systemImage: "square.and.arrow.up") {
123 ForEach(OrgExport.Format.allCases, id: \.self) { format in 123 ForEach(OrgExport.Format.allCases, id: \.self) { format in
124 if format.locked { 124 if format.locked {
125 Button("\(format.name) (Pro)") { ProAccess.shared.allows(.export) } 125 Button("\(format.name) (orgstar+)") { ProAccess.shared.allows(.export) }
126 } else { 126 } else {
127 let export = OrgExport(text: text, path: path, format: format, settings: OrgPreferences.orgSettings(), 127 let export = OrgExport(text: text, path: path, format: format, settings: OrgPreferences.orgSettings(),
128 codeStyle: HTMLCodeStyle(highlighter: MobileEditor.highlighter, theme: model.theme)) 128 codeStyle: HTMLCodeStyle(highlighter: MobileEditor.highlighter, theme: model.theme))
Sources/OrgstarMobile/ProStore.swift +100 −21
@@ -4,7 +4,7 @@ import StoreKit
4import SwiftUI 4import SwiftUI
5import UIKit 5import UIKit
6 6
7/// orgstar Pro from the App Store: a monthly or yearly subscription, or a lifetime purchase. It 7/// orgstar+ from the App Store: a monthly or yearly subscription, or a lifetime purchase. It
8/// keeps `ProAccess.shared` current; installs from before Pro keep it without buying. 8/// keeps `ProAccess.shared` current; installs from before Pro keep it without buying.
9@MainActor @Observable 9@MainActor @Observable
10final class ProStore { 10final class ProStore {
@@ -103,14 +103,37 @@ final class ProStore {
103 do { 103 do {
104 try await AppStore.sync() 104 try await AppStore.sync()
105 await refresh() 105 await refresh()
106 if !ProAccess.shared.isUnlocked { message = "No orgstar Pro purchase was found for this Apple Account." } 106 if !ProAccess.shared.isUnlocked { message = "No orgstar+ purchase was found for this Apple Account." }
107 } catch { 107 } catch {
108 message = "Restore didn't finish. \(error.localizedDescription)" 108 message = "Restore didn't finish. \(error.localizedDescription)"
109 } 109 }
110 } 110 }
111} 111}
112 112
113/// What Pro includes, its prices, and buying, restoring or managing it. 113/// orgstar+'s gold, for its banner in Settings and its screen.
114extension ShapeStyle where Self == LinearGradient {
115 static var plusGold: LinearGradient {
116 LinearGradient(
117 colors: [Color(red: 1.0, green: 0.84, blue: 0.36), Color(red: 0.86, green: 0.6, blue: 0.12)],
118 startPoint: .topLeading, endPoint: .bottomTrailing)
119 }
120}
121
122/// The gold star that marks orgstar+.
123struct PlusBadge: View {
124 var size: CGFloat = 46
125
126 var body: some View {
127 Image(systemName: "star.fill")
128 .font(.system(size: size * 0.48, weight: .semibold))
129 .foregroundStyle(.white)
130 .frame(width: size, height: size)
131 .background(.plusGold, in: .rect(cornerRadius: size * 0.24))
132 .accessibilityHidden(true)
133 }
134}
135
136/// What orgstar+ includes, its prices, and buying, restoring or managing it.
114struct ProScreen: View { 137struct ProScreen: View {
115 /// The feature that led here, if any. 138 /// The feature that led here, if any.
116 var feature: ProFeature? 139 var feature: ProFeature?
@@ -122,17 +145,30 @@ struct ProScreen: View {
122 var body: some View { 145 var body: some View {
123 Form { 146 Form {
124 Section { 147 Section {
125 VStack(alignment: .leading, spacing: 6) { 148 VStack(spacing: 10) {
149 PlusBadge(size: 76)
150 .shadow(color: .orange.opacity(0.35), radius: 14, y: 6)
151 Text(verbatim: "orgstar+").font(.largeTitle.bold())
126 if let feature, !access.isUnlocked { 152 if let feature, !access.isUnlocked {
127 Text("\(feature.title) needs orgstar Pro.").font(.headline) 153 Text("\(feature.title) needs orgstar+.").font(.headline)
128 } 154 }
129 Text(status).foregroundStyle(.secondary) 155 Text(status).foregroundStyle(.secondary)
130 } 156 }
157 .multilineTextAlignment(.center)
158 .frame(maxWidth: .infinity)
159 .padding(.vertical, 6)
131 } 160 }
161 .listRowBackground(Color.clear)
132 Section { 162 Section {
133 ForEach(ProFeature.allCases) { Label($0.title, systemImage: $0.systemImage) } 163 ForEach(ProFeature.allCases) { feature in
164 Label {
165 Text(feature.title)
166 } icon: {
167 Image(systemName: feature.systemImage).foregroundStyle(.plusGold)
168 }
169 }
134 } header: { 170 } header: {
135 Text("Included in Pro") 171 Text("Included in orgstar+")
136 } footer: { 172 } footer: {
137 Text("Editing, the agenda, capture, clocking, tables and search stay free.") 173 Text("Editing, the agenda, capture, clocking, tables and search stay free.")
138 } 174 }
@@ -142,16 +178,12 @@ struct ProScreen: View {
142 ProgressView().frame(maxWidth: .infinity) 178 ProgressView().frame(maxWidth: .infinity)
143 } 179 }
144 ForEach(store.products) { product in 180 ForEach(store.products) { product in
145 Button { Task { await store.buy(product) } } label: { 181 Button { Task { await store.buy(product) } } label: { plan(product) }
146 LabeledContent { 182 .tint(.primary)
147 Text(product.displayPrice + period(product)).monospacedDigit() 183 .disabled(store.busy || product.id == store.activeProductID)
148 } label: {
149 Text(product.displayName)
150 if product.id == store.activeProductID { Text("Current plan") }
151 }
152 }
153 .disabled(store.busy || product.id == store.activeProductID)
154 } 184 }
185 } header: {
186 Text("Choose a plan")
155 } footer: { 187 } footer: {
156 Text("Subscriptions renew automatically until cancelled in your Apple Account settings, at least 24 hours before the period ends.") 188 Text("Subscriptions renew automatically until cancelled in your Apple Account settings, at least 24 hours before the period ends.")
157 } 189 }
@@ -168,17 +200,64 @@ struct ProScreen: View {
168 Section { Text(message).foregroundStyle(.secondary) } 200 Section { Text(message).foregroundStyle(.secondary) }
169 } 201 }
170 } 202 }
171 .navigationTitle("orgstar Pro") 203 .navigationTitle(Text(verbatim: "orgstar+"))
172 .navigationBarTitleDisplayMode(.inline) 204 .navigationBarTitleDisplayMode(.inline)
173 .manageSubscriptionsSheet(isPresented: $managing) 205 .manageSubscriptionsSheet(isPresented: $managing)
174 .task { await store.loadProducts() } 206 .task { await store.loadProducts() }
175 } 207 }
176 208
177 private var status: String { 209 /// One plan: its name, an optional savings tag, what it bills, and its price.
210 private func plan(_ product: Product) -> some View {
211 HStack(alignment: .firstTextBaseline) {
212 VStack(alignment: .leading, spacing: 3) {
213 HStack(spacing: 6) {
214 Text(product.displayName).font(.headline)
215 if let percent = savings(product) {
216 Text("Save \(percent)%")
217 .font(.caption.bold())
218 .foregroundStyle(.white)
219 .padding(.horizontal, 7)
220 .padding(.vertical, 2)
221 .background(.plusGold, in: .capsule)
222 }
223 }
224 detail(product).font(.subheadline).foregroundStyle(.secondary)
225 }
226 Spacer()
227 Text(product.displayPrice + period(product))
228 .font(.headline)
229 .monospacedDigit()
230 .foregroundStyle(Color.accentColor)
231 }
232 .padding(.vertical, 4)
233 }
234
235 private func detail(_ product: Product) -> Text {
236 if product.id == store.activeProductID { return Text("Current plan") }
237 switch product.id {
238 case ProStore.monthly: return Text("Billed monthly")
239 case ProStore.yearly:
240 let perMonth = (product.price / 12).formatted(product.priceFormatStyle)
241 return Text("\(perMonth) a month, billed yearly")
242 default: return Text("One payment, no subscription")
243 }
244 }
245
246 /// How much the yearly plan saves against twelve months, in whole percent.
247 private func savings(_ product: Product) -> Int? {
248 guard product.id == ProStore.yearly,
249 let monthly = store.products.first(where: { $0.id == ProStore.monthly }), monthly.price > 0
250 else { return nil }
251 let ratio = NSDecimalNumber(decimal: product.price / (monthly.price * 12)).doubleValue
252 let percent = Int((1 - ratio) * 100)
253 return percent > 0 ? percent : nil
254 }
255
256 private var status: LocalizedStringKey {
178 switch access.grant { 257 switch access.grant {
179 case .grandfathered: "Pro is included: you downloaded orgstar before Pro. Thank you." 258 case .grandfathered: "Included, because you downloaded orgstar before orgstar+ existed. Thank you."
180 case .purchase: store.activeProductID == ProStore.lifetime ? "You own orgstar Pro." : "Your orgstar Pro subscription is active." 259 case .purchase: store.activeProductID == ProStore.lifetime ? "You own orgstar+. Thank you for supporting orgstar." : "Your orgstar+ subscription is active. Thank you for supporting orgstar."
181 case .license, nil: "Pro adds power features and Apple integrations." 260 case .license, nil: "Power features and Apple integrations, on top of everything that stays free."
182 } 261 }
183 } 262 }
184 263
Sources/OrgstarMobile/SettingsScreen.swift +39 −5
@@ -25,6 +25,14 @@ struct SettingsScreen: View {
25 25
26 var body: some View { 26 var body: some View {
27 Form { 27 Form {
28 Section {
29 NavigationLink {
30 ProScreen()
31 } label: {
32 ProBanner()
33 }
34 }
35 .listRowBackground(ProBanner.rowBackground)
28 Section { 36 Section {
29 LabeledContent("Folder", value: model.configFolder?.lastPathComponent ?? String(localized: "none.folder", defaultValue: "None", comment: "No configuration folder chosen")) 37 LabeledContent("Folder", value: model.configFolder?.lastPathComponent ?? String(localized: "none.folder", defaultValue: "None", comment: "No configuration folder chosen"))
30 Button(model.configFolder == nil ? "Choose Folder…" : "Choose Another Folder…") { choosing = true } 38 Button(model.configFolder == nil ? "Choose Folder…" : "Choose Another Folder…") { choosing = true }
@@ -127,11 +135,6 @@ struct SettingsScreen: View {
127 LabeledContent("Font", value: font) 135 LabeledContent("Font", value: font)
128 } 136 }
129 Section { 137 Section {
130 NavigationLink {
131 ProScreen()
132 } label: {
133 Label("orgstar Pro", systemImage: "star")
134 }
135 NavigationLink { 138 NavigationLink {
136 AboutScreen(appIcon: appIcon) 139 AboutScreen(appIcon: appIcon)
137 } label: { 140 } label: {
@@ -292,6 +295,37 @@ struct SettingsScreen: View {
292 .joined(separator: "; ") 295 .joined(separator: "; ")
293 } 296 }
294} 297}
298/// The orgstar+ row at the top of Settings.
299private struct ProBanner: View {
300 private var access: ProAccess { .shared }
301
302 static var rowBackground: some View {
303 ZStack {
304 Color(uiColor: .secondarySystemGroupedBackground)
305 LinearGradient.plusGold.opacity(0.22)
306 }
307 }
308
309 var body: some View {
310 HStack(spacing: 14) {
311 PlusBadge()
312 VStack(alignment: .leading, spacing: 3) {
313 Text(verbatim: "orgstar+").font(.headline)
314 Group {
315 if access.isUnlocked {
316 Text("Unlocked. Thanks for supporting orgstar.")
317 } else {
318 Text("Export, encryption, widgets, the Watch app and more")
319 }
320 }
321 .font(.subheadline)
322 .foregroundStyle(.secondary)
323 }
324 }
325 .padding(.vertical, 6)
326 }
327}
328
295/// The configuration folder's `config.toml` as plain text, saved when you tap Save or leave. 329/// The configuration folder's `config.toml` as plain text, saved when you tap Save or leave.
296struct ConfigFileEditor: View { 330struct ConfigFileEditor: View {
297 let model: MobileModel 331 let model: MobileModel
Sources/OrgstarWatch/WatchApp.swift +1 −1
@@ -99,7 +99,7 @@ struct AgendaList: View {
99 var body: some View { 99 var body: some View {
100 if link.agenda?.locked == true { 100 if link.agenda?.locked == true {
101 ScrollView { 101 ScrollView {
102 Text("The Watch app needs orgstar Pro. Get it in orgstar on your iPhone, in Settings.") 102 Text("The Watch app needs orgstar+. Get it in orgstar on your iPhone, in Settings.")
103 .foregroundStyle(.secondary) 103 .foregroundStyle(.secondary)
104 } 104 }
105 .navigationTitle("Today") 105 .navigationTitle("Today")
Sources/OrgstarWidgets/HabitsWidget.swift +1 −1
@@ -53,7 +53,7 @@ struct HabitsView: View {
53 if let snapshot = entry.snapshot, !snapshot.habits.isEmpty { 53 if let snapshot = entry.snapshot, !snapshot.habits.isEmpty {
54 content(snapshot) 54 content(snapshot)
55 } else { 55 } else {
56 Text(entry.snapshot == nil ? !widgetsLocked ? "Open orgstar to show your habits here." : "Widgets need orgstar Pro." : "No habits in the agenda. Give an entry STYLE: habit.") 56 Text(entry.snapshot == nil ? !widgetsLocked ? "Open orgstar to show your habits here." : "Widgets need orgstar+." : "No habits in the agenda. Give an entry STYLE: habit.")
57 .font(.caption) 57 .font(.caption)
58 .foregroundStyle(.secondary) 58 .foregroundStyle(.secondary)
59 .frame(maxWidth: .infinity, maxHeight: .infinity) 59 .frame(maxWidth: .infinity, maxHeight: .infinity)
Sources/OrgstarWidgets/TodayWidget.swift +1 −1
@@ -25,7 +25,7 @@ struct TodayView: View {
25 if let snapshot = entry.snapshot { 25 if let snapshot = entry.snapshot {
26 content(snapshot) 26 content(snapshot)
27 } else { 27 } else {
28 Text(!widgetsLocked ? "Open orgstar to show your agenda here." : "Widgets need orgstar Pro.") 28 Text(!widgetsLocked ? "Open orgstar to show your agenda here." : "Widgets need orgstar+.")
29 .font(.caption) 29 .font(.caption)
30 .foregroundStyle(.secondary) 30 .foregroundStyle(.secondary)
31 .frame(maxWidth: .infinity, maxHeight: .infinity) 31 .frame(maxWidth: .infinity, maxHeight: .infinity)
Sources/OrgstarWidgets/UpNextWidget.swift +1 −1
@@ -64,7 +64,7 @@ struct UpNextView: View {
64 } else { 64 } else {
65 VStack(alignment: .leading, spacing: 0) { 65 VStack(alignment: .leading, spacing: 0) {
66 Text("Agenda").font(.headline).widgetAccentable() 66 Text("Agenda").font(.headline).widgetAccentable()
67 Text(entry.snapshot == nil ? !widgetsLocked ? "Open orgstar" : "Needs orgstar Pro" : "Nothing left today").font(.body) 67 Text(entry.snapshot == nil ? !widgetsLocked ? "Open orgstar" : "Needs orgstar+" : "Nothing left today").font(.body)
68 } 68 }
69 .frame(maxWidth: .infinity, alignment: .leading) 69 .frame(maxWidth: .infinity, alignment: .leading)
70 } 70 }
ios/AppStore/metadata.md +2 −2
@@ -40,7 +40,7 @@ AND MORE
40- Themes and settings read from the same configuration folder as the Mac app 40- Themes and settings read from the same configuration folder as the Mac app
41 41
42ORGSTAR PRO 42ORGSTAR PRO
43Editing, the agenda, capture, clocking, tables and search are free. Pro, monthly, yearly or as a one-time lifetime purchase, adds: 43Editing, the agenda, capture, clocking, tables and search are free. orgstar+, monthly, yearly or as a one-time lifetime purchase, adds:
44- Running and tangling source blocks 44- Running and tangling source blocks
45- PDF, Word and rich text export 45- PDF, Word and rich text export
46- Encrypted entries 46- Encrypted entries
@@ -48,7 +48,7 @@ Editing, the agenda, capture, clocking, tables and search are free. Pro, monthly
48- Widgets, the Apple Watch app and the clock Live Activity 48- Widgets, the Apple Watch app and the clock Live Activity
49- Calendar events and reminders in the agenda 49- Calendar events and reminders in the agenda
50- Shortcuts actions 50- Shortcuts actions
51Everyone who downloaded orgstar before Pro keeps all of it. 51Everyone who downloaded orgstar before orgstar+ keeps all of it.
52 52
53## Keywords 53## Keywords
54 54
ios/Orgstar.storekit +8 −8
@@ -18,13 +18,13 @@
18 "internalID": "6700000003", 18 "internalID": "6700000003",
19 "localizations": [ 19 "localizations": [
20 { 20 {
21 "description": "orgstar Pro, once, for good", 21 "description": "orgstar+, once, for good",
22 "displayName": "Pro Lifetime", 22 "displayName": "orgstar+ Lifetime",
23 "locale": "en_US" 23 "locale": "en_US"
24 } 24 }
25 ], 25 ],
26 "productID": "sh.krz.orgstar.pro.lifetime", 26 "productID": "sh.krz.orgstar.pro.lifetime",
27 "referenceName": "Pro Lifetime", 27 "referenceName": "orgstar+ Lifetime",
28 "type": "NonConsumable" 28 "type": "NonConsumable"
29 } 29 }
30 ], 30 ],
@@ -44,7 +44,7 @@
44 { 44 {
45 "id": "21600001", 45 "id": "21600001",
46 "localizations": [], 46 "localizations": [],
47 "name": "orgstar Pro", 47 "name": "orgstar+",
48 "subscriptions": [ 48 "subscriptions": [
49 { 49 {
50 "adHocOffers": [], 50 "adHocOffers": [],
@@ -57,13 +57,13 @@
57 "localizations": [ 57 "localizations": [
58 { 58 {
59 "description": "Power features and Apple integrations", 59 "description": "Power features and Apple integrations",
60 "displayName": "Pro Yearly", 60 "displayName": "orgstar+ Yearly",
61 "locale": "en_US" 61 "locale": "en_US"
62 } 62 }
63 ], 63 ],
64 "productID": "sh.krz.orgstar.pro.yearly", 64 "productID": "sh.krz.orgstar.pro.yearly",
65 "recurringSubscriptionPeriod": "P1Y", 65 "recurringSubscriptionPeriod": "P1Y",
66 "referenceName": "Pro Yearly", 66 "referenceName": "orgstar+ Yearly",
67 "subscriptionGroupID": "21600001", 67 "subscriptionGroupID": "21600001",
68 "type": "RecurringSubscription", 68 "type": "RecurringSubscription",
69 "winbackOffers": [] 69 "winbackOffers": []
@@ -79,13 +79,13 @@
79 "localizations": [ 79 "localizations": [
80 { 80 {
81 "description": "Power features and Apple integrations", 81 "description": "Power features and Apple integrations",
82 "displayName": "Pro Monthly", 82 "displayName": "orgstar+ Monthly",
83 "locale": "en_US" 83 "locale": "en_US"
84 } 84 }
85 ], 85 ],
86 "productID": "sh.krz.orgstar.pro.monthly", 86 "productID": "sh.krz.orgstar.pro.monthly",
87 "recurringSubscriptionPeriod": "P1M", 87 "recurringSubscriptionPeriod": "P1M",
88 "referenceName": "Pro Monthly", 88 "referenceName": "orgstar+ Monthly",
89 "subscriptionGroupID": "21600001", 89 "subscriptionGroupID": "21600001",
90 "type": "RecurringSubscription", 90 "type": "RecurringSubscription",
91 "winbackOffers": [] 91 "winbackOffers": []
packaging/license-issuer/buy.html +1 −1
@@ -1,7 +1,7 @@
1<!-- The Buy button for krz.sh/apps/orgstar/buy (the domain Paddle approves). Fill in the client 1<!-- The Buy button for krz.sh/apps/orgstar/buy (the domain Paddle approves). Fill in the client
2 token and price ID; after checkout the buyer lands on the Worker's page with their key. --> 2 token and price ID; after checkout the buyer lands on the Worker's page with their key. -->
3<script src="https://cdn.paddle.com/paddle/v2/paddle.js"></script> 3<script src="https://cdn.paddle.com/paddle/v2/paddle.js"></script>
4<button id="buy">Buy orgstar Pro for Mac, $39.99</button> 4<button id="buy">Buy orgstar+ for Mac, $39.99</button>
5<script> 5<script>
6 const ISSUER = "https://orgstar-license.REPLACE_ME.workers.dev/license"; 6 const ISSUER = "https://orgstar-license.REPLACE_ME.workers.dev/license";
7 Paddle.Initialize({ 7 Paddle.Initialize({
packaging/license-issuer/worker.js +5 −5
@@ -24,7 +24,7 @@ export default {
24 const { data } = await response.json(); 24 const { data } = await response.json();
25 const paid = data.status === "completed" || data.status === "paid"; 25 const paid = data.status === "completed" || data.status === "paid";
26 const forOrgstar = data.items?.some((item) => item.price?.id === env.PRICE_ID); 26 const forOrgstar = data.items?.some((item) => item.price?.id === env.PRICE_ID);
27 if (!paid || !forOrgstar) return page("That transaction isn't a completed orgstar Pro purchase.", 404); 27 if (!paid || !forOrgstar) return page("That transaction isn't a completed orgstar+ purchase.", 404);
28 28
29 const key = await sign( 29 const key = await sign(
30 { e: data.customer?.email ?? "", t: txn, i: Math.floor(Date.parse(data.billed_at ?? data.created_at) / 1000) }, 30 { e: data.customer?.email ?? "", t: txn, i: Math.floor(Date.parse(data.billed_at ?? data.created_at) / 1000) },
@@ -32,8 +32,8 @@ export default {
32 ); 32 );
33 if (url.searchParams.get("format") === "text") return new Response(key + "\n"); 33 if (url.searchParams.get("format") === "text") return new Response(key + "\n");
34 return page( 34 return page(
35 `<p>Your orgstar Pro license key:</p><pre>${key}</pre>` + 35 `<p>Your orgstar+ license key:</p><pre>${key}</pre>` +
36 `<p>In orgstar, open Settings ▸ Pro, paste the key and choose Activate. Keep this page or the key; ` + 36 `<p>In orgstar, open Settings ▸ orgstar+, paste the key and choose Activate. Keep this page or the key; ` +
37 `the same link shows it again.</p>`, 37 `the same link shows it again.</p>`,
38 200, 38 200,
39 ); 39 );
@@ -54,8 +54,8 @@ function base64url(bytes) {
54 54
55function page(body, status) { 55function page(body, status) {
56 const html = `<!doctype html><meta charset="utf-8"><meta name="viewport" content="width=device-width">` + 56 const html = `<!doctype html><meta charset="utf-8"><meta name="viewport" content="width=device-width">` +
57 `<title>orgstar Pro</title><style>body{font:16px/1.5 system-ui;max-width:40rem;margin:3rem auto;padding:0 1rem}` + 57 `<title>orgstar+</title><style>body{font:16px/1.5 system-ui;max-width:40rem;margin:3rem auto;padding:0 1rem}` +
58 `pre{white-space:pre-wrap;word-break:break-all;background:#f4f4f4;padding:1rem;border-radius:6px}</style>` + 58 `pre{white-space:pre-wrap;word-break:break-all;background:#f4f4f4;padding:1rem;border-radius:6px}</style>` +
59 `<h1>orgstar Pro</h1>${body.startsWith("<") ? body : `<p>${body}</p>`}`; 59 `<h1>orgstar+</h1>${body.startsWith("<") ? body : `<p>${body}</p>`}`;
60 return new Response(html, { status, headers: { "content-type": "text/html; charset=utf-8" } }); 60 return new Response(html, { status, headers: { "content-type": "text/html; charset=utf-8" } });
61} 61}
packaging/license-issuer/wrangler.toml +1 −1
@@ -5,5 +5,5 @@ compatibility_date = "2026-10-01"
5[vars] 5[vars]
6# https://sandbox-api.paddle.com while testing. 6# https://sandbox-api.paddle.com while testing.
7PADDLE_API = "https://api.paddle.com" 7PADDLE_API = "https://api.paddle.com"
8# The orgstar Pro (Mac) price, pri_… 8# The orgstar+ (Mac) price, pri_…
9PRICE_ID = "pri_REPLACE_ME" 9PRICE_ID = "pri_REPLACE_ME"