We've created a set of sample canvases as examples of how build things in Dark.
conditionals - if statements in Dark
cron - a CRON set to run every 1 minute
setcrontorunatspecifictime - a CRON set to run at a specific time
datastoremigration - migrating from an old datastore to a new datastore
formathtml - examples of HTML formatting within Dark
match - match statements in Dark
pipeline - example of a pipeline
randompluck - a function that returns a random result
returns - a variety of samples of returns
square - shows how to implement a simple function to square an input
slack - common Slack functions
slackmessaging - posting a message to a Slack channel
slackmodal - incorporating a model into your Slackbot
slackoauth - integrating with Slack's OAuth
slacksigning - using a Slack signing secret
slackslashcommand - using a Slack slash command
magiceightball - a full magic eight ball Slackbot
For a full Slackbot tutorial, click here.
signin - an office sign-in that texts upon arrival
textreminder - get texted reminders
For a full Twilio tutorial, click here.
airtable - examples of common Airtable API calls
discord - an Overwatch team comp Discord bot
freshdesk - examples of common Freshdesk API calls
github - examples of common GitHub API calls
mailchimp - sending a Mailchimp campaign
signing - AWS signing
sendgrid - sending emails with the SendGrid API
oauth - using Gmail's OAuth flow
Full Sample Projects
emojimood - use emojis to express your mood!
fizzbuzz - solving fizzbuzz in Dark
login - a full login flow
onboarding - example of an easy to build project for learning Dark
If you've built something you'd like featured as a sample canvas, let us know by emailing email@example.com.