A simple project using react-vpn-detector
to check if a user is connected via VPN.
- Detect VPN usage.
- Easy to use.
- Lightweight.
-
Clone the repository:
git clone https://github.com/erfan-esmkhan/vpn-detect
-
Go to the project folder:
cd vpn-detect
-
Install dependencies:
npm i
-
Start the development server:
npm start
react-vpn-detector
checks the user's IP address and matches it with known VPN providers. The useVpnDetector
hook returns true
if a VPN is detected, otherwise false
.
Contributions are welcome! Open an issue or create a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add a feature'
). - Push your branch (
git push origin feature/YourFeature
). - Open a pull request.
- react-vpn-detector for the core functionality.
- The open-source community for their support.
Feel free to reach out if you have any questions or need help!