Giter Club home page Giter Club logo

webvpn-converter's Introduction

Web VPN Converter (Web VPN 网址转换工具)

轻松访问校内网络资源,无需繁琐设置,只需粘贴链接,常规网址即刻转化为您学校的Web VPN网址。

  • 立刻使用:https://wrdvpn.vercel.app/
  • 轻松转换 URL
  • 丰富的预设学校数据,并附更换加密密钥功能
  • Bookmarklet小书签,一键转换当前链接
  • 充满活力的主题,兼容各种设备的响应式界面
  • 采用PWA技术,可离线访问

Website preview

Bookmarklet preview

支持的学校

安徽:**科学技术大学、皖南医学院、合肥工业大学、铜陵学院、皖西学院、阜阳师范大学、安徽医科大学、安徽大学、安徽工业大学

北京:北京农学院、清华大学、北京外国语大学、**人民大学、北京邮电大学、北京石油化工学院、北京师范大学、北京理工大学、北京大学、北京航空航天大学、北京化工大学、北京建筑大学、**青年政治学院、**传媒大学、北京工业大学

福建:厦门大学、福建中医药大学

甘肃:甘肃政法大学、甘肃农业大学、西北师范大学、兰州工业学院、兰州大学

广东:广州医科大学、肇庆学院、广州大学、韩山师范学院、广东海洋大学

广西:桂林航天工业学院、河池学院

海南:海南大学

河北:河北环境工程学院、河北医科大学、**人民警察大学、河北地质大学、东北大学秦皇岛分校、河北大学、河北农业大学、河北对外经贸职业学院

河南:洛阳师范学院、郑州轻工业大学、郑州航空工业管理学院

湖北:黄冈师范学院、汉江师范学院、湖北警官学院、武汉理工大学、华中师范大学、湖北大学

湖南:邵阳学院、湖南科技大学、湖南农业大学、吉首大学、树达学院

江苏:南京工程学院、江苏大学、河海大学、无锡学院、常熟理工学院、苏州城市学院、扬州大学、江苏海洋大学、天平学院、苏州科技大学、**药科大学

吉林:吉林大学、长春人文学院

辽宁:渤海大学、大连理工大学、沈阳工程学院、大连工业大学、沈阳农业大学、沈阳建筑大学、辽宁工程技术大学

宁夏:宁夏大学

山东:山东外国语职业技术大学、枣庄学院、济南大学、山东青年政治学院、山东科技大学、济宁学院、山东石油化工学院、山东财经大学、青岛大学、烟台大学、山东大学、潍坊医学院、青岛科技大学

上海:上海海事大学、复旦大学、东华大学、上海工程技术大学、上海交通大学医学院

陕西:西安航空学院、西安科技大学、西安交通大学、西安财经大学、西安理工大学、西安建筑科技大学、西安欧亚学院、西北大学、安康学院

四川:西华师范大学、四川师范大学、四川传媒学院

天津:南开大学、天津城建大学、天津城建大学(教师)

云南:云南大学、云南中医药大学、玉溪师范学院、保山学院

浙江:温州医科大学、嘉兴学院、嘉兴南湖学院、**美术学院、浙江学院、浙江师范大学

没有你的学校?你可以使用自定义功能,或提交 pull request 或 issue,来适配你的学校。

相关文件:递交适配学校 _submit_your_data_here.ts。文件格式如下:

const data: School = {
  province: '上海', // ← 请将学校所在地区填写在此处
  name: '上海交通大学', // ← 请将学校名称填写在此处
  host: 'webvpn.sjtu.edu.cn', // ← 请将 WebVPN 服务网址填写在此处
  crypto_key: '', // ← 请将 key 填写在此处
  crypto_iv: '', // ← 请将 iv 填写在此处
};

Development

git clone https://github.com/lcandy2/webvpn-converter.git
cd webvpn-converter
pnpm i
pnpm dev

Api

This project's API consists of two parts: encryption (encrypt) and decryption (decrypt).

Encrypt API

This API takes a raw URL and encrypts it into a Web VPN URL.

URL : /api/encrypt

Decrypt API

This API takes a Web VPN URL and decrypts it back into a raw URL.

URL : /api/decrypt

API Parameters

Method : GET

  • url : [required] The raw URL to be encrypted or decrypted.
  • host : [required] [only in encrypt] The URL prefix of the generated Web VPN URL.
  • key : [optional] The key used for encryption, defaults to wrdvpnisthebest!.
  • iv : [optional] The initialization vector used for encryption, defaults to wrdvpnisthebest!.

Success Response :

{
  "status": {
    "code": 200
  },
  "url": "encrypted URL or decrypted URL",
  "requestData": {
    "url": "requested URL",
    "host": "URL prefix of the encrypted Web VPN URL",
    "key": "key used for decryption, wrdvpnisthebest! for default",
    "iv": "initialization vector used for decryption, wrdvpnisthebest! for default"
  }
}

Note: When using this API, ensure that the encryption and decryption key and initialization vector are used correctly. If the key or initialization vector is incorrect, the URL may not be encrypted or decrypted successfully.

贡献

欢迎所有的贡献。

Built With and Thanks

Built With

Logo

by DALL·E

Create a simplified website icon focusing on the concepts of 'Web URL', 'academic research', and 'conversion arrow' (optional). The icon should feature a simplified representation of a globe or chain link to symbolize the web, an open book or microscope to represent academic research, and a conversion arrow to indicate the process of transforming URLs. The design should be minimalistic, using clear lines and limited colors to ensure it's easily recognizable and conveys the essence of accessing and converting academic resources online.

Thanks

License

MIT License

Copyright (c) 2024 甜檸Cirtron(lcandy2)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

webvpn-converter's People

Contributors

dependabot[bot] avatar feeshy avatar gavingao2493 avatar github-actions[bot] avatar lcandy2 avatar nagi-ovo avatar yaaannn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

webvpn-converter's Issues

或许可以做成浏览器插件

其实比较常用的工作流是先把文献找到然后再转换到WebVPN,因此比较方便的做法是做一个按钮跳转或者右键跳转。
这样从使用的角度比较方便,而且只会对在真正需要代理的网站精确使用,不会对校园网代理服务产生额外负担。

之前参考其他学校的实现以及原项目做了一个版本,但是没有支持非默认Key,只是给了一个选项用于修改默认VPN链接,大佬如果有心思可以考虑在此基础上改进
https://github.com/Cloudac7/webvpn-converter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.