The Sails framework is open-source and distributed under the MIT license.
The Treeline command-line tool (Treeline CLI) is open-source and distributed under the MIT license.
The apps that Treeline compiles are Sails apps, and can be used, modified, and licensed however you see fit.
For custom licensing, or to run Treeline server on premises, contact us.