9debeb243c39453c75b2a0b49022b6c8d37fc2a3
browser-dispatcher
A simple script to open a work or personal browser based on the URL.
Usage
bun run index.ts <url>
Configuration
WORK_BROWSER: The browser to use for work URLs.PERSONAL_BROWSER: The browser to use for personal URLs.
Data
The data is stored in the data.ts file.
workDomains: An array of domains that are considered work URLs.directWorkURLs: An array of URLs that are considered work URLs.
How it works
The script checks the URL and opens the appropriate browser based on the URL.
Languages
TypeScript
100%