{"id":13493530,"url":"https://github.com/metarhia/impress","last_synced_at":"2026-04-08T19:32:56.946Z","repository":{"id":8861573,"uuid":"10572563","full_name":"metarhia/impress","owner":"metarhia","description":"Enterprise application server for Node.js and Metarhia private cloud ⚡","archived":false,"fork":false,"pushed_at":"2026-04-01T21:06:48.000Z","size":7408,"stargazers_count":985,"open_issues_count":34,"forks_count":131,"subscribers_count":45,"default_branch":"master","last_synced_at":"2026-04-02T08:49:53.531Z","etag":null,"topics":["api","application-server","architecture","cloud","cluster","enterprise","hacktoberfest","meta-edu","metarhia","nodejs","rpc","scalable","server","websocket"],"latest_commit_sha":null,"homepage":"https://metarhia.com","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/metarhia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"patreon":"tshemsedinov"}},"created_at":"2013-06-08T18:33:12.000Z","updated_at":"2026-04-01T19:27:42.000Z","dependencies_parsed_at":"2023-12-31T20:27:27.617Z","dependency_job_id":"61598073-a842-4c34-9bc1-f86ee9c6afdd","html_url":"https://github.com/metarhia/impress","commit_stats":{"total_commits":2048,"total_committers":44,"mean_commits":46.54545454545455,"dds":0.12255859375,"last_synced_commit":"9d52f81d302c9b67d32850bf91201f2255091ae4"},"previous_names":["tshemsedinov/impress"],"tags_count":81,"template":false,"template_full_name":null,"purl":"pkg:github/metarhia/impress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metarhia%2Fimpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metarhia%2Fimpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metarhia%2Fimpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metarhia%2Fimpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metarhia","download_url":"https://codeload.github.com/metarhia/impress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metarhia%2Fimpress/sbom","scorecard":{"id":637928,"data":{"date":"2025-08-11","repo":{"name":"github.com/metarhia/impress","commit":"c84decc181624a18c9f954fc22ec153dbd437cda"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 2/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":8,"reason":"10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/metarhia/impress/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/metarhia/impress/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/metarhia/impress/test.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T09:48:02.370Z","repository_id":8861573,"created_at":"2025-08-21T09:48:02.370Z","updated_at":"2025-08-21T09:48:02.370Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","application-server","architecture","cloud","cluster","enterprise","hacktoberfest","meta-edu","metarhia","nodejs","rpc","scalable","server","websocket"],"created_at":"2024-07-31T19:01:16.181Z","updated_at":"2026-04-08T19:32:56.939Z","avatar_url":"https://github.com/metarhia.png","language":"JavaScript","funding_links":["https://patreon.com/tshemsedinov"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![impress logo](https://raw.githubusercontent.com/metarhia/Metarhia/master/Logos/impress-header.png)](https://github.com/metarhia/impress)\n[![ci Status](https://github.com/metarhia/impress/workflows/Testing%20CI/badge.svg)](https://github.com/metarhia/impress/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)\n[![snyk](https://snyk.io/test/github/metarhia/impress/badge.svg)](https://snyk.io/test/github/metarhia/impress)\n[![npm downloads/month](https://img.shields.io/npm/dm/impress.svg)](https://www.npmjs.com/package/impress)\n[![npm downloads](https://img.shields.io/npm/dt/impress.svg)](https://www.npmjs.com/package/impress)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/metarhia/impress/blob/master/LICENSE)\n\n\u003c/div\u003e\n\n**Enterprise** application server for **[Node.js](http://nodejs.org)**: secure,\nlightweight, interactive, and scalable.\n\n## Description\n\n**First** Node.js server scaled with **multithreading** and extra thin workload\n**isolation**. Optimized for **high-intensive** data exchange, rapid development,\nand **clean architecture**. Provides everything you need out of the box for\n**reliable** and **efficient backend**, network communication with web and mobile\nclients, protocol-agnostic **API**, run-time type validation, real-time and\nin-memory data processing, and **reliable stateful** services.\n\n**Weak sides**: not a good choice for content publishing including blogs and\nonline stores, server-side rendering, serving static content and stateless\nservices.\n\n**Strong sides**: security and architecture for enterprise-level applications,\nlong-lived connections over websocket to minimize overhead for cryptographic\nhandshake, no third-party dependencies.\n\n## Quick start\n\n- See project template: [metarhia/Example](https://github.com/metarhia/Example)\n- Start server with `node server.js`\n- See [documentation and specifications](https://github.com/metarhia/Contracts)\n\nAPI endpoint example: `application/api/example.1/citiesByCountry.js`\n\n```js\nasync ({ countryId }) =\u003e {\n  const fields = ['cityId', 'name'];\n  const where = { countryId };\n  const data = await db.select('City', fields, where);\n  return { result: 'success', data };\n};\n```\n\nYou can call it from client-side:\n\n```js\nconst res = await metacom.api.example.citiesByCountry({ countryId: 3 });\n```\n\n## Metarhia and impress application server way\n\n- Applied code needs to be simple and secure, so we use sandboxing with v8\n  isolated contexts, worker threads and javascript closures;\n- Domain code should be separated from system code; so we use DDD, layered\n  (onion) architecture, DI, SOLID and GRASP principles, contract-based approach;\n- Impress supports stateful applications with RPC and client-session sticky to\n  servers; microservices, centralized or distributed architecture;\n- No I/O is faster even than async I/O, so we hold state in memory, share it\n  among multiple threads and use lazy I/O for persistent storage;\n- We use just internal trusted dependencies, no third-party npm packages;\n  total Metarhia technology stack size is less than 2mb.\n\n## Features\n\n- **API auto-routing** calls to `endpoint` for rapid API development (no need to add routes manually)\n- **API concurrency**: request execution timeout and execution queue with both timeout and size limitations\n- **Schemas** for API contract, data structures validation, and domain models\n- **Application server** supports different API styles: RPC over AJAX and over Websocket, REST, and web hooks\n- **Multiple protocols** support: HTTP, HTTPS, WS, WSS\n- **Auto loader** with `start` hooks, namespace generation for code and dependencies\n- **Live reload** of code through filesystem watch\n- **Graceful shutdown** with `stop` hooks\n- **Minimal dependencies** and reduced code size\n- **Layered architecture**: api, domain logic, data access layer, and system code layer (hidden)\n- **Code sandboxing** for enhanced security and execution context isolation\n- **Code protection**: reference pollution prevention, prototype pollution prevention\n- **Multi-threading** for CPU utilization and execution isolation\n- **Load balancing** for simple scaling with redirection to multiple ports\n- **Caching**: in-memory caching for APIs and static files\n- **Configuration**: environment-specific application settings\n- **Database access** layer compatible with PostgreSQL with SQL-injection protection\n- **Persistent sessions** with authentication, groups, and anonymous sessions\n- **Buffered logging** (lazy write) with log rotation (keep logs N days) and console interface\n- **Testing**: integrated node.js native test runner and table-test support\n- **Inter-process** communication and shared memory used for state management\n- **File utilities**: upload, download, support for partial content and streaming\n- **Task Management**: scheduled task execution at specific intervals or certain times\n\n## TODO list\n\nThose features will be implemented in nearest future (3-6 months):\n\n- Server health monitoring\n- Database migrations\n- State synchronization mechanism with transactions and subscription\n- Multi-tenancy support\n\n## Requirements\n\n- Node.js v18.15 (up to v24.x)\n- Linux (tested on Fedora v36-42, Ubuntu v20-25, CentOS v8-9, RHEL v8-10)\n- PostgreSQL v12-17 (recommended v15+)\n- OpenSSL v3.0+ (optional, for https \u0026 wss)\n- [certbot](https://github.com/certbot/certbot) (recommended but optional)\n\n## License \u0026 Contributors\n\nCopyright (c) 2012-2025 Metarhia contributors.\nSee github for full [contributors list](https://github.com/metarhia/impress/graphs/contributors).\nImpress Application Server is [MIT licensed](./LICENSE).\nProject coordinator: \u0026lt;timur.shemsedinov@gmail.com\u0026gt;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetarhia%2Fimpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetarhia%2Fimpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetarhia%2Fimpress/lists"}