Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.72 KB

File metadata and controls

31 lines (23 loc) · 1.72 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 via their APIs.

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

Useful Nodes

Ghost Authorization

Sign JWT tokens and add the Authorization header to your HTTP requests. Set your credentials in the sub-flow properties.

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::