Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
miniflare
🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
We'll be applying our solution to catsup-app GitHub application being developed in the Open Sauced org. For each repo that has the application installed, our Discord will be updated when an issue has the good first issue label applied.
A GitHub App built with Probot that This app alerts you of good first issues.
For more, check out the Contributing Guide.
ISC © 2022 Brian 'bdougie' Douglas [email protected]
In order for the project to be shipped as a service function, the node environment can not be used in any of the production code. Reviewing Probot source, one might see a dead end in that it uses require("dotenv").config(). However, its underlying framework, OctoKit does not come with any opinionated code in this regard.
View on GitHub
The worker.js file is a Cloudflare Worker which is continuously deployed using GitHub Actions (see .github/workflows/deploy.yml).
Using the same probot/smee-client shipped by Probot we divert the webhook URL to one on localhost for the development application, and for the production application we will enter a custom route.
Thinking about these hypothetical objections, my inner dialogue goes on: Me: "Hold up, whaaaat?!" Other me: "Yes it's CloudFlare Workers!"
The simple explanation is that I'm proposing use of the Service Worker API. Cloudflare offers a flat, free, 100k requests a day if you can keep it cutting edge, has local development and testing options with miniflare and a key/value (KV) store.
Related posts
- A better way to set up a Cloudflare worker project locally with Miniflare
- Web Workers are the Future! 🏗
- Show HN: Slshx – React-Inspired Discord Commands on Cloudflare Workers
- Denoflare – Develop, Test, and Deploy Cloudflare Workers with Deno
- Miniflare – Simulator for developing and testing Cloudflare Workers