Rytejs

B+ 85 completed
Library
monorepo / typescript · small
102
Files
11,538
LOC
0
Frameworks
5
Languages

Pipeline State

completed
Run ID
#344916
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
60.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:02
Deduplication group #48860
Member of a group with 20 similar repo(s) — canonical #10530 view group →
Top concepts (2)
Project DescriptionDocumentation
Generated by Repobility's multi-pass static-analysis pipeline (https://repobility.com)

AI Prompt

Create a type-safe workflow engine using TypeScript. I need it to allow developers to define state machines using Zod schemas, and support middleware pipelines. The engine should let me define states, commands, and events, and it must support running workflows with middleware support. It should also feature a fluent builder API and support composable routers. Please ensure the core logic is pure and works without platform lock-in.
typescript workflow-engine state-machine zod middleware typescript-web backend
Generated by gemma4:latest

Catalog Information

Rytejs is a type-safe workflow engine that lets developers define state machines with Zod schemas and run them with middleware support.

Description

Rytejs is a type-safe workflow engine that lets developers define state machines using Zod schemas and run them with middleware support. It provides full type inference from state definitions to command dispatch, ensuring that every state, command, event, and error is fully typed and autocompleted. The engine supports Koa-style middleware, allowing global, state-scoped, or inline middleware for tasks such as authentication, logging, or validation without touching handlers. Handlers can be split across files and composed with routers, promoting modularity and maintainability. Rytejs runs on Node.js, Bun, and Deno with no runtime dependencies beyond Zod, making it lightweight and portable.

الوصف

يتيح Rytejs للمطورين إنشاء نماذج سير عمل تعتمد على الحالة، مع تعريف كل حالة ببيانات محددة باستخدام مخططات Zod. يدعم المحرك تنفيذ أوامر وإطلاق أحداث، مع التحقق القوي من الأنواع لضمان أن كل خطوة تتبع القواعد المحددة مسبقاً. يتيح النظام إضافة وسطاء على مستوى الكل أو على مستوى الحالة، مما يسهل إضافة وظائف مثل المصادقة أو تسجيل السجلات دون تعديل المنطق الأساسي. يمكن تجميع مسارات متعددة في مسارات فرعية، مما يتيح تنظيم الكود عبر ملفات متعددة مع الحفاظ على التوافق. يعمل على بيئات Node.js و Bun و Deno، ولا يتطلب أي تبعيات تشغيلية إضافية بخلاف Zod. يحقق التكامل مع نماذج التصميم الموجهة بالمجال، حيث تُعتبر الأخطاء والبيانات جزءاً من العقد المتفق عليه. يوفر واجهة بناء سلسة تسمح بربط الحالات والأوامر والوسطاء بطريقة سلسة وسهلة القراءة.

Novelty

7/10

Tags

workflow-engine type-safe-state-machine zod-validation middleware-pipelines event-driven-architecture domain-driven-design composable-routers

Claude Models

claude-opus-4.6 claude-sonnet-4.6

Quality Score

B+
85.4/100
Structure
79
Code Quality
100
Documentation
78
Testing
85
Practices
68
Security
100
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (74% test-to-source ratio)
  • Code linting configured (biome)
  • Good security practices \u2014 no major issues detected
  • Properly licensed project

Weaknesses

  • 161 duplicate lines detected \u2014 consider DRY refactoring

Security & Health

8.3h
Tech Debt (B)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (2)
Repobility analyzer · published findings · https://repobility.com
MIT
License
11.8%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

typescript
46.8%
markdown
18.5%
yaml
18.2%
json
16.2%
shell
0.3%

Frameworks

None detected

Concepts (2)

Repobility · code-quality scanner for AI-generated software · https://repobility.com
CategoryNameDescriptionConfidence
Same scanner, your repo: https://repobility.com — Repobility
auto_descriptionProject DescriptionType-safe workflow engine with Zod validation and middleware pipelines.80%
auto_categoryDocumentationdocs70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/68978.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV