Rebrand Nostore to Nostash and set minimum deployment to iOS 18.0

This commit is contained in:
2025-04-06 23:13:17 -04:00
committed by Terry Yiu
parent 4bc7bf4214
commit 261003b876
87 changed files with 505 additions and 383 deletions

View File

@@ -1,20 +1,38 @@
{
"colors": [
{
"color": {
"color-space": "display-p3",
"components": {
"alpha": "1.000",
"blue": "0.665",
"green": "0.271",
"red": "0.509"
}
},
"idiom": "universal"
"colors" : [
{
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue": "0.368",
"green": "0.215",
"red": "0.098"
}
],
"info": {
"author": "xcode",
"version": 1
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0.384",
"green" : "0.717",
"red" : "0.878"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -1,74 +1,74 @@
{
"images": [
{
"filename": "iOS-Icon-1024.png",
"idiom": "universal",
"platform": "ios",
"size": "1024x1024"
},
{
"filename": "Icon-16.png",
"idiom": "mac",
"scale": "1x",
"size": "16x16"
},
{
"filename": "Icon-32.png",
"idiom": "mac",
"scale": "2x",
"size": "16x16"
},
{
"filename": "Icon-32 1.png",
"idiom": "mac",
"scale": "1x",
"size": "32x32"
},
{
"filename": "Icon-64.png",
"idiom": "mac",
"scale": "2x",
"size": "32x32"
},
{
"filename": "Icon-128.png",
"idiom": "mac",
"scale": "1x",
"size": "128x128"
},
{
"filename": "Icon-256.png",
"idiom": "mac",
"scale": "2x",
"size": "128x128"
},
{
"filename": "Icon-256 1.png",
"idiom": "mac",
"scale": "1x",
"size": "256x256"
},
{
"filename": "Icon-512.png",
"idiom": "mac",
"scale": "2x",
"size": "256x256"
},
{
"filename": "Icon-512 1.png",
"idiom": "mac",
"scale": "1x",
"size": "512x512"
},
{
"filename": "Icon-1024.png",
"idiom": "mac",
"scale": "2x",
"size": "512x512"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "Icon-1024 1.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"filename" : "Icon-16.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"filename" : "Icon-32.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"filename" : "Icon-32 1.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"filename" : "Icon-64.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"filename" : "Icon-128.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"filename" : "Icon-256.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"filename" : "Icon-256 1.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"filename" : "Icon-512.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"filename" : "Icon-512 1.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"filename" : "Icon-1024.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

View File

@@ -1,6 +1,6 @@
{
"info": {
"author": "xcode",
"version": 1
}
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "Icon-512.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "Icon-512.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 306 KiB

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "ipad-menu.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "ipad-menu.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "ipad-popup.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "ipad-popup.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -1,6 +1,6 @@
{
"info": {
"author": "xcode",
"version": 1
}
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "iphone-menu.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "iphone-menu.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 KiB

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "iphone-popup.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "iphone-popup.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "iphone-url-bar.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "iphone-url-bar.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "default-popup.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "Screenshot 2025-04-07 at 12.33.47AM.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

View File

@@ -1,21 +1,21 @@
{
"images": [
{
"filename": "toolbar-inactive.png",
"idiom": "universal",
"scale": "1x"
},
{
"idiom": "universal",
"scale": "2x"
},
{
"idiom": "universal",
"scale": "3x"
}
],
"info": {
"author": "xcode",
"version": 1
"images" : [
{
"filename" : "Screenshot 2025-04-07 at 12.08.45AM.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -16,20 +16,20 @@
<script src="../Script.js" defer></script>
</head>
<body>
<img src="../Icon.png" width="128" height="128" alt="Nostore Icon" />
<img src="../Icon.png" width="128" height="128" alt="Nostash Icon" />
<p class="platform-ios">
You can turn on Nostores Safari extension in Settings.
You can turn on Nostashs Safari extension in Settings.
</p>
<p class="platform-mac state-unknown">
You can turn on Nostores extension in Safari Extensions
You can turn on Nostashs extension in Safari Extensions
preferences.
</p>
<p class="platform-mac state-on">
Nostores extension is currently on. You can turn it off in Safari
Nostashs extension is currently on. You can turn it off in Safari
Extensions preferences.
</p>
<p class="platform-mac state-off">
Nostores extension is currently off. You can turn it on in Safari
Nostashs extension is currently off. You can turn it on in Safari
Extensions preferences.
</p>
<button class="platform-mac open-preferences">

View File

@@ -1,6 +1,6 @@
//
// GettingStartedMac.swift
// Nostore
// Nostash
//
// Created by Ryan Breen on 2/18/23.
//
@@ -17,7 +17,7 @@ struct GettingStartedMac: View {
.font(.title)
.foregroundColor(.accentColor)
Text("")
Text("Upon installation of the app, open Safari. Click on the **Safari menu -> Settings... -> Extensions tab** and activate the **Nostore** extension. You will now see the Nostore icon in your Safari toolbar. For example:")
Text("Upon installation of the app, open Safari. Click on the **Safari menu -> Settings... -> Extensions tab** and activate the **Nostash** extension. You will now see the Nostash icon in your Safari toolbar. For example:")
.padding([.horizontal, .top], 20)
Image("macos-toolbar-inactive")
@@ -28,9 +28,9 @@ struct GettingStartedMac: View {
.padding([.top])
Text("""
On the right, you can see the Nostore logo, and it is gray (or **inactive**). This means that it does not have permission to access the current website.
On the right, you can see the Nostash logo, and it is gray (or **inactive**). This means that it does not have permission to access the current website.
The first time you visit a Nostr client, you will need to click the icon to give Nostore permission to access the site.
The first time you visit a Nostr client, you will need to click the icon to give Nostash permission to access the site.
Once active, the icon will become colored and you can select it again, where you will be greeted with a similar popup:
""").multilineTextAlignment(.leading)

View File

@@ -1,6 +1,6 @@
//
// GettingStartediPad.swift
// Nostore
// Nostash
//
// Created by Ryan Breen on 2/18/23.
//
@@ -18,7 +18,7 @@ struct GettingStartediPad: View {
.foregroundColor(.accentColor)
Text("")
Text("""
Upon installation of the app, go to **Settings -> Safari -> Extensions** and enable **Nostore**. Open Safari and look in the toolbar, where you will see the \(Image(systemName: "puzzlepiece.extension")) icon:
Upon installation of the app, go to **Settings -> Safari -> Extensions** and enable **Nostash**. Open Safari and look in the toolbar, where you will see the \(Image(systemName: "puzzlepiece.extension")) icon:
""")
.padding([.horizontal, .top], 20)
@@ -39,7 +39,7 @@ Upon installation of the app, go to **Settings -> Safari -> Extensions** and ena
.padding([.top])
Text("""
The **Nostore** logo is gray, indicating the extension is inactive for this site, and must be activated first. Click on the button, and give Nostore permission to access the current site. Now the Nostore logo will appear in color, and you can click it again to access the extension.
The **Nostash** logo is gray, indicating the extension is inactive for this site, and must be activated first. Click on the button, and give Nostash permission to access the current site. Now the Nostash logo will appear in color, and you can click it again to access the extension.
""").multilineTextAlignment(.leading)
.padding([.horizontal, .top], 20)

View File

@@ -1,6 +1,6 @@
//
// GettingStartediPhone.swift
// Nostore
// Nostash
//
// Created by Ryan Breen on 2/18/23.
//
@@ -17,7 +17,7 @@ struct GettingStartediPhone: View {
.font(.title)
.foregroundColor(.accentColor)
Spacer(minLength: 20.0)
Text("Upon installation of the app, goto **Settings -> Safari -> Extension** and enable the **Nostore** extension. Then open Safari and look in the toolbar, where you will see the \(Image(systemName: "textformat.size")) icon:")
Text("Upon installation of the app, goto **Settings -> Safari -> Extension** and enable the **Nostash** extension. Then open Safari and look in the toolbar, where you will see the \(Image(systemName: "textformat.size")) icon:")
.padding([.horizontal, .top], 20)
Image("iphone-url-bar")
@@ -37,7 +37,7 @@ struct GettingStartediPhone: View {
.padding([.top])
Text("""
The **Nostore** logo is gray, indicating the extension is inactive for this site, and must be activated first. Click on the button, and give Nostore permission to access the current site. Now the Nostore logo will appear in color, and you can click it again to access the extension.
The **Nostash** logo is gray, indicating the extension is inactive for this site, and must be activated first. Click on the button, and give Nostash permission to access the current site. Now the Nostash logo will appear in color, and you can click it again to access the extension.
""").multilineTextAlignment(.leading)
.padding([.horizontal, .top], 20)

View File

@@ -1,6 +1,6 @@
//
// MainView.swift
// Nostore
// Nostash
//
// Created by Ryan Breen on 2/17/23.
//
@@ -12,7 +12,7 @@ struct MainView: View {
VStack {
NavigationStack {
Image("bigicon").resizable().frame(width: 150.0, height: 150.0)
Text("Nostore").font(.title)
Text("Nostash").font(.title)
Text("A Safari Nostr Extension").font(.title2)
NavigationLink("Privacy Policy") {
PrivacyPolicyView()

View File

@@ -1,6 +1,6 @@
//
// NostoreApp.swift
// Nostore
// NostashApp.swift
// Nostash
//
// Created by Ryan Breen on 2/17/23.
//
@@ -8,9 +8,9 @@
import SwiftUI
@main
struct NostoreApp: App {
struct NostashApp: App {
var body: some Scene {
WindowGroup("Nostore") {
WindowGroup("Nostash") {
MainView()
}
#if macOS

View File

@@ -1,6 +1,6 @@
//
// PrivacyPolicyView.swift
// Nostore
// Nostash
//
// Created by Ryan Breen on 2/17/23.
//
@@ -15,11 +15,11 @@ struct PrivacyPolicyView: View {
.foregroundColor(.accentColor)
Spacer(minLength: 20)
Text("""
**Nostore** is developed in the spirit of Nostr.
**Nostash** is developed in the spirit of Nostr.
You, the user, own your data. The developers of this app collect no data, anonymous or otherwise.
This code of this application is fully auditable and available on our [GitHub page](https://github.com/tyiu/nostore).
This code of this application is fully auditable and available on our [GitHub page](https://github.com/tyiu/nostash).
""").multilineTextAlignment(.leading)
}.padding(.all)
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 306 KiB

View File

@@ -3,13 +3,13 @@ function show(platform, enabled, useSettingsInsteadOfPreferences) {
if (useSettingsInsteadOfPreferences) {
document.getElementsByClassName('platform-mac state-on')[0].innerText =
'Nostores extension is currently on. You can turn it off in the Extensions section of Safari Settings.';
'Nostashs extension is currently on. You can turn it off in the Extensions section of Safari Settings.';
document.getElementsByClassName('platform-mac state-off')[0].innerText =
'Nostores extension is currently off. You can turn it on in the Extensions section of Safari Settings.';
'Nostashs extension is currently off. You can turn it on in the Extensions section of Safari Settings.';
document.getElementsByClassName(
'platform-mac state-unknown'
)[0].innerText =
'You can turn on Nostores extension in the Extensions section of Safari Settings.';
'You can turn on Nostashs extension in the Extensions section of Safari Settings.';
document.getElementsByClassName(
'platform-mac open-preferences'
)[0].innerText = 'Quit and Open Safari Settings…';

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -1,6 +1,6 @@
//
// TipsAndTricks.swift
// Nostore
// Nostash
//
// Created by Ryan Breen on 2/19/23.
//

View File

@@ -16,7 +16,7 @@ import SafariServices
typealias PlatformViewController = NSViewController
#endif
let extensionBundleIdentifier = "xyz.tyiu.nostore.Extension"
let extensionBundleIdentifier = "xyz.tyiu.nostash.Extension"
class ViewController: PlatformViewController, WKNavigationDelegate, WKScriptMessageHandler {