IFTTT events -> Github Pages posts
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Hello! 👋 This is a script which lets you create Jekyll entries in a Github repo from IFTTT events, using the IFTTT Webhook action. You can see it in use on https://webrender.github.io.


  • Remix this project (or clone the repo if you'd prefer to run it yourself)
  • in the .env file, enter your username, the repo you'd like to commit to, and your Github user token. You can generate a Personal Access Token for use with this script here: https://github.com/settings/tokens
  • for the WEBHOOK_TOKEN env variable, generate/create a token of your choice. We'll use this to verify requests are coming from our webhook.
  • Go to IFTTT and create a new applet. For the "that" action, choose the Webhooks service, and then the Make a web request option. Fill in the fields as follows:
    • URL: The URL of your node server, with a token parameter. Example:
      • https://ifttt-ghpages.glitch.me/?token=your-token
    • Method: POST
    • Content Type: text/plain
    • Body: A YAML-formatted Jekyll document, with newlines replaced with |||. Example from examples/twitter:
      • ---|||layout: post|||title: {{UserName}} - Tweet|||network: twitter|||date: {{CreatedAt}}|||---|||{{TweetEmbedCode}}