{"id":18584254,"url":"https://github.com/brob/netlify-shortcut-statuses","last_synced_at":"2026-04-17T10:05:13.661Z","repository":{"id":140975982,"uuid":"151302141","full_name":"brob/netlify-shortcut-statuses","owner":"brob","description":"An example of Netlify Lambda Functions that interact with a Shortcuts widget on iOS (or any other automation programming)","archived":false,"fork":false,"pushed_at":"2023-12-15T05:25:01.000Z","size":4388,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T16:51:56.532Z","etag":null,"topics":["gulp-tasks","jamstack","lambda-functions","netlify-functions","nodejs","static-site"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-02T18:20:05.000Z","updated_at":"2023-05-12T16:52:29.000Z","dependencies_parsed_at":"2024-11-07T00:35:04.180Z","dependency_job_id":null,"html_url":"https://github.com/brob/netlify-shortcut-statuses","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnetlify-shortcut-statuses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnetlify-shortcut-statuses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnetlify-shortcut-statuses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnetlify-shortcut-statuses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brob","download_url":"https://codeload.github.com/brob/netlify-shortcut-statuses/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473726,"owners_count":22077159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gulp-tasks","jamstack","lambda-functions","netlify-functions","nodejs","static-site"],"created_at":"2024-11-07T00:26:52.049Z","updated_at":"2025-10-21T18:14:23.262Z","avatar_url":"https://github.com/brob.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netlify Function and Build\n\nThis repository is the cleaned version of a Netlify function and build process that accepts a request from an iOS Shortcut and processes it via a netlify form to create a list of status updates from data in a static site generator.\n\nYou can view a completed version at [bryanlrobinson.com/bryan-sight](https://bryanlrobinson.com/bryan-sight)\n\nYou can read the [blog post here](https://bryanlrobinson.com/blog/2018/11/12/ios-shortcuts-pushing-data-to-netlify-static-site/)\n\n\n## Requirements\n- Currently set up to deploy to [Netlify](https://netlify.com)\n- Needs 3 environment variables:\n    - STATUS_FORM_ID (form ID from netlify; navigate to the form in Netlify and grab the last piece of the URL)\n    - POST_FORM (form action: any page on the site where the form exists; this should be a full URL including protocol) \n    - FORM_NAME (the name of the form in your form-stub; by default this is `netlify-shortcut-demo`)\n    - API_AUTH (your netlify api auth key)\n- Imgur account (for iOS shortcut integration and photo uploading)\n- Static Site Generator that can accept a JSON file (Jekyll uses _data/data.json)\n\n\n## Installation\n1. Clone/fork the repo and publish to Netlify (or click the one-click button below... thanks Phil!)\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/brob/netlify-shortcut-statuses)\n2. Create Environment Variables listed above\n3. Set up a \"Deploy Hook\" to rebuild the site and deploy\n4. Add a \"Notification\" to the form to trigger the deploy hook created in 2\n5. Manually trigger a build to populate your environment variables into your Lambda Function\n6. Submit a query to `\u003csite-url\u003e/.netlify/functions/update-status/?doing=\u003cyour status\u003e\u0026imgUrl=\u003cimg url\u003e`\n\n\nThis is mostly meant as a proof of concept and to be extended in other ways. Feel free to fork and use it for all sorts of crazy dynamically static stuff!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrob%2Fnetlify-shortcut-statuses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrob%2Fnetlify-shortcut-statuses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrob%2Fnetlify-shortcut-statuses/lists"}