New Amahi 7 feature: create Amahi plugins with one line

User avatar
cpg
Administrator
Posts: 2594
Joined: Wed Dec 03, 2008 7:40 am
Contact:

New Amahi 7 feature: create Amahi plugins with one line

Postby cpg » Tue Mar 12, 2013 6:07 am

Hello,

I'm happy to report that as of this code commit, we have the ability to easily create Amahi platform plugins. One line is all is needed to create a basic plugin!

At the moment there is only one kind of plugin supported, "tabs" ... a new tab inside the Setup area of Amahi is created for each plugin. This has been a work in progress for a long time that we're happy to report is starting to work.

Soon we will also have these available as one-click apps, for a really expandable system, with hopefully lots of useful plugins! 8-)

Example, a plugin to, say, monitor disks in the system:

Code: Select all

bash$ rails generate plugin Disks create plugins/disks/Gemfile create plugins/disks/LICENSE create plugins/disks/README.rdoc create plugins/disks/Rakefile create plugins/disks/app create plugins/disks/app/assets/images/.gitkeep create plugins/disks/app/assets/javascripts/application.js create plugins/disks/app/assets/stylesheets/application.css create plugins/disks/app/controllers/application_controller.rb create plugins/disks/app/controllers/tab_controller.rb create plugins/disks/app/helpers/application_helper.rb create plugins/disks/app/views/tab/index.html.slim create plugins/disks/config create plugins/disks/config/locales/en.yml create plugins/disks/db create plugins/disks/lib create plugins/disks/script create plugins/disks/config/amahi-plugin.yml create plugins/disks/disks.gemspec create plugins/disks/lib/disks.rb create plugins/disks/lib/disks/version.rb create plugins/disks/lib/disks/engine.rb create plugins/disks/lib/tasks/disks.rake create plugins/disks/config/routes.rb create plugins/disks/script/rails chmod plugins/disks/script/rails bash$
once the platform is restarted, the plugin is working right away (albeit with little functionality)
new-plugin.png
new-plugin.png (60.3 KiB) Viewed 2600 times
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
bigfoot65
Project Manager
Posts: 11029
Joined: Mon May 25, 2009 4:31 pm

Re: New Amahi 7 feature: create Amahi plugins with one line

Postby bigfoot65 » Tue Mar 12, 2013 6:59 am

Awesome! Can hardly wait to start packaging them :)
ßîgƒσστ65
Applications Manager

User avatar
cpg
Administrator
Posts: 2594
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: New Amahi 7 feature: create Amahi plugins with one line

Postby cpg » Sun Jul 20, 2014 11:24 am

Hi, this feature was released a couple of weeks ago widely with Amahi 7.3.

We need ideas on what to package as plugins!

What features or functionality can we easily and more importantly, usefully, package as plugins?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
bigfoot65
Project Manager
Posts: 11029
Joined: Mon May 25, 2009 4:31 pm

Re: New Amahi 7 feature: create Amahi plugins with one line

Postby bigfoot65 » Sun Jul 20, 2014 12:29 pm

I added one to the bug tracker the other day.
https://bugs.amahi.org/issues/1480

I think this would be the best way to track new suggestions for plugins :)

EDIT: BTW, do we have a list of current plugins under development? Would be good to post that here and in the wiki where all can see.
ßîgƒσστ65
Applications Manager

User avatar
cpg
Administrator
Posts: 2594
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: New Amahi 7 feature: create Amahi plugins with one line

Postby cpg » Sun Jul 20, 2014 1:45 pm

the app store is probably the best to keep tabs on these, but for now, things are extremely busy to clean these up, add nice logos and screenshots, etc., so here is a list:

http://www.amahi.org/apps/db-backups-plugin -- Backing up databases
http://www.amahi.org/apps/pooling -- Greyhole, finishing development
http://www.amahi.org/apps/web-apps -- Add ability to add web apps
http://www.amahi.org/apps/disk-stats -- Disk stats plugin
http://www.amahi.org/apps/disk-wizard -- New disk wizard, under development
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
bigfoot65
Project Manager
Posts: 11029
Joined: Mon May 25, 2009 4:31 pm

Re: New Amahi 7 feature: create Amahi plugins with one line

Postby bigfoot65 » Sun Jul 20, 2014 4:47 pm

Awesome! Can't wait to test them out.
ßîgƒσστ65
Applications Manager

Who is online

Users browsing this forum: No registered users and 1 guest