Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.7 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.7 KB

Node-Red Examples

Node-Red is a low code, visual programming tool. For this project, I use it as duck tape to connect Ghost, Discord, and Outline together.

You can use the json files here to import these into Node-Red.

Useful Nodes

Ghost Authorization

Get an auth cookie to access the Ghost API, then save it in the Node-Red flow context.

Ghost Post to Discord

Push Ghost posts to Discord. A webhook is configured in the Ghost settings to send posts to the HTTP receiver node in Node-Red, where it is reformatted as a Discord embed.

Output:

Outline to Discord Command

Discord node listens for /lore command prints the first result from Outline search. Includes backlinks, an image attachment, and ChatGPT flavor.

Output::

Discord Roles to Ghost Newsletters

Synchronize RSVP roles from Discord to corresponding email newsletters in Ghost.

Need to clean this up before posting. There has to be some way to map Discord ID to the Ghost ID, which I'm currently doing in a Google Spreadsheet...