Sharing scripts
If you have created a useful script that may help other users, it would be good to share it with the community so that others don't need to reinvent the wheel.
The most obvious and easiest way to share a Processing Python script is just to send it to those who are interested, or upload it to any file-sharing or hosting site and make the link to this file available to everyone. It is necessary to remember that in contrast to the models, script help is stored in a separate file, not in the script itself. So, you should not forget to include the script help file when uploading or sending.
A slightly more complex way—but at the same time, very convenient and user-friendly—is to publish your script on the Processing models and scripts community repository. This repository was created in the spring of 2014, and provides a centralized way to share Processing scripts and models among QGIS users.
To put your script into the repository, you need to fork the GitHub...