Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrodalgaard/alfred-network-workflow
Show and change your network settings
https://github.com/mrodalgaard/alfred-network-workflow
alfred alfred-network-workflow alfred-workflow dns ethernet vpn wifi
Last synced: 11 days ago
JSON representation
Show and change your network settings
- Host: GitHub
- URL: https://github.com/mrodalgaard/alfred-network-workflow
- Owner: mrodalgaard
- License: mit
- Created: 2016-03-20T17:33:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T18:53:48.000Z (9 months ago)
- Last Synced: 2024-03-05T14:32:51.935Z (4 months ago)
- Topics: alfred, alfred-network-workflow, alfred-workflow, dns, ethernet, vpn, wifi
- Language: Shell
- Size: 606 KB
- Stars: 257
- Watchers: 6
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Lists
- awesome-alfred-workflow - network
- awesome-stars - mrodalgaard/alfred-network-workflow - Show and change your network settings (Shell)
- awesome-stars - mrodalgaard/alfred-network-workflow - Show and change your network settings (Shell)
README
#
Alfred Network Workflow ![](https://github.com/mrodalgaard/alfred-network-workflow/workflows/CI/badge.svg)
Alfred workflow that can show and change your network settings: Wi-Fi, Ethernet, VPN, DNS, etc.
This is a collection of the functionalities of already existing network-oriented workflows that I found half-baked or stalled. Improved on performance, usability and details.
## Install
Go to [Latest Release](https://github.com/mrodalgaard/alfred-network-workflow/releases/latest) and under `Assets` download `Network.alfredworkflow`. Once downloaded, double click the file and it will show up in Alfred.
Or install directly from [Alfred Gallery](https://alfred.app/workflows/mrodalgaard/network/).
## Usage
* Type `wifi` to show Wi-Fi info and enable/disable.
* Type `eth` to show ethernet info (if connected).
* Type `wifilist` to scan for Wi-Fi hotspots.
* Type `vpn` to list configured VPNs and connect.
* Type `dns` to list and change DNS settings for primary connection.
![]()
![]()
## Limitations
Requires Alfred Powerpack to install this extension.
This workflow might behave differently on macOS versions older than 10.7 Lion. This workflow is primarily implemented in Bash interacting with macOS network cli utils (like `networksetup`, `scutil` and `airport`) with a little help from AppleScript.
Most functionality of this workflow will work without your user being administrator on your machine (see if your user is set as `Admin` or `Standard` in "System Settings.app" -> "Users & Groups"), but actions which changes network settings might fail if you are only a standard user.
WIFI / Access Point changes requires your keychain password which is a known limitation [Read more](https://github.com/mrodalgaard/alfred-network-workflow/issues/11#issuecomment-559252188).
## Tests
[bats](https://github.com/bats-core/bats-core) is used for automatic testing of Bash functionality. Install with `brew install bats-core` using [brew](http://brew.sh/).
Run tests: `bats tests`
## Credits
> Contributions, bug reports and feature requests are very welcome.
> _- Martin_