static image vnc server
please make sure to clone this repo with submodules:
git clone --recurse-submodules https://github.com/amyavi/vnc-girlskissing.git
or run git submodule update --init --recursive
requires libvncserver
instructions:
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)
just add -DBUILD_STATIC=1
to your cmake parameters
note that you will have to go through the hell that is building libvncserver
statically,
if you're not too sure how to do that, look at the dockerfile
here's an example compose.yaml:
services:
vnc:
image: ghcr.io/amyavi/vnc-girlskissing
cap_drop: [ ALL ]
read_only: true
restart: unless-stopped
command: '"amyavi/vnc-girlskissing (docker)"'
volumes: [ ./image.png:/image.png:ro ]
ports: [ '5900:5900/tcp' ]
- put your image in
./image.png
- edit the vnc name
docker compose up
./vnc-girlskissing [image path] [vnc name]
- image path defaults to
image.png
in the current directory - vnc name defaults to
amyavi/vnc-girlskissing