Repository navigation
Conversation
- Add store screenshots - Drop redundant country subtitle; add first store screenshot - Rewrite README for the store listing - Switch flags to MIT-licensed source, add changelog, finalize name - Add settings actions: port forwarding, LAN access, protocol - Never change PIA settings or connect without an explicit user action - Bundle flags, cache catalog, validate region ids, show disconnect feedback - Single toggle command; cut background polling cost - Private Internet Access extension for Raycast
|
Congratulations on your new Raycast extension! 🚀 We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
Greptile SummaryAdds a new Private Internet Access extension.
Confidence Score: 5/5The PR appears safe to merge. No blocking failures remain within the scope of the previous review threads. Important Files Changed
Reviews (3): Last reviewed commit: "Don\'t let a stale Connected reading con..." | Re-trigger Greptile |
- Make settings reachable from every row - Never treat an unreadable piactl value as a real one
0xdhrv
left a comment
There was a problem hiding this comment.
Thanks for your contribution 🔥
We already have an extension in the Store that covers the same core functionality:
Both extensions use Raycast to control Private Internet Access, including connecting and disconnecting the VPN, checking connection state, browsing available regions, and connecting to a selected region.
The existing extension already provides:
- Connect and disconnect commands
- Connection and region status
- A searchable list of PIA regions
- Connecting directly to a selected region
- Showing the currently connected region
This PR adds some useful capabilities:
- Richer region metadata with country flags, geo-location, and port-forwarding availability
- Favorites and recently used regions
- Port-forwarding status and forwarded-port access
- PIA settings such as protocol, LAN access, and port forwarding
- Toggle and reconnect-to-most-recent commands
However, these appear to be substantial enhancements to the existing PIA extension rather than a separate primary workflow.
The existing command IDs could also remain available for backward compatibility, so adding these capabilities would not necessarily require breaking users' current hotkeys or workflows.
Could we consider contributing the richer region browser, favorites/recents, port-forwarding support, and settings controls to the existing extension instead?
This would help avoid duplication and keep Private Internet Access controls consolidated in one extension.
As mentioned in our extension guidelines here ↗
|
Happy to consolidate, you're right that keeping the existing command IDs removes the backward-compatibility concern I raised, so a separate extension isn't justified. I'll rework this as a contribution to pia-controls: keeping connect, disconnect, status and connectToRegion as-is so existing hotkeys keep working, upgrading connectToRegion into the richer region browser, and adding toggle and connect-recent alongside them. Two things worth flagging since it's a substantial change to @Yakitrak's extension: Most of utils.ts would be rewritten, mainly because the region model has to carry country code, port-forwarding and geo flags (sourced from PIA's server catalog rather than the piactl slug list), and because connection state becomes an enum rather than a boolean so unreadable states aren't reported as "disconnected". I'd like @Yakitrak to weigh in on the approach before I push it. It includes some correctness fixes beyond the new features, e.g. piactl read failures currently resolve to "disconnected" in status, and region display names are derived from the slug rather than PIA's catalog (srilanka gives "Srilanka" rather than "Sri Lanka"). Should I convert this PR in place, or close it and open a fresh one against extensions/pia-controls? |
Yeah, feel free to create a new PR for the existing extension, and I will prioritise it |
Description
A new extension for Private Internet Access, built on
piactl, PIA'sofficial command-line interface. It brings the full region catalog into
Raycast with country flags, live connection status, port-forwarding support,
favorites, and hotkey-friendly commands.
Commands
Why a separate extension rather than a contribution to
pia-controlsThe store guidelines allow a new extension when changes "would be significant
and potentially disrupt existing workflows" and the extension "works standalone
and brings something new."
This is a ground-up rewrite with a different command set and architecture.
Folding it into
pia-controlswould rename that extension's commands and breakhotkeys its users have already bound, which seemed worse for its users than
shipping alongside it. What's new here:
shown and copyable
country but the server is hosted elsewhere
piactl get pubipreturns theISP-assigned address and does not change while the tunnel is up. Showing
it as the connected IP would display the user's real home address, so this
extension shows
vpnipwhen connected and only shows the public IP whendisconnected, labelled as unprotected.
Notes
never reads or stores them.
loading from an image CDN, so browsing regions doesn't reveal to anyone which
countries a user is looking at. The only network call is to PIA's own public
server list, cached for 24h.
(MIT), attributed in the README with the license text in
NOTICE.md.setting unless the user triggers it. When PIA's daemon is inactive the
extension explains the options rather than enabling background mode itself.
execFilewith positionalarguments, never a shell. Region ids are validated against a slug pattern
before being passed through, since favorites and recents come back from
local storage.
Screencast
Connected — status row with region flag, protocol, and VPN IP
Region list — favorites, port-forwarding and geo tags
Settings from the action panel
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder