As NuZZ noted, this is the plan. It is already written as a library with a server-like architecture (you send requests and get JSON responses). The vision is to wrap it in a stand-alone HTTP server shim that understands .tern-project files that you can drop in your project directory, and then write editor plug-ins that talk to this server (and automatically start it up if it's not already running).