{"id":32179145,"url":"https://github.com/gered/clj-browserchannel","last_synced_at":"2025-10-21T21:03:21.088Z","repository":{"id":24833146,"uuid":"28247821","full_name":"gered/clj-browserchannel","owner":"gered","description":"Cross browser, bi-directional communication between ClojureScript and Clojure with BrowserChannel","archived":true,"fork":true,"pushed_at":"2016-05-31T20:05:07.000Z","size":326,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T01:53:47.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kirasystems/clj-browserchannel","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gered.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-19T21:54:41.000Z","updated_at":"2023-01-28T04:06:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gered/clj-browserchannel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gered/clj-browserchannel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gered%2Fclj-browserchannel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gered%2Fclj-browserchannel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gered%2Fclj-browserchannel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gered%2Fclj-browserchannel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gered","download_url":"https://codeload.github.com/gered/clj-browserchannel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gered%2Fclj-browserchannel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280333505,"owners_count":26312845,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-21T21:01:11.450Z","updated_at":"2025-10-21T21:03:21.080Z","avatar_url":"https://github.com/gered.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clj-browserchannel\n\nCross-browser compatible, real-time, bi-directional\ncommunication between ClojureScript and Clojure using Google Closure\nBrowserChannel.\n\nFrom the [Google Closure API][1]:\n\n\u003e A BrowserChannel simulates a bidirectional socket over HTTP. \n\u003e It is the basis of the Gmail Chat IM connections to the server.\n\nThe JavaScript API of BrowserChannel is open-source and part of the\nGoogle Closure library. The server component is not, as is noted in\nthe Google Closure book (\"Closure: The Definitive Guide by Michael Bolin\").\n\n[1]: https://google.github.io/closure-library/api/source/closure/goog/net/browserchannel.js.src.html\n\n## Usage\n\nThis project is comprised of multiple libraries. You'll need to include\ntwo of them in your projects.\n\n[clj-browserchannel][2] is the main library containing both the server- and\nclient-side functionality you'll use in your web apps.\n\nIn order to use the server implementation of BrowserChannel you'll need to\nuse one of the async adapters. Currently the provided options are:\n\n* [clj-browserchannel-jetty-adapter][3]\n* [clj-browserchannel-immutant-adapter][4]\n\n[2]: https://github.com/gered/clj-browserchannel/tree/master/clj-browserchannel\n[3]: https://github.com/gered/clj-browserchannel/tree/master/clj-browserchannel-jetty-adapter\n[4]: https://github.com/gered/clj-browserchannel/tree/master/clj-browserchannel-immutant-adapter\n\nYou can find more information on usage of all of these components by\nfollowing any of the above links to them.\n\n## Demo\n\nThe [chat-demo][5] application is an example chat application using a\nclient-side and server-side implementation for BrowserChannel written in\nClojure/ClojureScript. The server component is for BrowserChannel version 8.\nThe client component serves as a wrapper over `goog.net.BrowserChannel`\nwhich also currently implements version 8 of the protocol.\n\n[5]: https://github.com/gered/clj-browserchannel/tree/master/chat-demo\n\nThe chat-demo web app runs in at least:\n\n* Chrome\n* Firefox\n* Internet Explorer 5.5+ (!!)\n* Android browser\n* Others\n\n## Related and alternative frameworks\n\n* Websockets - Websockets solve the same problems as BrowserChannel,\n  however BrowserChannel works on almost all existing clients.\n  Websockets ultimately replaces BrowserChannel.\n* socket.io - [socket.io][6] provides a similar api as BrowserChannel on\n  top of many transport protocols, including websockets. BrowserChannel\n  only has two transport protocols: XHR and forever frames (for IE) in\n  streaming and non-streaming mode.\n\n[6]: http://socket.io\n\n## Other BrowserChannel implementations\nMany thanks to these authors, their work is the only open-source\ndocumentation on the BrowserChannel protocol.\n\n* [libevent-browserchannel-server][libevent]\nin C++ by Andy Hochhaus - Has the most extensive documentation on the BrowserChannel protocol (dead project?). See the protocol documentation on [archive.org][libevent-doc].\n* [browserchannel][ruby] in Ruby by David Turnbull (dead project?)\n* [node-browserchannel][node]\nin Node.js/Javascript by Joseph Gentle\n\n[libevent]: http://code.google.com/p/libevent-browserchannel-server\n[libevent-doc]: http://web.archive.org/web/20121226064550/http://code.google.com/p/libevent-browserchannel-server/wiki/BrowserChannelProtocol\n[ruby]: https://github.com/dturnbull/browserchannel\n[node]: https://github.com/josephg/node-browserchannel\n\n## About\n\nWritten by:\nGijs Stuurman /\n[@thegeez](http://twitter.com/thegeez) /\n[Blog](http://thegeez.github.com) /\n[GitHub](https://github.com/thegeez)\n\nMany updates in this fork by:\nGered King /\n[@geredking](http://twitter.com/geredking) /\n[GitHub](https://github.com/gered)\n\n### License\n\nCopyright (c) 2012 Gijs Stuurman and released under an MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgered%2Fclj-browserchannel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgered%2Fclj-browserchannel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgered%2Fclj-browserchannel/lists"}