Nchan is about 12K lines of C, I&#x27;d say 2-5K of that is dealing with Nginx guts. To get rid of Nginx entirely, you&#x27;d need to add an event loop, forking and multiprocess management, config parsing and reloading, and shared memory allocation code. That&#x27;s not a simple task, but it&#x27;s certainly possible. The reason I built this on top of Nginx is precisely because I didn&#x27;t want to handle those other things. Besides, nginx these days is a hulking scalable monster. What&#x27;s the bother?<p>If you really don&#x27;t want an nginx dependency, I&#x27;d say you&#x27;re better off rolling your own pubsub server in Node.