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

Pass arbitrary command / args / env from url #15

Open
pomdtr opened this issue Jan 17, 2024 · 0 comments
Open

Pass arbitrary command / args / env from url #15

pomdtr opened this issue Jan 17, 2024 · 0 comments

Comments

@pomdtr
Copy link
Owner

pomdtr commented Jan 17, 2024

Use the same logic as blink shell:

  • a key is defined in the config file
  • client can pass an arbitrary command, through query params:

https://tweety.sh?command=ls&args=["-l"]&env={"NO_COLOR": "true"}&key=<key>

@pomdtr pomdtr changed the title Pass arbitrary args / env from url Pass arbitrary command / args / env from url Jan 17, 2024
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