Codapi – Interactive code examples for documentation, education and fun
github.com
github.com
You can use it to build your own sandboxes, or use existing ones to write interactive guides like these: https://github.com/nalgeon/tryxinyminutes
Coincidentally my colleagues recently built a custom version of almost this exact same interactive UX for writing SQL tutorials: https://docs.xtdb.com/tutorials/immutability-walkthrough/par...
If only you had launched sooner :)
If you can still edit your title, I suggest prefixing this post with "Show HN: " so that it's obvious that you're the author sharing your project.
In particular, the narrowest use case we want is simply exercising REST APIs (and GraphQL APIs) with changed up params, something like a baby embedded Postman.
Expanding that to single boxes of a notebook or tiny Python runners like this (or as are used in Code Interpreter in ChatGPT) is even better.
Anyone already have or working on these?
(For our use case, assume the user is browsing the docs with an SSO account and all hosts, code, and data, under the hood supports the identity.)
Here is the JS widget and integration guides: