Skip to content

A simple CLI for retrieving the public URL of a forwarded port inside a GitHub Codespace.

Notifications You must be signed in to change notification settings

jarrodonlo/codespaces-port

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codespaces Port

If you're developing within a GitHub Codespace, and would like to retrieve the URL of a forwarded port, then simply run the following command, specifying the port number that you'd like to retrieve the URL for:

npx -q codespaces-port <port>

The -q flag simply suppresses npx logging, and therefore, isn't strictly necessary.

About

A simple CLI for retrieving the public URL of a forwarded port inside a GitHub Codespace.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%