https://github.com/varunkumar/pluto-seamless
Automation for opening links in a remote machine
https://github.com/varunkumar/pluto-seamless
Last synced: 4 months ago
JSON representation
Automation for opening links in a remote machine
- Host: GitHub
- URL: https://github.com/varunkumar/pluto-seamless
- Owner: varunkumar
- License: other
- Created: 2018-06-28T03:02:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T03:37:36.000Z (about 6 years ago)
- Last Synced: 2025-10-30T22:47:01.875Z (8 months ago)
- Language: AppleScript
- Size: 337 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PlutoSeamless
Mac automation for opening links in a remote machine.
## How to use?
- Unzip the application from [`dist/PlutoSeamless.zip`](dist/PlutoSeamless.zip)
- Run the application to register it as handlers for HTTP / HTTPS schemes
- Set `PlutoSeamless` as the default application. Go to `System Preferences` -> `General` -> `Default web browser:`. Choose `PlutoSeamless` from the list of browsers.
- Set URL patterns as environment variable `launchctl setenv REMOTE_URL_PATTERN ".*\.google\.com|"`. This will open all google.com links in a remote machine. Update it to include patterns of all URLs that you want to open remotely. Run this command on a terminal.
## How to build a new version?
- Download [`Platypus`](http://sveinbjorn.org/platypus). Tested the setup with Platypus v5.2.
- Open `Platypus` application.
- Choose script type as `AppleScript`.
- Add args `-l` and `JavaScript`
- Choose the script from `src`.
- Update the app name to `PlutoSeamless`
- Update identifier to `me.varunkumar.plutoseamless`
- Check the option `Accepts dropped items` and click on `Settings`
- From the dialog that opens, check `Register as URI scheme handler`. Add `http`, `https`, and `pluto` as URI schemes. Click `Apply` and close the dialog.
- Click on `Create App` to create the application in the desired location.
## License
The source code is available [here](https://github.com/varunkumar/pluto-seamless) under [MIT license](http://varunkumar.mit-license.org/). Please send any bugs, feedback, complaints, patches.
-- [Varun](http://www.varunkumar.me)