Improved attribution; re-added sub licences since unsure how this repackage/repo needs to comply otherwise

This commit is contained in:
2026-01-05 13:00:35 -06:00
parent 48deb314a5
commit 38951379a4
14 changed files with 272 additions and 33 deletions

View File

@@ -2,11 +2,12 @@
## Credit
* https://github.com/mkslanc/websockets-ls
* https://github.com/lspcontainers/dockerfiles/servers
* https://github.com/lspcontainers/dockerfiles/
## Overview
This repo provides a primary Dockerfile (with additional example standalone LSP Dockler files from `lspcontainers`) that packages a number of LSPs and tools into a container along with the src/ folder code.
The code under src/ comes from `websockets-ls` and has been cleaned up and formatted to my style/asthetics as well as modified server list.
This repo provides a primary Dockerfile with additional examples that are seperate in form and structure but useful for reference.
LSP Docker files under `reference-servers` are from `lspcontainers`project that packages a number of LSPs.
The code under src/ comes from `websockets-ls` and has been cleaned up and formatted to my style/asthetics as well as modified server list. (I.E NO structural changes)
The code creates a WebSocket bridge to interface with multiple Language Servers through clients via a single WebSocket connection.
It supports various language servers concurrently and handles language-specific file extensions and initialization parameters.
@@ -20,7 +21,18 @@ It supports various language servers concurrently and handles language-specific
- Temporary file creation for `textDocument/didOpen` events.
## Usage
##### Setup 1:
##### Option 1:
1. Install Podman.
2. Create `opt/` folder in `Docker/` and add any additional programs (lsps) there.
3. Configure the desired language servers in `src/defaultServers.js`.
3. Configure the start script at `Docker/scripts/start.sh` with any additional env args or mount points.
4. Run from `Newton-LSP/` `Docker/build.sh` .
5. Run `Docker/scripts/start.sh`
6. Connect to the WebSocket server on `ws://localhost:9999/<language_endpoint>`.
7. Transmit LSP messages via the WebSocket connection.
##### Option 2:
1. Install Node.js.
2. Run 'npm install'.
@@ -29,17 +41,6 @@ It supports various language servers concurrently and handles language-specific
5. Connect to the WebSocket server on `ws://localhost:9999/<language_endpoint>`.
6. Transmit LSP messages via the WebSocket connection.
##### Setup 2:
1. Install Podman.
2. Create `opt/` folder in `Docker/` and add any additional programs there.
3. Configure the desired language servers in `src/defaultServers.js`.
3. Configure the start script at `Docker/scripts/start.sh` with abny additional env args or mount points.
4. Run from `Newton-LSP/` `Docker/build.sh` .
5. Run `Docker/scripts/start.sh`
6. Connect to the WebSocket server on `ws://localhost:9999/<language_endpoint>`.
7. Transmit LSP messages via the WebSocket connection.
## Configuration
Add or modify language server configurations in `languageServers.js`: