[GH-ISSUE #162] [FR] Open urlscheme links in containerized apps. #147

Closed
opened 2026-03-03 15:30:59 +03:00 by kerem · 6 comments
Owner

Originally created by @franlerma on GitHub (Sep 21, 2024).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/162

Add ability to open app urlscheme inside LiveContainer. For example, for Twitter (X) url scheme links twitter://user?id=12345 something like:

livecontainer://livecontainer-launch?bundle-name=Twitter.app&urlscheme=twitter%3A%2F%2Fuser%3Fid%3D12345

It can be very useful to create shortcuts and open links in containerized applications. Thanks!

Originally created by @franlerma on GitHub (Sep 21, 2024). Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/162 Add ability to open app urlscheme inside LiveContainer. For example, for Twitter (X) url scheme links twitter://user?id=12345 something like: livecontainer://livecontainer-launch?bundle-name=Twitter.app&urlscheme=twitter%3A%2F%2Fuser%3Fid%3D12345 It can be very useful to create shortcuts and open links in containerized applications. Thanks!
kerem closed this issue 2026-03-03 15:30:59 +03:00
Author
Owner

@hugeBlack commented on GitHub (Sep 22, 2024):

This feature has already been implemented. Use the link button on the top right corner of "My App" screen.

What's more, you can use this shortcurt to open webpages in LiveContainer.

As for URL schemes, I think they are rather hard to obtain in iOS comparing to a link to webpage. If you think that opening URL schemes by livecontainer:// is still useful, I may consider implementing this feature.

<!-- gh-comment-id:2366856212 --> @hugeBlack commented on GitHub (Sep 22, 2024): This feature has already been implemented. Use the link button on the top right corner of "My App" screen. What's more, you can use [this shortcurt](https://www.icloud.com/shortcuts/44ea82ce7ed8469ea24198c375db09a0) to open webpages in LiveContainer. As for URL schemes, I think they are rather hard to obtain in iOS comparing to a link to webpage. If you think that opening URL schemes by livecontainer:// is still useful, I may consider implementing this feature.
Author
Owner

@franlerma commented on GitHub (Sep 22, 2024):

I have tried shortcut and the only thing I get is to open the LiveContainer app but it does nothing else.

I have also tried with the urlscheme that uses the shoot (livecontainer://open-web-page? Url=) without success.

On the other hand, which button are you referring? In the app I have Apps, Tweaks and Settings tabs. In the Apps tab, the "+" icon and Play appear in the upper right corner.

I'm using the latest ipa from the 2.1.2-release download section. commit fd71dd7. Thank you in advantage 👍

<!-- gh-comment-id:2366938700 --> @franlerma commented on GitHub (Sep 22, 2024): I have tried shortcut and the only thing I get is to open the LiveContainer app but it does nothing else. I have also tried with the urlscheme that uses the shoot (livecontainer://open-web-page? Url=) without success. On the other hand, which button are you referring? In the app I have Apps, Tweaks and Settings tabs. In the Apps tab, the "+" icon and Play appear in the upper right corner. I'm using the latest ipa from the 2.1.2-release download section. commit fd71dd7. Thank you in advantage 👍
Author
Owner

@hugeBlack commented on GitHub (Sep 23, 2024):

Try new builds in "actions"

<!-- gh-comment-id:2367082236 --> @hugeBlack commented on GitHub (Sep 23, 2024): Try new builds in "actions"
Author
Owner

@MilkywayOreo commented on GitHub (Jan 29, 2025):

I have a problem because base64 encoded url from the shortcut gives a problem in my TikTok ipa (BHTikTok+). It says “Video is not available”.
When I open the TikTok url from the link button it works.

Is there a way to open the link without base64 encoding thru the shortcut?

<!-- gh-comment-id:2620497503 --> @MilkywayOreo commented on GitHub (Jan 29, 2025): I have a problem because base64 encoded url from the shortcut gives a problem in my TikTok ipa (BHTikTok+). It says “Video is not available”. When I open the TikTok url from the link button it works. Is there a way to open the link without base64 encoding thru the shortcut?
Author
Owner

@hugeBlack commented on GitHub (Jan 29, 2025):

@MilkywayOreo No, you must encode the URL or LiveContainer will not recognize it and not pass the URL to guest app. See https://github.com/khanhduytran0/LiveContainer/issues/242#issuecomment-2527233730 for example of how to construct the URL

<!-- gh-comment-id:2620500257 --> @hugeBlack commented on GitHub (Jan 29, 2025): @MilkywayOreo No, you must encode the URL or LiveContainer will not recognize it and not pass the URL to guest app. See https://github.com/khanhduytran0/LiveContainer/issues/242#issuecomment-2527233730 for example of how to construct the URL
Author
Owner

@tyhallcsu commented on GitHub (Sep 20, 2025):

I built a small userscript that auto-routes any tiktok.com link in Safari to LiveContainer so it opens in the containerized TikTok app (BHTikTokPlus). It uses the documented scheme:

livecontainer://open-web-page?url=BASE64(https://www.tiktok.com/…)

Script (source + details):
https://greasyfork.org/en/scripts/550123-tiktok-livecontainer-ios

What works

  • Links are correctly handed to LiveContainer and then to the guest app.
  • Base64 encoding is required; without it LC doesn’t pass the URL.

Open questions / feature requests

  1. Is there an official, documented scheme for launching a specific guest app directly with a handoff URL (e.g., “launch TikTok with this web URL”), something like:

    livecontainer://launch?bundle-id=<guest BID>&handoff=BASE64(https://…)
    

    If so, happy to update the userscript accordingly.

  2. When LC detects the guest app, the user currently sees a “Run App” confirmation.
    Is there (or could there be) a parameter to auto-run without the prompt (e.g., &confirm=false), at least for URLs initiated by livecontainer://?

  3. For parity with #162’s discussion: is there a supported way to pass URL schemes through LC (e.g., twitter://…, snssdk…://…) in addition to web URLs? A sample format would help a lot for Shortcuts/userscripts.

If there’s a preferred URL format or newer Actions build I should target, I’ll update the script and docs to match. Thanks for the awesome project!

<!-- gh-comment-id:3314519330 --> @tyhallcsu commented on GitHub (Sep 20, 2025): I built a small **userscript** that auto-routes any `tiktok.com` link in Safari to LiveContainer so it opens in the containerized TikTok app (BHTikTokPlus). It uses the documented scheme: ```text livecontainer://open-web-page?url=BASE64(https://www.tiktok.com/…) ``` Script (source + details): [https://greasyfork.org/en/scripts/550123-tiktok-livecontainer-ios](https://greasyfork.org/en/scripts/550123-tiktok-livecontainer-ios) **What works** * Links are correctly handed to LiveContainer and then to the guest app. * Base64 encoding is required; without it LC doesn’t pass the URL. **Open questions / feature requests** 1. Is there an **official, documented** scheme for launching a *specific* guest app directly with a handoff URL (e.g., “launch TikTok with this web URL”), something like: ``` livecontainer://launch?bundle-id=<guest BID>&handoff=BASE64(https://…) ``` If so, happy to update the userscript accordingly. 2. When LC detects the guest app, the user currently sees a **“Run App”** confirmation. Is there (or could there be) a parameter to **auto-run** without the prompt (e.g., `&confirm=false`), at least for URLs initiated by `livecontainer://`? 3. For parity with #162’s discussion: is there a supported way to pass **URL schemes** through LC (e.g., `twitter://…`, `snssdk…://…`) in addition to web URLs? A sample format would help a lot for Shortcuts/userscripts. If there’s a preferred URL format or newer Actions build I should target, I’ll update the script and docs to match. Thanks for the awesome project!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LiveContainer#147
No description provided.