Add configurable bind host for TurboFieldfareServer - #79
Open
totiz wants to merge 3 commits into
Open
Conversation
Default remains 127.0.0.1; --host allows optional non-loopback binds such as 0.0.0.0.
Describe the default loopback bind, LAN exposure via 0.0.0.0, and the no-auth warning.
totiz
marked this pull request as ready for review
August 3, 2026 22:00
Cover the default loopback host, successful parse of common bind values, and empty-host rejection.
|
Any change this is merged soon? It would be great feature for the Server. I run ollama remote, so this would allow me to run fieldfare also remote on my mac mini m4. |
|
This would be a great feature |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--hostso TurboFieldfareServer can bind beyond loopback (default remains127.0.0.1).TurboFieldfareHTTPServer.start.--host/0.0.0.0LAN bind indocs/OPENAI_SERVER.md, including the no-auth / no-TLS exposure warning.Tested
swift build -c release --product TurboFieldfareServer— pass127.0.0.1— pass (start(port:)binds127.0.0.1; default--hostparses to127.0.0.1)--host 0.0.0.0and confirm bind — pass (smoke bind + live server on*:8080,/health→{"status":"ok"})--host(--host ""exits with usage error) — pass (exit 2,error: --host must not be empty)start(port:)server path still works (default host unchanged) — pass (loopback +0.0.0.0smoke viaTurboFieldfareHTTPServer)