
### Set up Tailscale
1. Download and install Tailscale on each device
2. Minimum 2 devices to be set up

### Set up server (Desktop)
1. Obsidian Vault location: C:\Users\Saurabh\Obsidian\Vault
2. Download copyparty from the [Copyparty Releases](https://github.com/9001/copyparty/releases) page.
3. Download copyparty.exe
4. Place the exe file in C:\Server folder
5. Download NSSM service manager
6. Open .zip, in win64 folder, move nssm.exe into C:\Server folder

### Make permanent service via NSSM
1. Open Terminal (Admin) or PowerShell (Admin)
2. Type this command and enter: C:\Server\nssm.exe install Copyparty`
3. **Path:** `C:\Server\copyparty.exe`
4. **Startup Directory:** `C:\Server`
5. **Arguments:** `-v "C:\Path\To\Your\Obsidian\Vault":vault:rw -a admin:yourpassword -p 3923
6. Install service
7. PowerShell command: Start-Service Copyparty

### Firewall access
1. PowerShell command: New-NetFirewallRule -DisplayName "Allow Copyparty" -Direction Inbound -LocalPort 3923 -Protocol TCP -Action Allow

### Local testing on server 
Try opening link on the server (Desktop) itself: http://localhost:3923
If it doesn't load, then Copyparty is not working.

### NSSM edit start stop server
1. Command for STOP: C:\Server\nssm.exe stop Copyparty
2. Command for START: C:\Server\nssm.exe start Copyparty
3. Command for EDIT: C:\Server\nssm.exe edit Copyparty

With this setup, you are able access the folder Vault on the server (Desktop) from any device that's on the same Tailscale network as the server.

### Setup for work device web-access
https://saurabh-precision3650.tail819140.ts.net

1. Enable Tailscale Funnel with this command: tailscale funnel --https=443 localhost:3923
2. Command: tailscale funnel status - Verify status shows as 'available on internet'
3. Make service work in background even when Terminal is closed with command: tailscale funnel --bg --https=443 localhost:3923
4. 
