Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Feature]: Better support for having multiple NICs/IPs #2031

ClosedLiquidBacn(GitHub profile, opens in a new tab) opened this issue 3 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/web

Problem or use case

My host machine has a handful of IP addresses (due to multi-homing and WireGuard). T3 Code picked the wrong address for the Reachable at note under "Network access".

Which also means that the copy button fills in a URL that requires correction.

Proposed solution

Likely the easiest option would be a second entry just below the "Network access" toggle (that shows up when it's toggled on). That allows for entering a custom URL/hostname. With the current logic as the default when this isn't set.

Note: I set this to apps/web as it could be implmented fully within the UI, excluding any durability of state.

Why this matters

It would make the copied address work as-is.

Smallest useful scope

An option to type a custom hostname, that then corrects the address generated for the copy button using the provided value as the hostname.

Durability of this value isn't required to make it useful.

Alternatives considered

Manually updating the IP in the copied URL.

Risks or tradeoffs

UI bloat for normal setups.

Examples or references

No response

Contribution

  • I would be open to helping implement this.
  1. LiquidBacn(GitHub profile, opens in a new tab) added labelsenhancement

  2. LiquidBacn(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. juliusmarminge removed labelsneeds-triage

  4. juliusmarminge added labelsaccepted

  5. I was gonna do this for launch but sort of forgot to 🙃 Happy to merge a PR

  6. Well, I seemingly can not get a dev enviroment working on windows.

    dev:server complains about no PTY support on windows. dev:web works, kind of, lots of proxy errors (I think because there's no server?). dev:desktop complains about electron not being installed correctly. Yet another reason to move off of windows...

    Regardless, I don't think I'll actually be able to work on it unfortunately.

  7. @LiquidBacn I got you! Check out my PR #2086

    @juliusmarminge hope this helps

Sign in to join this conversation.