Skip to content

Web console to connect to a Linux instance running on a Docker container on a remote server

Notifications You must be signed in to change notification settings

AlvaroParker/web-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebConsole

This project allows you to interact with a Linux machine running on a remote Docker container directly from the browser. To run the project you'll need to run the Go http server on a Linux machine with a user on the docker group.

Screenshot of containers

Screenshot of Container remove

Screenshot of Container creation

Screenshot of web terminal

Screenshot of web editor (rust)

Screenshot of vim in web terminal

Screensshot of user account

How to build (for development)

Run the script to download and install the images used for code editing and the web terminal:

cd images/
./build.sh

Run docker compose to start the Database and the Frontend

docker compose up

Run the Golang backend on your machine, since it needs to connect to the Docker socket of you machine

go run cmd/api/main.go

If you want to make changes to the backend while also running it, you should execute it using gowatch instead:

gowatch -p cmd/api/main.go

How to build (for production)

Todo!

Roadmap

  • Implementing streaming on code running feature. This means that the output of the program will be streamed instead of waiting for the program to end and then send the output on the server
  • Implement markdowns to see tasks, tests, notes, etc while code editing
  • Implement live code editing and saving files on the server

About

Web console to connect to a Linux instance running on a Docker container on a remote server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published