Add HTML source table display for web browsers #10
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.
Add HTML source table display for web browsers
Hello! I hope this finds you well. I've been working with your NTRIP caster implementation and wanted to contribute an enhancement that I believe will improve the user experience. I noticed that rtk2go.com serves HTML-formatted source tables when accessed from a web browser instead of raw text. I've implemented the same behavior for this caster. Now it detects browser requests and serves a clean HTML table, while keeping the original plain text format for NTRIP clients. This makes it easier to verify whether the server is working as intended and if the source table is properly loaded from the configuration file.
What this does:
http://your-server:2101)Additional improvements
As part of this work, I also modernized the Docker deployment by migrating from Ubuntu to Alpine Linux, which reduces the container size by approximately 90% and improves deployment speed
Screenshot
I would like to thank you for maintaining this important piece of GNSS infrastructure. I'd be honored to have this enhancement included in the main repository.