This is something I touched on recently while looking at what would it take to make possible for https://github.com/duckdb/uc_catalog to work in a Web context.
Problem is basically how to wrap a minimal API that allows to make requests either natively OR from WebAssembly (there Web and Node might be two slightly different challenges).
I think I know what's the way forward, and implementing a curl wrapper (say as a header) would allow to solve the problems in:
- duckdb/uc_catalog
- evidence-dev/duckdb_gsheets
and possibly elsewhere.
I think it's likely on me, I can ping when I have a solution.
Given it's currently not functional, I opened a PR to disable Wasm, @archiewood, WDYT? (duckdb/community-extensions#169)
This is something I touched on recently while looking at what would it take to make possible for https://github.com/duckdb/uc_catalog to work in a Web context.
Problem is basically how to wrap a minimal API that allows to make requests either natively OR from WebAssembly (there Web and Node might be two slightly different challenges).
I think I know what's the way forward, and implementing a curl wrapper (say as a header) would allow to solve the problems in:
and possibly elsewhere.
I think it's likely on me, I can ping when I have a solution.
Given it's currently not functional, I opened a PR to disable Wasm, @archiewood, WDYT? (duckdb/community-extensions#169)