Giter Club home page Giter Club logo

getashell's Introduction

Get A Shell ๐Ÿš

Have you ever wanted to just spin up a quick server that you can ssh into to test something real quick? Well with get a shell you can just spin up the UI select a distro and click Get me a shell! and boom you have an ssh server with your specified distro. No need to spin up vms, run commands or anything harder than a click!

Preview

Warning โš ๏ธ: The project is not unmaintained, i just don't have anything else to add it. If you have a cool idea on what to include open an issue : )

Installation โฌ

The installation is very simple and straight forward. You will firstly need to generate a super secure secret key with openssl. This can be done with this command:

openssl rand -base64 32

Now you simply need to take the output (which will be something like this: 0sWoIgLqYIskcvHbe4mENjj9btHKuOS3vDdYzhob6Mg=) and put it in the docker-compose file in the SECRET_KEY environment variable:

Finally just start the app with this command:

docker compose up -d

Alternatively you can run the application with a simple docker run command, you will still need to run the openssl command and get the secret key though. Here is the full docker run command:

docker run -t -d --name getashell --restart unless-stopped -p 3000:3000 -v ./data:/app/data -v /var/run/docker.sock:/var/run/docker.sock -e SECRET_KEY=verylongsupersecretkeythatnobodywillsee --add-host host.docker.internal:host-gateway ghcr.io/steveiliop56/getashell:latest

Note ๐Ÿ—’๏ธ: If you don't want to run all of these commands you can install the app through Runtipi which will configure everything for you.

Contributing โค๏ธ

As I mentioned above I am fairly new to all these technologies and my code may be probably is terrifying to look at. Any contributions on fixing my mistakes (lol) are welcome. In order to get started follow the Contribution Guide here.

License ๐Ÿ“œ

The project is licensed under the GPL V3 License. You may modify, distribute and copy the code as long as you keep the changes in the source files. Any modifications you make using a compiler must be also licensed under the GPL license and include build and install instructions.

Credits

Nicolas, thank you once again for helping me with workflow and docker stuff lol.

getashell's People

Contributors

dependabot[bot] avatar mrsuttonmann avatar steveiliop56 avatar

Stargazers

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

Watchers

 avatar

Forkers

mrsuttonmann

getashell's Issues

Logger

The app needs a logger for instead of console.log()

Save shell data

As a user I would like to be able to save my shell's data when stopping it or starting it.

Use .env file

As a developer I prefer configuring the app on development/production using a .env file instead of a junky config function.

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.