A Chrome extension that sends the current tab's URL to the ScheduleSage app on macOS.
- Sends URLs of the current browser tab to the ScheduleSage app with a single click
- Uses Native Messaging to communicate with the ScheduleSage macOS application
- Shows notifications when sending is successful or encounters errors
- Clone or download this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" by toggling the switch in the top right corner
- Click "Load unpacked" and select the extension directory (the folder containing
manifest.json) - Note the extension ID that appears under the extension name (you'll need this for the next step)
-
Make the Python script executable:
chmod +x /path/to/native_host.py
-
Update the native host manifest file:
- Open
com.tiwenlab.schedulesage.jsonin a text editor - Replace
PATH_TO_BE_REPLACED_WITH_ABSOLUTE_PATHwith the absolute path to thenative_host.pyfile - Replace
EXTENSION_ID_TO_BE_REPLACEDwith your extension ID from step 5 above
- Open
-
Create the Native Messaging Hosts directory (if it doesn't exist):
mkdir -p ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/
-
Copy the updated manifest file to the Native Messaging Hosts directory:
cp /path/to/com.tiwenlab.schedulesage.json ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/
- Ensure the ScheduleSage app is installed on your macOS system
- Click the ScheduleSage extension icon in Chrome's toolbar
- The extension will capture the current tab's URL and send it to the ScheduleSage app
- A notification will appear indicating success or failure
-
If you see a "Connection Error" notification, ensure:
- The native host Python script is executable (
chmod +x /path/to/native_host.py) - The path in the native host manifest file is correct
- The extension ID in the manifest file matches your actual extension ID
- The manifest file is correctly placed in
~/Library/Application Support/Google/Chrome/NativeMessagingHosts/ - The ScheduleSage app is installed on your system
- The native host Python script is executable (
-
Check the Chrome extension's background page console for error messages:
- Go to
chrome://extensions/ - Find ScheduleSage and click "service worker" under "Inspect views"
- Look for errors in the Console tab
- Go to
The extension only sends URLs when you click its icon. URLs are sent only to the local ScheduleSage application on your computer. No data is sent to any remote servers.