基于Surge Mac 4.0,我开发了Workflow

资费

实现基础

  1. Surge Mac 4.0.0、Surge iOS 4.4.0开始提供HTTP API,API详情戳这里
  2. Alfred Workflow,支持各种脚本语言操作,这里我使用nodejs来实现

效果

  • 我想说妈妈再也不用担心我操作Surge抵消了,对于IT人来说,键盘一顿操作才是王道,才是高效。
  • 据官方作者所说,后期还会开放更多API,期待ing

写在最后

--

--

--

Develop with pleasure!

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alan He

Alan He

Develop with pleasure!

More from Medium

How to implement the Sylius theme? Practical tips and examples — BitBag

MacBook Pro — wifi channel disappears on 5Ghz wifi

How to specify your Xcode version on GitHub Actions

Edit Host/User name in new macOS