Files
2026-07-26 19:45:59 +05:30

552 B

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.