HTML responses #813
Unanswered
vincentsarago
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks,
Last month we introduced HTML response from our custom stac-fastapi application (developmentseed/eoapi-devseed#17), this was well received by the users and request was made to generalize this.
The idea is to return HTML response when asked with
f=html
query parameter or ittext/html Accept
header has the highest priority (e.g when using a web-browser).Building a custom stac-fastapi client ease the process (so we can add more output types, but it is pretty heavy in code-duplication with the original stac-fastapi application.
To generalize this, I've started working on a Middleware, It's still a WIP but I figured some people could be interested to help or could have opinions: https://github.com/developmentseed/stac-fastapi-html-middleware
Note: This is not a stac-browser and it doesn't aim to have tons of features, but it would be expendable (using Jinja HTML templates).
You can see how it looks like at: https://stac.eoapi.dev
Beta Was this translation helpful? Give feedback.
All reactions