This repository contains simple commented examples of Ajenti plugins.
Quickstart:
git clone https://github.com/ajenti/demo-plugins.git
cd demo-plugins
sudo npm install -g babel babel-preset-es2015 less bower
sudo pip install ajenti-panel ajenti-dev-multitool ajenti.plugin.core
ajenti-dev-multitool --bower install
ajenti-dev-multitool --build
sudo ajenti-panel -v --autologin --stock-plugins --plugins .
A super-minimal example of a plugin. Prints an info message to log.
A minimal UI example showing a page and some Angular.JS interaction
Example of a plugin that includes a Bower component (Chart.JS).
Before running, download the component (not included): ajenti-dev-multitool --bower install
Example of how one can add custom backend API methods