{"id":15553334,"url":"https://github.com/bahmutov/node-rx-cycle","last_synced_at":"2025-09-28T23:31:07.852Z","repository":{"id":66012489,"uuid":"50639801","full_name":"bahmutov/node-rx-cycle","owner":"bahmutov","description":"Example using RxJS and Cycle.js on the server to handle requests (NOT server-side rendering)","archived":false,"fork":false,"pushed_at":"2016-01-29T08:04:00.000Z","size":13,"stargazers_count":71,"open_issues_count":0,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-27T20:56:06.399Z","etag":null,"topics":["cycle","cyclejs","example","server"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahmutov.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":"2016-01-29T05:25:15.000Z","updated_at":"2024-08-08T15:17:09.000Z","dependencies_parsed_at":"2023-03-10T23:28:11.987Z","dependency_job_id":null,"html_url":"https://github.com/bahmutov/node-rx-cycle","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/bahmutov%2Fnode-rx-cycle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fnode-rx-cycle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fnode-rx-cycle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fnode-rx-cycle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmutov","download_url":"https://codeload.github.com/bahmutov/node-rx-cycle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234570296,"owners_count":18854152,"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":["cycle","cyclejs","example","server"],"created_at":"2024-10-02T14:29:28.406Z","updated_at":"2025-09-28T23:31:02.551Z","avatar_url":"https://github.com/bahmutov.png","language":"JavaScript","readme":"# node-rx-cycle\n\u003e Example using RxJS and Cycle.js on the server to handle requests (NOT server-side rendering)\n\nRead the blog post [Node server with Rx and Cycle.js](https://glebbahmutov.com/blog/node-server-with-rx-and-cycle/)\n\n## Code\n\n* [src/00-node-server.js](src/00-node-server.js) - \"hello world\" example in plain Node\n  using callback\n* [src/01-rx.js](src/01-rx.js) - simple reactive server, responding to requests\n* [src/02-1fps.js](src/02-1fps.js) - 1fps rate limited server\n* [src/rate-limit.js](src/rate-limit.js) - rate limit stream operation\n* [src/03-main.js](src/03-main.js) - refactor to sink and main function\n* [src/04-run.js](src/04-run.js) - introduced more general run function\n* [src/05-sources.js](src/05-sources.js) - clean separation between read, write effects and main logic\n\n### Small print\n\nAuthor: Gleb Bahmutov \u0026copy; 2016\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](http://glebbahmutov.com)\n* [blog](http://glebbahmutov.com/blog/)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, etc.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/node-rx-cycle/issues) on Github\n\n## MIT License\n\nCopyright (c) 2016 Gleb Bahmutov\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fnode-rx-cycle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmutov%2Fnode-rx-cycle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fnode-rx-cycle/lists"}