Skip to content

Shell Script Output in Plash? #124

Answered by sindresorhus
fpuhan asked this question in Q&A
Discussion options

You must be logged in to vote

Copy-paste the code from #1 (comment) into a Text action in shortcuts and then replace Hello with a variable for the output of your shell action. Then use the Save File action to write a file called index.html into a folder of your choosing. Then choose that folder in Plash using the "Local Website" button. After that, add the Reload Website actions provided by Plash.

You can use Shortery to automate running the shortcut at an interval.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fpuhan
Comment options

Answer selected by sindresorhus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants