zkit
zkit

Edge profile router

Click a normal link in Todoist, Telegram, or anywhere else and open it in a specific Microsoft Edge profile via a trailing tag or domain rule.

Install zkit

bash
curl -fsSL https://zkit.zohid.me/install.sh | bash

Fresh setup

bash
sudo apt update
sudo apt install -y python3 xdg-utils desktop-file-utils

zkit edge detect
zkit edge add personal Default
zkit edge add work "Profile 4"
zkit edge rule '*.todoist.com' work
zkit edge fallback personal
zkit edge install

zkit edge test "https://example.com/#edge-profile=work"
xdg-open "https://example.com/#edge-profile=work"

Link format

https://example.com/page#edge-profile=work

The tag must be the last thing in the URL. Untagged links use domain rules, then the fallback profile.

Where config lives

  • ~/.config/edge-profiles/ — profiles, rules, fallback
  • ~/.local/bin/edge-profile-router — installed handler