HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Introducing [VanillaStarter] - Quickstart plugin development
Just run from you terminal
source <(curl -sL https://raw.github.com/lifeisfoo/VanillaStarter/script/start.sh)
and a plugin directory will be created with a skeleton code (ported from vanilla skeleton plugin and customized).
The script will also ask you for the plugin name and rename everything according to it.
Since I develop many plugins, it's very annoying starting every time from scratch or copying the skeleton plugin and rename everything.
I'm working to add more useful and time saving features to the plugin code...any help is welcome. You can find the repository on github and see (or add) features (request) from the issues page.
Another, more advanced, starter kit is Gdn_PScaffold from x00
There was an error rendering this rich post.
Tagged:
14
Comments
cool ! so this basically helps create the plugin basics ? sounds good I will try it , I also hate starting from scratch with the same stuff over and over, good to know I am not alone Although doing it many times helped me memorize it so now it goes a bit faster lol but this sounds like a good time saver
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Nice
I will be making changes, to Gdn_PScaffold to decouple the working classes from the chain, and just have containers in the chain. This way it would be more flexible, to use whatever design pattern, without being to tied to hierarchy of the chain.
It will also make it much easier to understand what comes from where, as it effectively be namespaced through its own property.
ATM I don't really like the way it is, just need to make some time to do that.
grep is your friend.
Yes, but I want to add some extra features like useful code snips or convention (when possible) for common operations (create a table, add config values, auto url mappings for controller's methods, etc).
Obviously you need a unix shell to run this (on windows try installing http://www.cygwin.com/ before).
There was an error rendering this rich post.
looks great.
grep is your friend.
Nice!
The comments alone are excellent for kickstarting development on Vanilla plugins!
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
This makes me sad I don't write plugins often enough to need it right now.
This very sad indeed ((((
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
It's quite interesting, I wrote a very similar script in April (it does practically the same thing), but I thought it would not have been of much use and it's now in a "drawer". Clearly, I'm not alone in the Vanilla universe.
My shop | About Me