backup your codes.
git clone https://github.com/NodeBB/NodeBB.git
switch to tag that you modified from. Perhaps, v0.4.3? e.g. git checkout v0.4.3
rsync your codes to the clone.
git commit, git tag my_tag, git checkout master, git merge my_tag
You may have to solve conflicts by yourself.
Not sure what you're trying to do - publish topics to NodeBB from another software?
Wonder if this will help you: https://github.com/psychobunny/nodebb-plugin-blog-comments
Lets you post a new topic (or reply to topics) from Ghost. I want to do WP in the future as well