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

lostintangent/codespaces-port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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