Skip to content

goastian/midorivpn-extension

 
 

Repository files navigation

Midorivpn-extension

Chrome Firefox Vue.js Pinia Webpack License

A modern and lightweight VPN extension built with Vue, Pinia, and Webpack, compatible with Chrome and Firefox. It provides traffic redirection through configurable HTTP/S proxy servers and allows easy configuration switching based on the environment (development, production) and the browser.

🚀 Key Features

  • 🔐 Traffic redirection through proxies (VPN mode).
  • 🌍 Cross-platform support: Chrome and Firefox.
  • ⚙️ Dynamic configuration using .env files.
  • 📦 Automated build with Webpack + ready-to-publish ZIP.
  • 💾 Persistent storage using Pinia + chrome.storage.
  • 🧩 Modern interface built with Vue 3.

🖥️ Demo / Preview

Extension Preview

watch demo on YouTube


🏁 Getting Started

This section will help you set up the VPN Extension project on your local machine for development and testing purposes.

✅ Prerequisites

Make sure you have the following installed on your system:

  • Node.js (v16 or higher)
  • npm
  • A Chromium-based browser (e.g. Chrome, Edge) or Firefox

To verify if you have Node.js and npm installed:

node -v
npm -v

If not installed, download and install them from the official website.


🧰 Local Installation and Setup

This section explains how to clone the repository and run the project in local development mode.

📥 Clone the repository

git clone https://github.com/goastian/midorivpn-extension
cd midorivpn-extension

📦 Install dependencies

Use npm to install the required packages:

npm install

⚙️ Environment Configuration (.env)

Copy the example file .env.example and rename it to .env:

cp .env.example .env

Inside the .env file, configure the necessary variables. For example:

BROWSER=firefox
APP_ENV=development

🚧 Run in development mode

This command builds the extension and keeps a watcher active to automatically reload files when changes are made:

npm run dev //The generated files will be in the dist/ folder.

📦 Build for production

This command optimizes and generates the files ready for publishing or packaging:

npm run build

🙌 Ready to use!

With these steps, you have your environment set up to develop, test, and build your own multiplatform VPN extension.


Built with ❤️ using Vue, Pinia, and Webpack


Packages

No packages published

Languages

  • JavaScript 42.8%
  • Vue 31.5%
  • TypeScript 24.6%
  • Other 1.1%