GithubHelp home page GithubHelp logo

jaonoctus / nip06-cli Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 4.0 192 KB

NodeJS CLI to generate or restore Nostr NIP-06

Home Page: https://www.npmjs.com/package/nip06-cli

License: MIT License

JavaScript 87.39% TypeScript 5.35% Dockerfile 6.57% Shell 0.68%
bech32 bip32 bip39 cli nip-06 nip06 nostr

nip06-cli's Introduction

nip06-cli

NodeJS CLI to generate or restore Nostr NIP-06

Install

npm i -g nip06-cli

Usage

$ nip06-cli [options] [command]

NodeJS CLI to generate or restore Nostr NIP-06

Options:
  -v, --version   output the version number
  -h, --help      display help for command

Commands:
  random          Generate a random mnemonic
  restore         Restore an existing mnemonic
  help [command]  display help for command

Docker

docker run --rm -it jaonoctus/nip06-cli [options] [command]

nip06-cli's People

Contributors

jaonoctus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nip06-cli's Issues

bad interpreter: /bin/env: no such file or directory

On mac /bin/env shebang does not exist by default, however /usr/bin/env does.

Installing on mac results in bad interpreter: /bin/env: no such file or directory error

Perhaps it'd be better to switch https://github.com/jaonoctus/nip06-cli/blob/master/src/index.ts#L1 from #!/bin/env node to #!/usr/bin/env node since the second is present on both Linux and Mac?

For anyone running into this problem, a quick fix is to change #!/bin/env node to #!/usr/bin/env node in ~/node_installation_location/node/vX.X.X/bin/nip06-cli

On nvm this can be found in ~/.nvm/versions/node/vX.X.X/bin/nip06-cli

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.