tweety icon indicating copy to clipboard operation
tweety copied to clipboard

Pass arbitrary command / args / env from url

Open pomdtr opened this issue 1 year ago • 0 comments

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 avatar Jan 17 '24 09:01 pomdtr