Skip to content

Rulebook development helper app for Event-Driven Ansible

Notifications You must be signed in to change notification settings

cloin/eventscribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EventScribe

EventScribe is a development tool designed for Event-Driven Ansible (EDA). The application provides a simple web interface that allows you to send JSON payloads via webhooks. These payloads are displayed in the UI, and users can inspect the JSON structure, search within payloads, and copy JSON keys using dot-notation for further use in rulebooks or other configurations.

When used in conjunction with the EDA event filter, cloin.eda.poster, you're able to capture the event structure before having written any rules thus helping to gain familiarity with the event structure and rapidly write conditions.

EventScribe UI

Features

  • Payload Reception: Receives JSON payloads via webhooks and displays them in the UI.
  • Live Updates: The UI updates in real-time as new payloads are received.
  • JSON Viewer: Provides a JSON viewer for inspecting payloads.
  • Search: Allows for searching within the received payloads and within the selected JSON object.
  • Copy JSON Key: Provides the ability to copy JSON keys in dot-notation format to the clipboard.

Tech Stack

  • Frontend: React
  • Backend: Express.js

Prerequisites

  • Node.js
  • npm or yarn
  • Podman or Docker (optional for containerization)

Installation and Running

Running the Backend

cd server
npm install
npm start

Running the Frontend

cd client
npm install
npm start

Using Docker/Podman (Optional)

# In the root directory
podman-compose up -d

About

Rulebook development helper app for Event-Driven Ansible

Resources

Stars

Watchers

Forks