n8n-nodes-xibo
v0.3.2
Published
n8n community nodes for Xibo CMS integration
Maintainers
Readme
Xibo n8n Nodes
Custom n8n nodes for integrating Xibo CMS (Content Management System) with your n8n workflows.
Features
This package provides n8n nodes to interact with Xibo CMS:
- Display Management: Get displays and their information
- Layout Management: Retrieve and manage layouts
- Media Library: Access and manage media files
- Schedule Management: Work with schedules
Prerequisites
- Node.js v18.10 or higher
- pnpm v9.1 or higher
- A Xibo CMS instance with API access
Installation
For Development
- Clone this repository:
git clone https://github.com/sasch901/Xibo-n8n.git
cd Xibo-n8n- Install dependencies:
pnpm install- Build the project:
pnpm run build- Link to n8n (for local development):
pnpm link
cd ~/.n8n/custom
pnpm link xibo-n8n-nodesFor Production
npm install xibo-n8n-nodesOr add to your n8n instance's package.json and install via npm/pnpm.
Configuration
Xibo API Credentials
Before using the Xibo node, you need to configure your Xibo CMS credentials in n8n:
- In n8n, go to Credentials → New
- Select Xibo API
- Enter the following information:
- CMS URL: Your Xibo CMS URL (e.g.,
https://your-xibo-cms.com) - Client ID: Your Xibo API Client ID
- Client Secret: Your Xibo API Client Secret
- CMS URL: Your Xibo CMS URL (e.g.,
To get your API credentials from Xibo CMS:
- Log in to your Xibo CMS
- Go to Applications in the admin menu
- Add a new application or use an existing one
- Copy the Client ID and Client Secret
Usage
Available Resources
- Display: Manage and retrieve display information
- Layout: Work with layouts
- Media: Access media library files
- Schedule: Manage schedules
Example Workflow
- Add the Xibo node to your workflow
- Select a Resource (e.g., Display)
- Select an Operation (e.g., Get Many)
- Configure the credentials
- Execute the workflow
Development
Project Structure
xibo-n8n-nodes/
├── nodes/
│ └── Xibo/
│ ├── Xibo.node.ts # Main node implementation
│ └── xibo.svg # Node icon
├── credentials/
│ └── XiboApi.credentials.ts # API credentials
├── icons/ # Additional icons
├── dist/ # Compiled output (generated)
├── package.json
├── tsconfig.json
├── gulpfile.js
└── .eslintrc.jsAvailable Scripts
pnpm run build- Build the project for productionpnpm run dev- Watch mode for developmentpnpm run lint- Lint the codepnpm run lintfix- Fix linting issues automaticallypnpm run format- Format code with Prettier
Building
pnpm run buildThis will:
- Compile TypeScript to JavaScript
- Copy icons to the dist folder
- Generate type definitions
Testing Locally
- Build the project:
pnpm run build- Link to your n8n instance:
pnpm link
cd ~/.n8n/custom
pnpm link xibo-n8n-nodes- Restart n8n and the nodes should be available
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Resources
License
MIT
Support
For issues and questions:
- GitHub Issues: https://github.com/sasch901/Xibo-n8n/issues
- n8n Community: https://community.n8n.io/
