{"id":13519074,"url":"https://github.com/moondrop/helica","last_synced_at":"2025-03-31T12:31:09.369Z","repository":{"id":57262380,"uuid":"304386527","full_name":"moondrop/helica","owner":"moondrop","description":"✨  A blazing fast micro web framework made for rapid development of RESTful APIs","archived":false,"fork":false,"pushed_at":"2022-08-21T12:12:02.000Z","size":464,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T21:44:38.386Z","etag":null,"topics":["api","crud","fast","http","nodejs","oop","rest","rest-api","routing","server","webserver"],"latest_commit_sha":null,"homepage":"https://helica.moondrop.io","language":"JavaScript","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/moondrop.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}},"created_at":"2020-10-15T16:31:03.000Z","updated_at":"2023-02-05T01:45:48.000Z","dependencies_parsed_at":"2022-08-25T04:20:56.731Z","dependency_job_id":null,"html_url":"https://github.com/moondrop/helica","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/moondrop%2Fhelica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moondrop%2Fhelica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moondrop%2Fhelica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moondrop%2Fhelica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moondrop","download_url":"https://codeload.github.com/moondrop/helica/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246469079,"owners_count":20782663,"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":["api","crud","fast","http","nodejs","oop","rest","rest-api","routing","server","webserver"],"created_at":"2024-08-01T05:01:53.560Z","updated_at":"2025-03-31T12:31:09.050Z","avatar_url":"https://github.com/moondrop.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://i.imgur.com/N1XJO2l.jpeg\" alt=\"Helica\" width=\"600\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003eA blazing fast micro web framework made for rapid development of RESTful APIs\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/xojs/xo\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/code%20style-xo-5ed9c7?style=for-the-badge\" alt=\"Code Style: XO\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/license-MIT-ed184e?style=for-the-badge\" alt=\"MIT License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/helica\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/v/helica?color=ed184e\u0026style=for-the-badge\" alt=\"npm Release\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n## About\nHelica is an incredibly fast and highly performant web framework made for rapid development of RESTful APIs and minimalistic server-side rendered web applications.\n\nHelica follows a fully object-oriented approach to creating a beautifully simple yet incredibly powerful architecture that allows developers to rapidly build highly demanding APIs, server-side rendered web applications and various other applications that require assets to be served to the web.\n\nRoutes are handled by ***resource handlers***, which are JavaScript classes including methods corresponding to the HTTP methods they should handle for the registered route. This allows for incredibly fast and easy development of clean, easy to follow, maintainable and reusable code.\n\n## Intentions\nWhile many other web frameworks for Node.js are *already* very fast in themselves, they're inherently bottlenecked by using the native Node.js HTTP server. Helica is built on top of a [custom HTTP server](https://github.com/uNetworking/uWebSockets.js/) written entirely in C++ in conjunction with highly optimized v8 bindings. \n\nThis translates to **up to 300% the speed** of the native Node.js HTTP server excluding the use of any framework and **up to 500% the speed** of popular solutions like Express.\n\nA full benchmarking suite including exact results and used code can be found [here](/benchmark).\n\n## Installing\nInstalling Helica is as easy as typing\n\n```\n❯ npm install helica\n```\n\n\u003e \u003cbr /\u003e **Warning!** \u003cbr /\u003e\u003cbr /\u003eRunning Helica via Yarn is **not supported** as Yarn lacks the capability of forwarding SIGINT events to the underlying process, thus breaking graceful shutdowns! Use at your own risk!\u003cbr /\u003e\u0026nbsp;\n\n## Documentation\nA full documentation can be found at [helica.moondrop.io](https://helica.moondrop.io)\n\n## Getting Started\nGetting started with Helica is as simple as initiating a new project, installing Helica as depcited above and adding an `index.js` file with following contents:\n\n```js\nconst Helica = require('helica');\nconst app = new Helica.Server({ sslApp: false, debug: true });\n\nclass HelloWorld {\n    get(response, request) {\n        response.end('Hello World!');\n    }\n}\n\napp.addResource('/', HelloWorld);\napp.run();\n```\n\n## License\nThis repository makes use of the [MIT License](https://opensource.org/licenses/MIT) and all of its correlating traits.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoondrop%2Fhelica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoondrop%2Fhelica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoondrop%2Fhelica/lists"}