Sharing and links
To give someone a provider, you send its link: the subscription link, or the node links you pasted in. This page covers how to share, which links Bowel understands, and Bowel's own bowel:// links. 中文版见 share.zh-CN.md。
Share a provider
In Providers, open a provider:
- Copy link / Copy links: puts the subscription link or the node links on the clipboard, for the other person to paste.
- QR code: shows the same as a QR code, with Save image…. Bowel, Clash Meta, Shadowrocket and other clients can scan it.
On Android, tap a provider's More and choose Share for the same QR code and Copy link; when the content is too long for a QR code, only the link can be copied.
Only subscriptions and node links can be shared. A local YAML file has no link to send; to share it, send the file itself.
A link works like the account. A subscription link usually carries your token: whoever has it can use your traffic and see your nodes. Only send it to people you trust, and if it goes to the wrong person, reset the subscription link with your provider.
Links Bowel understands
When you paste into Add provider or scan a QR code, Bowel tells from the content what it is:
| Content | Example | Added as |
|---|---|---|
| Subscription link | one line of https://… or http://… | a subscription, downloaded and updated on a schedule |
| Node links, one per line | vmess:// vless:// trojan:// ss:// ssr:// hysteria:// hysteria2:// hy2:// tuic:// wireguard:// wg:// anytls:// socks:// socks5:// http:// https:// mieru:// snell:// | node links: these nodes |
| Clash / mihomo YAML | contains proxies: or proxy-providers: | a config file |
A single http(s):// line is always taken as a subscription; to add an HTTP proxy as a node, paste it together with other node links: more than one line is taken as node links.
Other clients' install links
The one-click import buttons and QR codes of many subscription services hold another client's install link. When you paste or scan one, on a computer or a phone, Bowel takes the subscription link out of it and adds that:
| Link | What is taken |
|---|---|
clash://install-config?url=<subscription link> | the url parameter |
clashx://, clash-meta://, mihomo://, stash://, clashmi://, flclash:// with ?url= | the url parameter |
sub://<subscription link in Base64>#name (Shadowrocket) | the decoded link |
Clicking such a link on a web page doesn't open Bowel: Bowel doesn't register clash:// and the like, so as not to compete with other Clash clients you have installed. For one-click adding from a web page, use the bowel:// link below.
Both need a version after 0.4.12; in earlier versions, paste what follows url= (URL-decoded) instead.
bowel:// links
bowel://add-provider?url=<subscription link>Clicking such a link (a button on a web page, a link in a chat) opens Bowel to add the subscription in it, starting Bowel first if it isn't running.
- The
urlparameter is URL-encoded; only subscription links starting withhttps://are taken, and they can't carry a user name or password. - Nothing takes effect silently. Any web page can trigger such a link, so Bowel only opens Add a subscription, which says "A link asks to add a subscription from …". Add adds it; Cancel changes nothing. Add it only if you know the source.
- A link that can't be used shows Can't open this link with the reason, such as "Only subscription addresses starting with https are taken".
- It works on Windows, macOS, Linux and Android. On Windows the installer registers the scheme; a copy run without installing registers it itself the first time it starts.
Agreed but not built yet: bowel://add-pack?url=<service pack link> to import a service pack (a set of site rules, rule sets and apps), which the current version answers with "This version of Bowel can't import service packs yet"; and a setting to let Bowel take clash://install-config as well, off by default.
If you have thoughts on the format, open an issue on GitHub.