{"id":16949982,"url":"https://github.com/tailhook/debian-zerogw","last_synced_at":"2025-03-21T10:24:17.919Z","repository":{"id":4181635,"uuid":"5298483","full_name":"tailhook/debian-zerogw","owner":"tailhook","description":"Debian packaging for zerogw","archived":false,"fork":false,"pushed_at":"2012-08-04T20:33:15.000Z","size":312,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T07:07:17.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailhook.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-04T20:32:34.000Z","updated_at":"2014-02-27T09:52:35.000Z","dependencies_parsed_at":"2022-08-25T22:41:10.192Z","dependency_job_id":null,"html_url":"https://github.com/tailhook/debian-zerogw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdebian-zerogw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdebian-zerogw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdebian-zerogw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdebian-zerogw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailhook","download_url":"https://codeload.github.com/tailhook/debian-zerogw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244776546,"owners_count":20508546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:56:32.680Z","updated_at":"2025-03-21T10:24:17.893Z","avatar_url":"https://github.com/tailhook.png","language":"C","readme":"Zerogw\n======\n\nZerogw is a http to zeromq gateway. Which means it listens HTTP, parses\nrequest and sends it using zeromq socket (ZMQ_REQ). Then waits for the reply\nand responds with data received from zeromq socket.\n\nStarting with v0.3 zerogw also supports WebSockets. Websockets are implemented\nby forwarding incoming messages using ZMQ_PUB socket, and listening clommands\nfrom ZMQ_SUB socket. Each WebSocket client can be subscribed to unlimited\nnumber of topics. Each zeromq message it either control message (e.g.\nsubscription) or message to a specified topic which will be efficiently sent\nto every WebSocket subscribed to that particular topic.\n\nZerogw is written in C  and uses libwebsite library for handling HTTP (which\nitself uses libev).\n\nZerogw is not a full-blown http server. It knows nothing about static files,\ncaches, CGI, whatever. It knows some routing and that's almost it. That makes\nit very fast and perfectly scalable.\n\nUse it for:\n * RPC's\n * REST API's\n * Ajax\n * WebSockets\n\nDon't use it for:\n * Serving static\n * File uploads\n * Huge full-blown web pages (maybe)\n\nInstalling\n----------\n\nUbuntu::\n\n    sudo add-apt-repository ppa:tailhook/zerogw\n    sudo apt-get install zerogw\n\nArchLinux::\n\n    yaourt -S zerogw\n\nFor other distributions refer to Compiling section.\n\nWe currently support only Linux.\n\nDependencies\n------------\n\n * libwebsite_ for handling http\n * coyaml_ for handling configuration\n * python3_ needed for coyaml to build configuration parser\n * libzmq_ and libev_ of course\n * libyaml_ for parsing configuration\n\nFirst two usually compiled statically, so you don't need them at runtime. Same\nwith python. (Eventually, I'll release a bundle with precompiled configuration\nparser and embedded few other libraries for easier compiling :) )\n\n.. _libwebsite: http://github.com/tailhook/libwebsite\n.. _coyaml: http://github.com/tailhook/coyaml\n.. _python3: http://python.org/\n.. _libyaml: http://pyyaml.org/wiki/LibYAML\n.. _libzmq: http://zeromq.org/\n.. _libev: http://software.schmorp.de/pkg/libev.html\n\n\nCompiling\n---------\n\n::\n\n    ./waf configure --prefix=/usr\n    ./waf build\n    ./waf install\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Fdebian-zerogw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailhook%2Fdebian-zerogw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Fdebian-zerogw/lists"}