📜 ⬆️ ⬇️

Own VPN client on JavaScript. Part 2 - Development

PS Each part is a part, by itself it does not make sense to get the necessary context and not to experience cognitive dissonance from the lack of so necessary blocks of text, start reading from part 1

This article is a story rather than a guide to action. But if you still want to develop such an application, remember that you need to have at least minimal web development and development skills on Node.JS , and thoughtfully spend at least 15 minutes on the Electron documentation site.

Part 3 - OpenVPN component

First you need to download and install: Node.js , Git and read: Electron docs .
')
open git bash.



We copy in bash.

git clone https://github.com/JsusDev/JS.VPN-Client.git cd JS.VPN-Client cp app_tmp ../app -r cd ../app npm i yarn -g yarn npm i electron-builder -g 

Your app development begins with the app folder. It has everything you need to create an application.

General project structure:

 JS.VPN-Client │ │ icon.ico │ icon.png │ index.js │ package.json │ yarn.lock │ └───components ├───callback │ ├───configs │ ├───context │ ├───notify │ ├───OpenVPN │ ├───setting │ └───vpn 


Good luck.

Part 3 - OpenVPN component


VPN   JavaScript by JSus

Source: https://habr.com/ru/post/429566/


All Articles