Skip to content

feat: add QR code for server URLs in terminal#851

Open
nextsaimon wants to merge 1 commit intovercel:mainfrom
nextsaimon:feature/qr-code-support
Open

feat: add QR code for server URLs in terminal#851
nextsaimon wants to merge 1 commit intovercel:mainfrom
nextsaimon:feature/qr-code-support

Conversation

@nextsaimon
Copy link
Copy Markdown

Description

This PR adds a QR code display for both Local and Network URLs when the server starts.

Why?

Manually typing long local IP addresses on mobile devices for testing is tedious. Scanning a QR code from the terminal makes cross-device testing significantly faster and more convenient.

Changes

  • Added qrcode-terminal as a dependency.
  • Created source/utilities/qrcode.ts utility.
  • Updated source/main.ts to render QR codes inside the startup box.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedqrcode-terminal@​0.12.01001009575100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant