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

web playground #9

Open
Geal opened this issue Oct 29, 2021 · 3 comments
Open

web playground #9

Geal opened this issue Oct 29, 2021 · 3 comments

Comments

@Geal
Copy link
Contributor

Geal commented Oct 29, 2021

it could be interesting to provide a web playground like https://play-with-biscuit.cleverapps.io/ from the CLI

The idea would be to set up a small local web server (with rouille or something else) that loads a token passed as argument, to experiment with it

@Geal
Copy link
Contributor Author

Geal commented Oct 29, 2021

about the overhead, currently the CLI is about 7.1MB in release, and it gets to 7.6MB with rouille. And the playground code is around 1.4MB (most of it being the wasm file)

@divarvel
Copy link
Collaborator

ah great, the size increase is reasonable then (else we could have a feature flag, but here it's not necessary here, i think).

It could be a new command like biscuit playground [--port PORT] and all the biscuit inspect options (with an automatically chosen port if an explicit port is omitted). I think an input field for biscuit is missing from the existing playground, but having a way to provide it from the CLI is already useful)

@divarvel
Copy link
Collaborator

now that https://biscuitsec.org provides a series of tools, i'm not sure how valuable having all this in the CLI would be. The only benefit would be to be able to use it with no Internet connection

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

2 participants