init: inital commit
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user