Giter Club home page Giter Club logo

Comments (2)

Eknir avatar Eknir commented on May 30, 2024

If you are intending to release this to users (and not just as a dev-tool), then it would be great if you could also add bee-clef. See https://github.com/ethersphere/bee/tree/master/packaging/docker

Main reason to have bee-clef is because it enhances the security, but for users who want to earn qBZZ's, bee-clef is currently the only ways to get the keys out of Swarm, into Metamask (which will be needed)

from swarm-cli.

nugaon avatar nugaon commented on May 30, 2024

If you are intending to release this to users (and not just as a dev-tool), then it would be great if you could also add bee-cle

Yes, this is exactly that I meant by connecting a single node with full configuration.
I would keep the docker compose yaml format for templates and rather not figure out something new, and these could be stored in CLI's config folder docker.

The solution of course has to be cross-platform solution, ideally the commands should communicate directly with the Docker's API EPs

This swarm-cli docker (...) command should not only start and stop Swarm environments, would be nice to interact with its services on demand, for instance like in the mentioned use-case of @Eknir, export keys from clef.

I can imagine the callable commands somehow like this:

  • swarm-cli docker template import <source> # simple copy-paste from file or even from URL to the config folder place
  • swarm-cli docker template list # list of the currently imported configurations
  • swarm-cli docker template remove [name] # remove template same manner as identity has now
  • swarm-cli docker start [template-name] # if no template-name has been given, it starts a full-featured Bee client (with clef)
  • swarm-cli docker list - print containers only started by swarm-cli with some info (should be think about this particularly at the neccessary metadata design)
  • swarm-cli docker stop [template-name] # stop Swarm environment if it has not started in attached mode
  • swarm-cli docker exec <action> [template-name] # perform predefined common actions against Swarm environment, like export key from clef.

Of course, any other idea can be added or feel free to amend this proposal.

from swarm-cli.

Related Issues (20)

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.