unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Leo Butler <leo.butler@umanitoba.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Private Internet Access (PIA) VPN region chooser in Emacs
Date: Fri, 05 Mar 2021 11:23:16 -0600	[thread overview]
Message-ID: <867dmlbjln.fsf@x201.butler.org> (raw)
In-Reply-To: <d9a01193f3ed8dbdf4eacfdc84a0d618@isnotmyreal.name> (TRS's message of "Thu, 04 Mar 2021 12:28:14 -0500")

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



      reply	other threads:[~2021-03-05 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 17:28 Private Internet Access (PIA) VPN region chooser in Emacs TRS-80
2021-03-05 17:23 ` Leo Butler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=867dmlbjln.fsf@x201.butler.org \
    --to=leo.butler@umanitoba.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).