From 5817bd1e5bcccde22c48b3007fef5d83dab43cd3 Mon Sep 17 00:00:00 2001 From: gsovereignty Date: Sat, 2 Mar 2024 14:27:27 +0000 Subject: [PATCH] problem: can't buy g-hole repos --- package.json | 5 +- pnpm-lock.yaml | 26 ++++- src/routes/products/+page.svelte | 168 +++++++++++++++++++++++++++---- src/settings.ts | 2 +- 4 files changed, 176 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 69775ef..d6221bc 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@macfja/svelte-persistent-store": "^2.4.0", "@nostr-dev-kit/ndk": "^2.3.3", "@nostr-dev-kit/ndk-cache-dexie": "^2.0.6", - "@nostr-dev-kit/ndk-svelte": "^2.2.4", + "@nostr-dev-kit/ndk-svelte": "^2.2.5", "@nostr-dev-kit/ndk-svelte-components": "^2.2.4", "@types/date-fns": "^2.6.0", "async-mutex": "^0.4.0", @@ -56,6 +56,7 @@ "fast-fuzzy": "^1.12.0", "nostr-tools": "^1.17.0", "showdown": "^2.1.0", - "svelte-forms": "^2.3.1" + "svelte-forms": "^2.3.1", + "webln": "^0.3.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 84f426b..e075255 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ specifiers: '@neoconfetti/svelte': ^1.0.0 '@nostr-dev-kit/ndk': ^2.3.3 '@nostr-dev-kit/ndk-cache-dexie': ^2.0.6 - '@nostr-dev-kit/ndk-svelte': ^2.2.4 + '@nostr-dev-kit/ndk-svelte': ^2.2.5 '@nostr-dev-kit/ndk-svelte-components': ^2.2.4 '@sveltejs/adapter-auto': ^2.1.0 '@sveltejs/adapter-static': ^2.0.3 @@ -42,6 +42,7 @@ specifiers: tslib: ^2.4.1 typescript: ^5.0.0 vite: ^4.4.9 + webln: ^0.3.2 dependencies: '@carbon/charts-svelte': 1.13.30_i4sfgg7s62va6nibgodehj2n2u @@ -66,6 +67,7 @@ dependencies: nostr-tools: 1.17.0_typescript@5.3.3 showdown: 2.1.0 svelte-forms: 2.3.1 + webln: 0.3.2 devDependencies: '@fontsource/fira-mono': 4.5.10 @@ -673,6 +675,12 @@ packages: - supports-color dev: true + /@types/chrome/0.0.74: + resolution: {integrity: sha512-hzosS5CkQcIKCgxcsV2AzbJ36KNxG/Db2YEN/erEu7Boprg+KpMDLBQqKFmSo+JkQMGqRcicUyqCowJpuT+C6A==} + dependencies: + '@types/filesystem': 0.0.35 + dev: false + /@types/cookie/0.5.4: resolution: {integrity: sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA==} dev: true @@ -687,6 +695,16 @@ packages: /@types/estree/1.0.5: resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + /@types/filesystem/0.0.35: + resolution: {integrity: sha512-1eKvCaIBdrD2mmMgy5dwh564rVvfEhZTWVQQGRNn0Nt4ZEnJ0C8oSUCzvMKRA4lGde5oEVo+q2MrTTbV/GHDCQ==} + dependencies: + '@types/filewriter': 0.0.33 + dev: false + + /@types/filewriter/0.0.33: + resolution: {integrity: sha512-xFU8ZXTw4gd358lb2jw25nxY9QAgqn2+bKKjKOYfNCzN4DKCFetK7sPtrlpg66Ywe3vWY9FNxprZawAh9wfJ3g==} + dev: false + /@types/hast/3.0.4: resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} dependencies: @@ -3008,6 +3026,12 @@ packages: engines: {node: '>= 8'} dev: false + /webln/0.3.2: + resolution: {integrity: sha512-YYT83aOCLup2AmqvJdKtdeBTaZpjC6/JDMe8o6x1kbTYWwiwrtWHyO//PAsPixF3jwFsAkj5DmiceB6w/QSe7Q==} + dependencies: + '@types/chrome': 0.0.74 + dev: false + /websocket-polyfill/0.0.3: resolution: {integrity: sha512-pF3kR8Uaoau78MpUmFfzbIRxXj9PeQrCuPepGE6JIsfsJ/o/iXr07Q2iQNzKSSblQJ0FiGWlS64N4pVSm+O3Dg==} dependencies: diff --git a/src/routes/products/+page.svelte b/src/routes/products/+page.svelte index 3ade6e1..b90a3d3 100644 --- a/src/routes/products/+page.svelte +++ b/src/routes/products/+page.svelte @@ -1,38 +1,139 @@

Nostrocket Products

@@ -47,30 +148,55 @@

Githole: one push away from world domination

+ >

G-Hole: one push away from world domination

What you get:

  • A public git repository to use as the home for your project
  • Use all your existing git tooling and workflow
  • No passwords, just your nostr identity
  • -
  • Add maintainers simply by publishing their npubs
  • -
  • inter-operability with any NIP34 client
  • -
  • Zero exit costs, migrate to your own server at any time
  • +
  • Add maintainers simply by adding their npubs
  • +
  • Interoperable with any NIP34 client
  • +
  • + ZERO exit costs - migrate to your own server at any time. All the + comments etc are on nostr. +
+ + {#if created} + +

{repoName} is currently being provisioned

+

Please add relay.nostrocket.org to your relay set and check your DMs, you'll recieve a DM when provisioning is complete!

+
+ {/if} + {#if !created} + {#if requested}{/if} {#if requested}{#if !repoName}Enter Name{:else if !nameOK}CHECK NAME{:else if nameOK}ZAP NOW TO CLAIM {repoName}{/if}{:else}BUY NOW{/if} + {/if}
{/if} diff --git a/src/settings.ts b/src/settings.ts index f31a2ab..c966056 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -80,4 +80,4 @@ export const NewRocketProblem = export const relayHint = "relay.nostrocket.org"; -export const ZAPS_ENABLED = false; \ No newline at end of file +export const ZAPS_ENABLED = true; \ No newline at end of file