-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More flexible API or frontend #8
Comments
You're saying API but this is just a static site served out of an S3 bucket behind CloudFront. I'm definitely not opposed to having more pages. Just making sure you know how simple the architecture is. |
Yes, I am aware of that. Although I don't know whether CloudFront is able to serve static json, that would be useful. |
Actually, I don't think I have a need for this anymore right now. Might still be useful for someone in the future though. |
I could hack up a Rust -> wasm thing that gives us a fully interactive website that processes a big json blob which has the actual data (essentially rendering on the fly instead of statically) |
🤷 I'm much more interested in #7 than this, because the primary site now has every crate on crates.io and it's still decently usable. But I'll probably take any PR that looks like I can hack on it later. |
makes sense. Won't spend time on the frontend then. |
It would be useful to be able to sort the crates (for example by download count).
This could either be implemented here, or another solution that would work as well would be to offer a raw data API, using which you could quickly hack together such sorting or filtering yourself on the command line.
A possible API might look like this:
/raw
to get the (shortened, just name/version/error/download count) data of all crates/raw/ub
to only get those with ub/raw/logs
to get the logs of a crate run (just as the raw bytes) (though I'm not sure about the usefulness of this one)I might be able to hack some if this together tomorrow
The text was updated successfully, but these errors were encountered: