Coder Social home page Coder Social logo

commodoreprime / vscode-oss-container-reh-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11 KB

Remote Exension Host server startup helper for use with containers. Targets OSS builds of VSCode

License: MIT License

Shell 100.00%
bash containers development distrobox vscode-oss remote-extension

vscode-oss-container-reh-server's Introduction

Remote Extension Host Server Automatic Initalizer For Containers For VSCode OSS Builds

Implements REH server initalization, updating and startup for containers, targets Linux based systems.

Sort of "inspired by" devcontainers in that it attempts to reach toward the same end goal. Targeted toward OSS builds of VSCode.

NOTICE

There are some caveats to using these scripts:

  1. There is no functionality to stop the REH server
    • A possible solution is to either:
      1. Stop the container as a whole.
      2. or wrap the vscode executable (for flatpak, put said wrapper path in the --command flag).
  2. These scripts are somewhat fragile, testings have been done. Just, be wary. An extension is in the the works, see future plans

Installation

This is essentially made up of only shell scripts, for the time being. Only a few prerequisites are needed:

package additional notes
bash
distrobox https://github.com/89luca89/distrobox
make Only for automatic installation (more below)
vscode any OSS and proprietary build should work (as well as their Flatpak counterparts)

Manual

  1. Copy the contents of bin/ to wherever you want, just make sure PATH is set to include the files.
  2. Copy share/remote.oss.update.vscodium-reh.sh to either /usr/local/share/ or ~/.local/share/.

Flatpaks

Optionally, in order to intergrate better with the flatpak version of vscode builds you can copy com.vscodium.codium.desktop and com.vscodium.codium-url-handler.desktop from /var/lib/flatpak/exports/share/applications/ to ~/.local/share/applications and modify the Exec lines to be Exec=codium <...>.

Future plans

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.