Code Monkey home page Code Monkey logo

purpleegg's Introduction

PurpleEgg

PurpleEgg is an experiment in taking terminal-centric development to the next level. It's basic features are:

  • Understanding of common project conventions for different languages and frameworks
  • Creating temporary containers to install the dependencies for a project based on a configuration file (pegg.yaml)
  • Creating a terminal user interface where projects are first class, and windows are tied to projects.

Installing via flatpak

If you have flatpak 0.6.13 or later installed on your system, run:

flatpak install https://people.gnome.org/~otaylor/PurpleEgg.flatpakref

Authorizing Docker Commands

PurpleEgg needs the ability to run docker commands on your behalf. Currently, for PurpleEgg to work properly, your user must be added to the docker group. You should realize that if your user is added to the docker group, then you and malicious attacker with access to your user account will be able to execute commands as root with no further authorization. In most development scenarios, uncontrolled access to the user account is as serious as uncontrolled root access, but hopefully we will be able to find a better solution to this issue in the future.

Command line usage

The PurpleEgg command line client is pegg

pegg create <template> <projectname>: create a new project from the specified template. (Currently template is hardcoded to django!)

pegg shell: start a shell in the current directory, adjusting the path to pick up local binaries for Python virtual environments, local npm installs, and so forth. The shell is inside a docker container if pegg.yaml is found.

pegg run: Run an arbitrary command in the environment of pegg shell

License and Copyright

PurpleEgg is copyright Owen Taylor [email protected] and licensed under the terms of the GNU General Public License, version 2 or later.

purpleegg's People

Contributors

owtaylor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

purpleegg's Issues

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.