Code Monkey home page Code Monkey logo

dappy-cli's Introduction

dappy cli large image

Command line interface written in nodeJS that helps you manage a zone in the dappy name system. You can add new TLS certificates (self-signed, no CA), domain names, subdomains and TXT records, vizualize all of your domains in a tree like fashion and much more !

Commands and workflow are explained in the dappy documentation. You may obtain production domains at app.dappy.tech, and test domains for free at gamma.dappy.tech/now.

Commands

npx @fabcotech/dappy-cli init
npx @fabcotech/dappy-cli generateprivatekey
npx @fabcotech/dappy-cli printpublickey

Checking if dappy.config.json is up to date with remote blockchain (dappy network) state.

npx @fabcotech/dappy-cli status

Update all the zones that need to be updated

npx @fabcotech/dappy-cli push

Generating key pairs (openssl must be installed)

# Generate a key pair (cert + key) for all hosts (A or AAAA) inside a domain
npx @fabcotech/dappy-cli generatecerts --domain example.gamma

# Generate a key pair (cert + key) for arbitrary hosts
npx @fabcotech/dappy-cli generatecerts --hosts example.gamma+foo.example.gamma+another.gamma

Apply a CERT record to dappy.config.json.

# Apply to all hosts (A or AAAA record) inside a domain
npx @fabcotech/dappy-cli apply --cert group1.crt --domain example.gamma

# Apply to specific hosts
npx @fabcotech/dappy-cli apply --cert group1.crt --hosts example.gamma+foo.example.gamma+another.gamma

dappy-cli's People

Contributors

fabcotech avatar popul avatar

Stargazers

David Vielhuber avatar  avatar Jeremy Ibanez avatar  avatar Patrick Mockridge avatar Francisco Martin Umpierrez avatar Tomislav Grospić avatar Jim Whitescarver avatar

Watchers

James Cloos avatar  avatar

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.