Skip to content

Pioneer141/buct-webvpn-converter

 
 

Repository files navigation

Web VPN Converter

Connect to your local networks in BUCT from anywhere in the world.

Demo

screenshot

API reference

Base

GET /api/<ENCODED_URL>

Note that ENCODED_URL must be URL encoded.

Optional params

  • prefix: Must be one of web (default) or lib. Adds either webvpn.buct.edu.cn or libvpn.buct.edu.cn as prefix to the URL.
  • redirect: Either true or false (default). If true, the client will be redirected to the converted/encrypted URL directly.

Example

GET /api/https%3A%2F%2Fbuct.edu.cn?prefix=web&redirect=false
{
  "url": "https://webvpn.buct.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.

About

🔀 WEBVPN url converter for BUCT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 97.4%
  • JavaScript 2.3%
  • CSS 0.3%