Title: Directly open github repo through repo link · Issue #1355 · coder/code-server · GitHub
Open Graph Title: Directly open github repo through repo link · Issue #1355 · coder/code-server
X Title: Directly open github repo through repo link · Issue #1355 · coder/code-server
Description: I'm very fond of Gitpod, which supports opening a GitHub repo by prefixing any public GitHub or GitLab URL with gitpod.io/# in the browser. e.g.: https://www.gitpod.io/#https://github.com/cdr/code-server I want to add this feature to thi...
Open Graph Description: I'm very fond of Gitpod, which supports opening a GitHub repo by prefixing any public GitHub or GitLab URL with gitpod.io/# in the browser. e.g.: https://www.gitpod.io/#https://github.com/cdr/code-...
X Description: I'm very fond of Gitpod, which supports opening a GitHub repo by prefixing any public GitHub or GitLab URL with gitpod.io/# in the browser. e.g.: https://www.gitpod.io/#https://github.com/cdr/c...
Opengraph URL: https://github.com/coder/code-server/issues/1355
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Directly open github repo through repo link","articleBody":"\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\r\n\u003c!-- Describe the feature you'd like. -->\r\n\r\nI'm very fond of [Gitpod](https://www.gitpod.io/), which supports opening a GitHub repo by prefixing any public GitHub or GitLab URL with gitpod.io/# in the browser. \r\ne.g.: [https://www.gitpod.io/#https://github.com/cdr/code-server](https://www.gitpod.io/#https://github.com/cdr/code-server)\r\n\r\nI want to add this feature to this project but have no idea how and where to start.\r\nMy initial thought is to add a rule to the URL parser in the patch, once the URL matched, execute \"git clone\" and then open.\r\nBut later I realized this feature requires git, would it be better to implement this feature as an extension? If yes, use UriHandler API?\r\nor any other better solution?\r\n","author":{"url":"https://github.com/JalinWang","@type":"Person","name":"JalinWang"},"datePublished":"2020-02-12T15:16:18Z","url":"https://github.com/coder/code-server/issues/1355"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0c688668-0cbf-c82d-c9c1-faa4420e4149 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE58:E9D16:2710702:3195E7E:6B01CBDB |
| html-safe-nonce | bc500b8b693776eaccec9a85fe601883437f2eaab821dc67957efb910fefbf25 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTU4OkU5RDE2OjI3MTA3MDI6MzE5NUU3RTo2QjAxQ0JEQiIsInZpc2l0b3JfaWQiOiIzNzg0Mjk2MTc1OTI3MTUxNTc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b1ae50a42e74540f6b0e91ebf94e6a295fa07cef71b55b088999a0646084ebac |
| hovercard-subject-tag | issue:564068734 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/1355/issue_layout |
| twitter:image | https://opengraph.githubassets.com/91ba8f3f10dcdf20f17ff3c34a8b6e7fb5b130921452152fff52a508ad8c286f/coder/code-server/issues/1355 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/91ba8f3f10dcdf20f17ff3c34a8b6e7fb5b130921452152fff52a508ad8c286f/coder/code-server/issues/1355 |
| og:image:alt | I'm very fond of Gitpod, which supports opening a GitHub repo by prefixing any public GitHub or GitLab URL with gitpod.io/# in the browser. e.g.: https://www.gitpod.io/#https://github.com/cdr/code-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JalinWang |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width