René's URL Explorer Experiment


Title: [Feat]: Leverage "proxy-domain" in the "Ports" panel · Issue #5458 · coder/code-server · GitHub

Open Graph Title: [Feat]: Leverage "proxy-domain" in the "Ports" panel · Issue #5458 · coder/code-server

X Title: [Feat]: Leverage "proxy-domain" in the "Ports" panel · Issue #5458 · coder/code-server

Description: What is your suggestion? VS Code Remote, Gitpod, and Codespaces have a lovely panel to detect and access ports via "Ports." Demonstration: Screen.Recording.2022-08-09.at.1.41.40.PM.mov code-server has a lesser-known "proxy-domain" featur...

Open Graph Description: What is your suggestion? VS Code Remote, Gitpod, and Codespaces have a lovely panel to detect and access ports via "Ports." Demonstration: Screen.Recording.2022-08-09.at.1.41.40.PM.mov code-server ...

X Description: What is your suggestion? VS Code Remote, Gitpod, and Codespaces have a lovely panel to detect and access ports via "Ports." Demonstration: Screen.Recording.2022-08-09.at.1.41.40.PM.mov co...

Opengraph URL: https://github.com/coder/code-server/issues/5458

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feat]: Leverage \"proxy-domain\" in the \"Ports\" panel","articleBody":"## What is your suggestion?\r\n\r\nVS Code Remote, Gitpod, and Codespaces have a lovely panel to detect and access ports via \"Ports.\" Demonstration:\r\n\r\nhttps://user-images.githubusercontent.com/22407953/184697035-7a75ac07-4130-4ec2-936b-ecfb719dcc4c.mov\r\n\r\ncode-server has a lesser-known [\"proxy-domain\" feature](https://coder.com/docs/code-server/latest/guide#using-a-subdomain) which also allows you to access running ports running on the code-server host via a subdomain pointed to code-server (e.g. `https://8080.subdomain.coder.com`). \r\n\r\nWhat if when a user runs an app on port 3000, code-server detects it and adds to \"Ports\". Also, what if you clicked \"localhost:3000\" from the code-server terminal, it actually goes to the proper feature.\r\n\r\n## Why do you want this feature?\r\n\r\nFeature parity with SaaS solutions. Also, with a minor change, this would work pretty well with [Coder](https://github.com/coder/coder) once [coder/coder#1624](https://github.com/coder/coder/issues/1624) is completed.\r\n\r\nAlthough code-servers proxy wouldn't be directly used, Coder's proxy be and it would \"just work.\" Right now, however, the proxy domain expects the port to be the only part of the subdomain. (e.g `8080.the-rest` vs. `8080-other-stuff.the-rest`)\r\n\r\n```hcl\r\n# inside a Coder template\r\n# see https://coder.com/docs/coder-oss/latest/templates/\r\nresource \"coder_agent\" \"main\" {\r\n    arch          = \"amd64\"\r\n    os            = \"linux\"\r\n    startup_script = \u003c\u003cEOF\r\n    #!/bin/sh\r\n    # install and start code-server\r\n    curl -fsSL https://code-server.dev/install.sh | sh\r\n    # set proxy-domain to the URL to access a port from a workpace inside Coder itself\r\n    code-server --auth none --port 13337 --proxy-domain=[PORT]-main-${data.coder_workspace.me.name}-${data.coder_workspace.me.owner}.coder.example.com\r\n    EOF\r\n}\r\n```\r\n\r\n## Are there any workarounds to get this functionality today?\r\n\r\nNavigating to the URL directly.\r\n\r\n## Are you interested in submitting a PR for this?\r\n\r\nI wouldn't know where to start :(","author":{"url":"https://github.com/bpmct","@type":"Person","name":"bpmct"},"datePublished":"2022-08-15T18:57:21Z","url":"https://github.com/coder/code-server/issues/5458"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:48aad1e6-56ff-83e8-6990-fc94589027e9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCBF0:19AA62:274BFB6:31EA054:6B0196BC
html-safe-nonce3357b47afb37cd657d164cc4eae6a66a9dd77f28ac20d486f62d396943b96f92
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkYwOjE5QUE2MjoyNzRCRkI2OjMxRUEwNTQ6NkIwMTk2QkMiLCJ2aXNpdG9yX2lkIjoiODQwNzc0MTU4MTg2MDI2Njg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccc998ee2dd01e5ab5a06ac0ee81dd1601f7e9633490edfccd8d9ad5b0a519765
hovercard-subject-tagissue:1339366443
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/5458/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c91b02bdbf9625dc3e93cf25bdab22d4fea6d53e5aa26be7bf69003b3a07cfba/coder/code-server/issues/5458
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c91b02bdbf9625dc3e93cf25bdab22d4fea6d53e5aa26be7bf69003b3a07cfba/coder/code-server/issues/5458
og:image:altWhat is your suggestion? VS Code Remote, Gitpod, and Codespaces have a lovely panel to detect and access ports via "Ports." Demonstration: Screen.Recording.2022-08-09.at.1.41.40.PM.mov code-server ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebpmct
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/5458#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5458
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5458
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/5458
Reloadhttps://github.com/coder/code-server/issues/5458
Reloadhttps://github.com/coder/code-server/issues/5458
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5458
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5458
[Feat]: Leverage "proxy-domain" in the "Ports" panelhttps://github.com/coder/code-server/issues/5458#top
https://github.com/jsjoeio
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
4.8.0https://github.com/coder/code-server/milestone/48
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Aug 15, 2022https://github.com/coder/code-server/issues/5458#issue-1339366443
"proxy-domain" featurehttps://coder.com/docs/code-server/latest/guide#using-a-subdomain
Coderhttps://github.com/coder/coder
coder/coder#1624https://github.com/coder/coder/issues/1624
bpmcthttps://github.com/bpmct
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Aug 15, 2022https://github.com/coder/code-server/issues/5458#event-7190827415
jsjoeiohttps://github.com/jsjoeio
On Deckhttps://github.com/coder/code-server/milestone/20
on Aug 15, 2022https://github.com/coder/code-server/issues/5458#event-7190848135
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Aug 17, 2022https://github.com/coder/code-server/issues/5458#issuecomment-1218306025
jsjoeiohttps://github.com/jsjoeio
on Oct 17, 2022https://github.com/coder/code-server/issues/5458#event-7606320441
jsjoeiohttps://github.com/jsjoeio
On Deckhttps://github.com/coder/code-server/milestone/20
October 2022https://github.com/coder/code-server/milestone/47
on Oct 17, 2022https://github.com/coder/code-server/issues/5458#event-7606320801
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Oct 24, 2022https://github.com/coder/code-server/issues/5458#issuecomment-1289598116
#5673https://github.com/coder/code-server/pull/5673
jsjoeiohttps://github.com/jsjoeio
completedhttps://github.com/coder/code-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 24, 2022https://github.com/coder/code-server/issues/5458#event-7657548741
jsjoeiohttps://github.com/jsjoeio
October 2022https://github.com/coder/code-server/milestone/47
4.8.0https://github.com/coder/code-server/milestone/48
on Oct 24, 2022https://github.com/coder/code-server/issues/5458#event-7657577927
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/5458
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5458
jsjoeiohttps://github.com/jsjoeio
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
4.8.0https://github.com/coder/code-server/milestone/48
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.