Skip to content

Feature: Add URI parsing for GitHub repositories #509

@Lamparter

Description

@Lamparter

📄 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

Metadata

Metadata

Labels

type/specThis issue is a specification for enhancements

Projects

Status

📋 To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions