Of course it’s possible. Heck, you can run an HTTP server in a CEP panel if you really want (but if you don’t appreciate how dangerous this could be then you absolutely shouldn’t be doing it): medium.com/adobetech/how-to-build-a-node-js-server-in-a-panel-ba1d63ea67e2 The practical questions are 1. is it cost-effective, and 2. does it violate Adobe’s licensing terms? Regarding licensing restrictions, start here: community.adobe.com/t5/illustrator/how-to-use-illustrator-as-a-server-in-automation-workflow/m-p/8703954#M30486 As for cost-effective, speaking from my own past experience building an intranet-hosted AI workflow server†: 1. probably not, and 2. see licensing restrictions. As far as an implementation goes, you can either whip up something quick-n-dirty in a week to run on an old desktop machine on a nearby desk, or spend months developing a robust, fault-tolerant, load-balancing system to host on a shiny rack in your server room. The first (which is doable with modest web and AI scripting skills) will regularly fall over, requiring regular manual nursing (hence the nearby desk). The second (which demands experienced web and automation developers) can provide its users with a reliable web service, once you’ve identified all the different problems that AI will throw up (modal dialogs, scripting bugs, internal AI errors that occur with prolonged use) and written code to detect and recover from those failures automatically. Both, IME, are a pain. So unless you’re developing it for in-house use in a large graphics studio where 1. there’s a high-volume of work, and 2. the automated work is too time-consuming for operators just to run scripts on their own desktops (which is the simple and obvious solution), it really isn’t an effective use of anyone’s time. (The automation system I built as a followup to that intranet-based workflow server ran as a standalone desktop app on individual users’ machines, driving their copy of AI directly. It was a much more satisfactory solution.) That said, there is big money to be made selling and/or running customer-facing artwork automation servers (independent of whether or not they actually meet users’ needs). Kallik and Chili Publish are typical B2B products being sold to clients that wish to automate their own artwork production. (Kallik uses its own PDF composition engine; Chili runs atop InDesign Server.) And Moonpig is a classic example of variable artwork production (greetings cards, etc) being sold as a B2C product. (I don’t what Moonpig use but assume it’s custom-built PDF-based system.) But you’re not going to break into that field running atop AI because the standard licensing terms do not allow it; not unless you’re big and rich enough to negotiate a one-off licensing deal with Adobe enterprise. (And if you are that big and rich you’ll just license ID Server or, more likely, roll your own so you own your IP outright and aren’t dependent on a third-party vendor or their twitchy desktop apps.) So, again, if you want specific advice then please describe what type of artwork you’re looking to produce and for what audience. Otherwise, my general advice is: don’t bother. It might sound good in theory but it’s a waste of time in practice; and whatever it is you’re trying to do there are better ways to achieve it. -- † Linux VM running an HTTP-based job-queue service farming out work to several OS X VMs running AI. As a technology it was quite impressive. As an ROI, not so much.
... View more