FluentHub icon indicating copy to clipboard operation
FluentHub copied to clipboard

Spec: Add URI parsing for GitHub repositories

Open Lamparter opened this issue 5 months ago • 2 comments

📄 Description

We should add URI parsing to FluentHub as this will allow native support for handling and opening GitHub repos in FluentHub via the browser, in shell context menu APIs and external apps such as Files and the UWP Companion.

⚡ API Changes

TODO

👥 Usage scenarios

Web URI

Here are a few proposals:

  1. fluenthub://github.com/{Repo.Owner.Login}/{Repo.Name}
  2. fluenthub://https://github.com/{Repo.Owner.Login}/{Repo.Name}
  3. fluenthub://openRepository?repo={Repo.Owner.Login}/{Repo.Name}
  4. fluenthub://openRepository?repo=https://github.com/{Repo.Owner.Login}/{Repo.Name}
  5. fluenthub://{Repo.Owner.Login}/{Repo.Name}

Personally options 1 and 5 are my favourite. What do you think @0x5bfa?

🔙 Backward Compatibility

This does not change APIs and instead only introduces them.

✅ Tasks

TODO

🤔 Difficulty

Medium

Lamparter avatar Sep 03 '24 14:09 Lamparter