Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phith0n/projector-runner
Run Swing based GUI application within the Docker container through the Jetbrains Projector, and access it from browsers.
https://github.com/phith0n/projector-runner
docker jetbrains swing
Last synced: 21 days ago
JSON representation
Run Swing based GUI application within the Docker container through the Jetbrains Projector, and access it from browsers.
- Host: GitHub
- URL: https://github.com/phith0n/projector-runner
- Owner: phith0n
- Created: 2021-04-10T19:55:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-10T21:35:15.000Z (over 3 years ago)
- Last Synced: 2024-08-05T17:45:41.918Z (3 months ago)
- Topics: docker, jetbrains, swing
- Language: Shell
- Homepage: https://hub.docker.com/repository/docker/tuwen/projector
- Size: 57.6 KB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - phith0n/projector-runner - Run Swing based GUI application within the Docker container through the Jetbrains Projector, and access it from browsers. (Shell)
README
# Jetbrains Projector Docker Runner
Run Swing based GUI application within the Docker container through the [Jetbrains Projector](https://github.com/JetBrains/projector-server), and access it from browsers.
## Usage
The easiest way to start a Swing GUI application inside a docker container is through the pre-built Docker image [tuwen/projector](https://hub.docker.com/repository/docker/tuwen/projector):
```
docker run -it --rm --name projector \
-p 8887:8887 \
-v /path/to/swing-gui-application.jar:/opt/projector/swing-gui-application.jar \
tuwen/projector swing-gui-application.jar
```When the server is launched, you can open `localhost:8887` in the browser to access the app.
Specify the launching Main-Class for the jar archive:
```
docker run -it --rm --name projector \
-p 8887:8887 \
-v /path/to/swing-gui-application.jar:/opt/projector/swing-gui-application.jar \
tuwen/projector swing-gui-application.jar org.example.Main
```## Demo
A demo for [Godzilla](https://github.com/BeichenDream/Godzilla):
![](demo.png)
## License
Same as Jetbrains Projector.