Skip to content

Instantly share code, notes, and snippets.

@stevepeak
Last active March 29, 2018 09:21
Show Gist options
  • Save stevepeak/7abbac89f4203c4f3d53ed8c9d514559 to your computer and use it in GitHub Desktop.
Save stevepeak/7abbac89f4203c4f3d53ed8c9d514559 to your computer and use it in GitHub Desktop.
*Note* You must update in `docker-compose.yml` under `demo.env.STORY_URL` to the new raw version.
# Write your Stories in Storyscript and
# Asyncy will execute them by choreographing microservices.
# What is your email?
email = ""
you = fullcontact person --email email
if you.twitter
handler = python -c 'print("{{you.twitter}}".split("/")[-1])'
twitter follow handler
twitter tweet 'Welcome to Asyncy @{{handler}}, you just ran your first story.'
if you.website
pageres `/shots` you.website '1024x768' --filename 'screenshot'
res = file-io `/shots/screenshot.png`
log "Your screenshot is at https://file.io/{{res.key}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment