[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Private Internet Access (PIA) VPN region chooser in Emacs
From: |
Leo Butler |
Subject: |
Re: Private Internet Access (PIA) VPN region chooser in Emacs |
Date: |
Fri, 05 Mar 2021 11:23:16 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
It sounds interesting.
TRS-80 <lists.trs-80@isnotmyreal.name> writes:
> Hello *,
>
> Some months ago, I had written for myself a completing-read style VPN
> location chooser, implementing PIA's most recent API.
>
> They do publish some F/LOSS shell scripts[0] to do this, but they
> automatically choose for you the "closest/fastest" region, instead of
> allowing you to choose your exit point.
>
> Of course, preferring not to leave Emacs anyway, I implemented in
> Elisp a few functions which first fetch the list of exit points, and
> extract the relevant bits using jq. Then a connect function will
> present them to you in completing-read style so you can choose a
> region, and then connect. Disconnecting and changing regions is also
> supported. It's pretty basic, but it does what I need.
>
> I have been using this for some months now without issue. Publishing
> them publicly would involve a minimal amount of polish and writing a
> README, which I could be bothered to do if there is enough interest.
>
> Cheers,
> TRS-80
>
> [0] https://github.com/pia-foss/manual-connections