Python CoffeeScript HTML JavaScript
Permalink
Failed to load latest commit information.
demo_1_minimal . Mar 18, 2015
demo_2_ui updated demo 2 to ES6 Nov 2, 2016
demo_3_bower updated Aug 30, 2015
demo_4_http Fixes Typo Jul 16, 2016
demo_5_widget updated Aug 30, 2015
.gitignore . Mar 18, 2015
README.md updated demo 2 to ES6 Nov 2, 2016

README.md

Ajenti demo plugins

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 .

Demo 1: minimal

A super-minimal example of a plugin. Prints an info message to log.

Demo 2: UI

A minimal UI example showing a page and some Angular.JS interaction

Demo 3: Bower

Example of a plugin that includes a Bower component (Chart.JS).

Before running, download the component (not included): ajenti-dev-multitool --bower install

Demo 4: HTTP

Example of how one can add custom backend API methods

Demo 5: Dashboard Widget