Merge pull request 'add-vscodium' (#3) from add-vscodium into main

Reviewed-on: #3
This commit is contained in:
Pierre Guillod 2024-03-30 22:25:23 +01:00
commit ee5b694855
7 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,5 @@
## Whats changed
## ⬆️ Backend bumps
- ⬆️ Bump to openvscode 1.87.1

View file

@ -0,0 +1,33 @@
# Home Assistant Slowtech Add-on: Open Visual Studio Code (staging)
This is an Home Assistant add-on that packages [_Open Visual Studio Code_][openvscode], a fully-featured IDE.
## Installation
1. Add the _addons_ repository to your Home Assistant instance's repositories list. (See README.md file in the parent directory.)
1. Follow [Home Assistant's instructions][hassio-install-addon] to install the add-on.
## Configuration
The port on which the web interface is exposed can be changed in the _Configuration_ tab, under _Network_.
Note that this parameter is independent from the _Ingress_ integration. Providing `null` as a port will make the add-on only exposed through the _Ingress_ integration.
## Changelog & Releases
The add-on versioning follows the [docker container's versioning][dockerhub-releases].
## Support
This repository does not accept inquiries for the moment.
## Authors & contributors
The original setup of this repository and packaging work is by Pierre Guillod.
The backend software is developped by [Gitpod][github-gitpod].
[openvscode]: https://www.gitpod.io/blog/openvscode-server-launch
[hassio-install-addon]: https://www.home-assistant.io/addons/
[github-gitpod]: https://github.com/gitpod-io
[dockerhub-releases]: https://hub.docker.com/r/gitpod/openvscode-server

View file

@ -0,0 +1,5 @@
FROM gitpod/openvscode-server
# Matches Home Assistant's persistent directory.
RUN rm -rf /home/workspace
RUN ln -s /home/workspace /data

View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2015 - present Microsoft Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -0,0 +1,19 @@
name: "Open Visual Studio Code (staging)"
description: "Fully open source version of Visual Studio Code Server"
version: "0.0.1"
slug: "openvscode-staging"
startup: services
ingress: true
ingress_port: 3000
ingress_stream: true
panel_icon: mdi-code-array
panel_admin: false
init: false
arch:
- aarch64
- amd64
startup: before
ports:
3000/tcp: 3000
ports_description:
3000/tcp: Web interface (Set to `null` for Ingress-only operation.)

BIN
openvscode-staging/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
openvscode-staging/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB