Skip to content

qrcode or generic "hook" in web mode for fast mobile access/qr codes/ngrok #10549

Closed

Description

@aappddeevv

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When opening up opencode using web mode, it would be nice to have an option to have a qrcode printed so I can just scan it with my phone and then be on my way. Otherwise, I have to type it into my phone browser.

I know it advertises by mdns but a qrcode is an easy thing on mobile devices.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 25, 2026
  2. github-actions commented on Jan 25, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. aappddeevv commented on Jan 25, 2026

    @aappddeevv
    Author

    This issue is not covered by the other issue listed as potential duplicates.

    While I did vibe code a bash script to do a qrcode generation by piping the output and such, its alot of scripting to catch corner cases (e.g. if the address is 0.0.0.0 does this even makes sense or should it try to bit smarter). It would be simpler as an option. If there no easy external qr generator libraries available and you don't want a dependency on it, a generic thing that simply execs out a program, with stdout/stderr appropriately set, and the address written as the first line to the exec program's output/arg, right after the web server starts would work. The generic program could be specified from an env shell or another CLI option or something like that to keep this a generic capability. I don't have an mdns scanner app on my phone and I suspect most people don't.

    I would prefer a generic capability actually so I can spin up both a qr code and ngrok all without a bunch more scripting or wrappers.

  4. changed the title [-]qrcode in web mode for fast mobile access[/-] [+]qrcode or generic "hook" in web mode for fast mobile access/qr codes/ngrok[/+] on Jan 25, 2026
  5. aappddeevv commented on Jan 25, 2026

    @aappddeevv
    Author

    The other thing that would be very useful is to also allow the /share command to take a "web" argument that then spins up the web server in the background. Instead of sync'ing state to your servers which is a non-starter for alot of people, it could start up a web server that allows multiple people to join that "session" in the fullest sense. And by having the generic hook mechanism above, you could do alot of cool things to get others invite into your session without the security problems.

  6. github-actions commented on Mar 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions