{"id":16950152,"url":"https://github.com/tailhook/zerogw","last_synced_at":"2025-05-07T07:19:45.471Z","repository":{"id":966426,"uuid":"758641","full_name":"tailhook/zerogw","owner":"tailhook","description":"A fast HTTP/WebSocket to zeromq gateway (UNMAINTAINED, take a look at swindon web server instead)","archived":false,"fork":false,"pushed_at":"2015-06-09T12:47:12.000Z","size":1340,"stargazers_count":249,"open_issues_count":7,"forks_count":27,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-07T07:19:35.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://zerogw.com","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":"2010-07-05T22:30:16.000Z","updated_at":"2024-11-28T16:28:06.000Z","dependencies_parsed_at":"2022-08-16T11:40:14.229Z","dependency_job_id":null,"html_url":"https://github.com/tailhook/zerogw","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fzerogw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fzerogw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fzerogw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fzerogw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailhook","download_url":"https://codeload.github.com/tailhook/zerogw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252831291,"owners_count":21810785,"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:57.731Z","updated_at":"2025-05-07T07:19:45.452Z","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 commands\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\n\nResources\n---------\n\n* Home page: http://zerogw.com\n* Mailing list: http://groups.google.com/group/zerogw\n* Documentation: http://docs.zerogw.com\n* Online chat example: http://tabbedchat.zerogw.com\n\n\nInstalling\n----------\n\nUbuntu::\n\n    sudo add-apt-repository ppa:tailhook/zerogw\n    sudo apt-get update\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 * linux with kernel at least 2.6.28 (need accept4)\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%2Fzerogw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailhook%2Fzerogw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Fzerogw/lists"}