{"id":17924228,"url":"https://github.com/sebastiaanyn/rmr","last_synced_at":"2025-07-28T15:11:30.087Z","repository":{"id":93236001,"uuid":"154895028","full_name":"SebastiaanYN/RMR","owner":"SebastiaanYN","description":"A simple to use web server framework for Dart","archived":false,"fork":false,"pushed_at":"2018-10-26T21:14:01.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T09:24:59.705Z","etag":null,"topics":["backend","dart","dart-frameworks","dart-library"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SebastiaanYN.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-26T21:12:09.000Z","updated_at":"2018-10-27T12:14:23.000Z","dependencies_parsed_at":"2023-03-04T02:45:47.491Z","dependency_job_id":null,"html_url":"https://github.com/SebastiaanYN/RMR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SebastiaanYN/RMR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanYN%2FRMR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanYN%2FRMR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanYN%2FRMR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanYN%2FRMR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SebastiaanYN","download_url":"https://codeload.github.com/SebastiaanYN/RMR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanYN%2FRMR/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267535898,"owners_count":24103390,"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-07-28T02:00:09.689Z","response_time":68,"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":["backend","dart","dart-frameworks","dart-library"],"created_at":"2024-10-28T20:47:41.777Z","updated_at":"2025-07-28T15:11:30.051Z","avatar_url":"https://github.com/SebastiaanYN.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web server framework for Dart\n**RMR** allows you to easily create a scalable server backend for your web applications.\n\n## Example\nSee `example/example.dart`\n```dart\nimport 'dart:io';\n\nimport 'package:rmr/rmr.dart';\n\nvoid main() async {\n  Server server = Server();\n\n  server.get(Path('/'), [\n    (rmr) {\n      print('Got a request on ${rmr.req.uri}');\n      rmr.next();\n    },\n    (rmr) {\n      rmr.html(HttpStatus.ok, '\u003ch1\u003eHello from RMR\u003c/h1\u003e');\n    }\n  ]);\n\n  server.listen(InternetAddress.loopbackIPv4, 4040, (server) {\n    print('Listening on ${server.address} port ${server.port}');\n  });\n}\n```\n\n## Handlers and Middleware\n**RMR** is a middleware based framework. This means requests can be handled in separate parts allowing you to group\ncommon functionality together. When `rmr.next()` is called execution is passed on to the next handler. **RMR** also hides\na lot of the ugly code that comes with writing a server by providing some handy shortcuts. Such as listening for specific\nrequest methods and paths, sending `html`, `css`, `js` and `json` data to the client and more.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiaanyn%2Frmr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastiaanyn%2Frmr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiaanyn%2Frmr/lists"}