47 lines
1.1 KiB
Markdown
47 lines
1.1 KiB
Markdown
# yet another screenshare shitpost (yass)
|
|
|
|
Ever wanted to share your screen for your friends?
|
|
|
|
Now you can! (Even on Linux and even with application audio!) 🗿🗿🗿🗿
|
|
|
|
Deploying this shit is as easy as…
|
|
|
|
…doing this on the server
|
|
|
|
```bash
|
|
git clone gitea@git.lat:naimi/yass.git
|
|
cat <<EOF > .env
|
|
BROADCASTER_PASSWORD=usedecentpasswordherelmao
|
|
ANNOUNCED_IP=yourpublicIP
|
|
EOF
|
|
docker compose up -d --build
|
|
```
|
|
|
|
…and setting up a minimal nginx server
|
|
|
|
```nginx
|
|
location / {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
}
|
|
```
|
|
|
|
You might want to open 40000:49999/udp on your firewall for it to work properly.
|
|
|
|
On PC:
|
|
|
|
```bash
|
|
git clone gitea@git.lat:naimi/yass.git
|
|
cd yass/client
|
|
npm i
|
|
npm run start
|
|
```
|
|
|
|

|