Is ghost open source? Can you do secondary development on ghost?

I want to add functions on the basis of ghost, so? Is ghost open source? Can you do secondary development on ghost?

Yup! Ghost is open source under the MIT license - you can find the source code here: https://github.com/TryGhost/Ghost/