Skip to content

Instantly share code, notes, and snippets.

View ianjennings's full-sized avatar

Ian Jennings ianjennings

View GitHub Profile
{
"type": "File",
"start": 0,
"end": 73,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {

Software Architecture - n8n Node Development V2.0

1. Introduction

1.1 Purpose

This document outlines how V2.0 n8n nodes are developed to ensure:

  • Code Clarity
  • Code Reduction / Standardization
  • Error Handling @ Scale It outlines a new improved format for node development that will help n8n scale to millions of APIs without continuous maintenance but will also provide developers new to n8n a way to build nodes easily with standardized helper functions.
Here's the example:
https://babeljs.io/repl#?browsers=&build=&builtIns=false&spec=false&loose=true&code_lz=MYGwhgzhAEBCkFNoG8BQ1rAPYDsIBcAnAV2Hy0OgAoA3MEAShXQ2nwAsBLCAOjpGgBeaPwDcLAL4sA5gnxsEBKkzStohOcUI42XXmMmopqUJBgB5AEYAraAgAe-BDgAmMeBCSrMuAiTIU1PwqLBgQxAAOCIS09AyGGAD0idDmNNGEnC5IsvhOlGCu0MSe0OFRhDJyCkohahr4Wjrl0TxOBOIYUsbYePJYNkLQOAgA7qk2VETECAzivRBYIAg8IFjSVAPWbYr4cya-Sytm0fibNjsEADTQAOQAkjRYANacONK6SJaImOBQ0Ll8mVIq12vIIOwsMQQC51JptJ9oG8CIVgCt-NAsAAzNgkJC3faoZI1fBAA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=true&fileSize=true&timeTravel=true&sourceType=module&lineWrap=true&presets=env%2Ces2016%2Ces2017%2Creact%2Cstage-0%2Cstage-1%2Cstage-2%2Ces2015-loose%2Ctypescript%2Cflow%2Cenv&prettier=true&targets=Electron-1.8%252CNode-10.13&version=7.10.5&externalPlugins=
  • Add red dot to taskbar icon to indicate recording
  • Reduce CPU usage by relying on filesystem watch events when available (@coreyja)
  • Reduce CPU/GPU usage by pushing app to background onblur while recording (@coreyja)
  • Improved telemetry data for Electron main process (@rob kendal)
  • Store temporary .webm and .jsonl files in appData folder rather than Desktop to resolve potential permissions issue (@rob kendal)
  • Prototype "performance mode," no way to turn this on yet :) (@coreyja)
  • Fix a playback error on web
  • Attempt to render "screen capture permissions" popup above Paircast window (@rob kendal)

What's going on here?

Paircast generates markdown documentation from coding screencasts.

The following is an example of Paircast output. The markdown that created this post came directly from the View Source button on the homepage demo.

What are the little timestamps like 00:13? These link back to the Paircast video at the time that markdown was generated.

Learn how you can record your own Paircast.

00:03

Paircast helps developers automatically document their code by aligning a screen cast with their code changes.

00:10

Everything I say as well as my code changes are transcribed (into markdown) right next to my video. Just watch as I ended this Swift file.

Code.exe > demo.swift - demo - Visual Studio Code

Create a route

Watch me do it here

Okay?

Okay, now that we've found the route

We'll send out a policy.

These methods come from that routes file that we defined it earlier.

16:59

So it actually understands what's going on here and generates an S Dick.

17:03

Code.exe > routes.js - app - Visual Studio Code

Start.

00:02

Now as I open and change files in this folder.

00:06

That's a and make a new file.