init: initial commit

This commit is contained in:
2026-07-26 19:45:59 +05:30
commit 9debeb243c
7 changed files with 188 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# browser-dispatcher
A simple script to open a work or personal browser based on the URL.
## Usage
```bash
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.