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: GitHub - TryGhost/Ghost: Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.