Windscribe VPN is great, I need it everywhere, but I don't have an integration for my travel router. My router supports oVPN and WireGuard configs, however, windscribe makes it difficult to get all the configs together as a single zip file. Instead you have to download each config individually. This is a pain.
I am playing with bun.js these days, so that is what you get.
bun install
Step 1: Modify the config.ts
file to include your configs found on the windscribe website
Step 2: Make sure to copy the ws_session_auth_hash
cookie from the windscribe website and paste it into the config.ts
file under authSessionHash
Step 3: Run the script
bun run index.ts
Step 4: You should have all configs in ./output
directory. You can now zip them up and upload them to your router.
Windscribe is smart, has this API rate limited, so you can only download 20 configs per minute-ish. This script will automatically wait and retry till all configs are downloaded and validated.
This project was created using bun init
in bun v0.6.1. Bun is a fast all-in-one JavaScript runtime.