Skip to content
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

Allow getting binaries from remote location #5

Open
LLFourn opened this issue Apr 18, 2023 · 0 comments
Open

Allow getting binaries from remote location #5

LLFourn opened this issue Apr 18, 2023 · 0 comments

Comments

@LLFourn
Copy link
Collaborator

LLFourn commented Apr 18, 2023

Rather than uploading a binary yourself through a POST request we should allow getting a .wasm binary from a remote location e.g. github repository. When you submit this you should already know the hash of it so i'd say submiting it by doing PUT /binaries/<binary hash> which can accept a url to the binary. I imagine a typical HTTP form string will work well here. e.g. url=https://github.com/path-to-my-binary/my-binary.wasm or github=llfourn/my-carol-program with some canonical place for putting the wasm binary for your program.

Only do the url one for now I guess. Also open to other ideas.

Consider:

  • change the resource to wasm or wasm-binaries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant