Own JS script implementation

Hello,

Im new and currently going through the features of Ghost CMS on my local machine. I must say, I love whole concept of system/blog/membership really simple and intuitive.

My question: Is possible to implement my own scripts on server side so users will not see my code ?

For example, I have own JS scripts that calculate some values based on user input parameters (mostly numbers). Users can add input parameters (e.g. by input fields, textarea etc…) and my script calculate value and returned to another textarea, input field, to image etc.

Is it possible via simple way ? I do not wanna change core and after updates doing code over again.

Best regards, Mark.

Thanks,

I also thought it would be good via API, I can do api in nodeJS. Have a good day