bit-webvpn-converter
bit-webvpn-converter copied to clipboard
Web VPN converter.
Web VPN Converter
Connect to your local networks in BIT from anywhere in the world.
Demo
API reference
Base
GET /api/<ENCODED_URL>
Note that ENCODED_URL
must be URL encoded.
Optional params
-
prefix
: Must be one ofweb
(default) orlib
. Adds eitherwebvpn.bit.edu.cn
orlibvpn.bit.edu.cn
as prefix to the URL. -
redirect
: Eithertrue
orfalse
(default). Iftrue
, the client will be redirected to the converted/encrypted URL directly.
Example
GET /api/https%3A%2F%2Fbit.edu.cn?prefix=web&redirect=false
{
"url": "https://webvpn.bit.edu.cn/https/77726476706e69737468656265737421f2fe55d222347d1e7d06"
}
Development
pnpm install
pnpm dev
pnpm build
Changelog
-
May 3, 2022
- Add support for forward converter and reverse retrevnoc. -
Apr 29, 2022
- Migrate from Vue to Next.js with Tailwind CSS.