Author SHA1 Message Date
ztimson 22985b6230 Update install.sh
Code review / review (pull_request) Successful in 31s
2026-09-14 16:25:08 -04:00
ztimson 9b5bf5d2fb Merge pull request 'Update src/server.mjs' (#6) from ztimson-patch-6 into master
Reviewed-on: #6
2026-09-14 16:11:01 -04:00
ztimson daaa53790a Update src/server.mjs
Code review / review (pull_request) Successful in 32s
2026-09-14 16:10:55 -04:00
ztimson a2afcfa7bd Merge pull request 'ztimson-patch-5' (#5) from ztimson-patch-5 into master
Reviewed-on: #5
2026-09-14 16:06:33 -04:00
ztimson b9ebb149ef Update package.json
Code review / review (pull_request) Successful in 1m21s
2026-09-14 16:06:24 -04:00
ztimson cfcbccf152 Update install.sh 2026-09-14 16:06:11 -04:00
3 changed files with 10 additions and 3 deletions
+8 -1
View File
@@ -7,6 +7,13 @@ curl -sL https://git.zakscode.com/ztimson/fallback-ap/raw/branch/master/install.
# VNC
sudo raspi-config nonint do_vnc 0
cat <<EOF | sudo tee /etc/wayvnc/config
use_relative_paths=true
address=127.0.0.1
enable_auth=false
enable_pam=false
relax_encryption=true
EOF
# Node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.7/install.sh | bash
@@ -14,7 +21,7 @@ source ~/.bashrc
nvm install stable && nvm use stable
# Install Homecast
cd /tbd
mkdir /app && cd /app
git clone https://git.zakscode.com/ztimson/homecast.git .
npm i
mkdir -p certs
+1 -1
View File
@@ -4,7 +4,7 @@
"description": "The Homebrew Chromecast",
"main": "src/server.mjs",
"scripts": {
"start": "node server.mjs"
"start": "node src/server.mjs"
},
"keywords": [],
"author": "",
+1 -1
View File
@@ -8,7 +8,7 @@ import {fileURLToPath} from 'node:url';
import {WebSocketServer} from 'ws';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const NOVNC = path.join(__dirname, 'node_modules/@novnc/novnc');
const NOVNC = path.join(__dirname, '../node_modules/@novnc/novnc');
const PORT = process.env['PORT'] || 3000;
const VNC_HOST = '127.0.0.1';
const VNC_PORT = 5900;