Why Nostr? What is Njump?
2024-07-02 23:24:15

npub18a…l9l0l on Nostr: commit a611f9fa08acce6aa27e940ef9dcc2ff9eee8af4 Author: @RandyMcMillan ...

commit a611f9fa08acce6aa27e940ef9dcc2ff9eee8af4
Author: @RandyMcMillan <[email protected]>
Date: Tue Jan 9 00:05:52 2024 -0500

gnostr.js

diff --git a/gnostr.js b/gnostr.js
deleted file mode 100755
index 351e6ae95..000000000
--- a/gnostr.js
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/usr/bin/env node
-
-var shell = require('shelljs');
-
-if (!shell.which('git')) {
- console.log(shel.which('git'));
- shell.echo('Sorry, this script requires git');
- shell.exit(1);
-}
-// console.log(shell.which('git'));
-if (!shell.which('gnostr')) {
- console.log(shell.which('gnostr'));
- shell.echo('Sorry, this script requires gnostr');
- shell.exit(1);
-}
-// console.log(shell.which('gnostr'));
-if (!shell.which('gnostr-proxy')) {
- console.log(shell.which('gnostr-proxy'));
- shell.echo('Sorry, this script requires gnostr');
- shell.exit(1);
-}
-// console.log(shell.which('gnostr-proxy'));
-if (!shell.which('gnostr-sha256')) {
- console.log(shell.which('gnostr-sha256'));
- shell.echo('Sorry, this script requires gnostr-sha256');
- shell.exit(1);
-}
-// console.log(shell.which('gnostr-sha256'));
-
-var body = shell.exec('gnostr --sec $(gnostr-sha256)');
-//console.log(body);
-
-
-const { argv } = require('node:process');
-const process = require('node:process');
-const path = require('node:path');
-const { cwd } = require('node:process');
-// console.log(`cwd=${cwd()}`);
-
-// print process.argv
-argv.forEach((val, index) => {
-
- if (`${val}` == `-h`)
- { console.log(`HELP!!`); }
- else
- { console.log(`${index}: ${val}`); }
-
-});
Author Public Key
npub18ah72s7x094d4nfhl4qm46d6tj624smfyq8jjqcvlfk0zgqqlq3swl9l0l