Aprot

C+ 76 completed
Library
monorepo / go · small
99
Files
18,584
LOC
2
Frameworks
7
Languages

Pipeline State

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

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
75.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:10
Deduplication group #48620
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionTesting
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/

AI Prompt

Create a backend system using Go for building type-safe real-time APIs. I need the framework to support both WebSocket and SSE+HTTP transports with an identical API. Key features should include automatic TypeScript client generation from Go types, support for middleware like authentication, and handling complex scenarios like user-targeted push messages and progress reporting for long-running operations. It should also support defining enums and handling request cancellation.
go real-time websocket sse typescript api backend type-safe json-rpc
Generated by gemma4:latest

Catalog Information

A Go library for building type-safe real-time APIs with automatic TypeScript client generation.

Description

aprot is a Go library that enables the creation of type-safe real-time APIs with automatic TypeScript client generation. It supports both WebSocket and SSE+HTTP transports, providing features such as type-safe handlers, automatic TypeScript generation, enum support, React hooks, middleware support, connection lifecycle hooks, user-targeted push, progress reporting, hierarchical sub-tasks, shared tasks, request cancellation, server push, server-pushed config, and dual transport.

الوصف

هي مكتبة Go التي تسمح بإنشاء APIs في الوقت الفعلي آمنة النوع مع توليد عمدي للعميل TypeScript تلقائيًا. تدعم كلاً من WebSocket و SSE+HTTP، وتوفر ميزات مثل handlers آمنة النوع، توليد TypeScript تلقائي، دعم الإعدادات، hooks React، دعم الوسيط، hooks دورة الاتصال، إرسال الموجه لل пользователя، تقرير التقدم، مهام فرعية هرمية، مهام مشتركة، إلغاء الطلب، إرسال الخادم، تكوين الخادم المرسل، و نقل النقل.

Novelty

7/10

Tags

real-time-api type-safe-handlers automatic-typescript-generation websocket sse-http react-hooks middleware-support

Technologies

ent

Claude Models

claude-opus-4.6 claude-opus-4.5

Quality Score

C+
76.5/100
Structure
65
Code Quality
79
Documentation
74
Testing
75
Practices
76
Security
100
Dependencies
60

Strengths

  • Well-documented README with substantial content
  • CI/CD pipeline configured (github_actions)
  • Good test coverage (36% test-to-source ratio)
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • 1099 duplicate lines detected \u2014 consider DRY refactoring
  • 1 'god files' with >500 LOC need decomposition

Recommendations

  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)

Security & Health

5.6h
Tech Debt (A)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (1)
Repobility · code-quality intelligence · https://repobility.com
Unknown
License
10.7%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

go
59.4%
json
23.5%
typescript
9.2%
markdown
6.2%
html
0.8%
css
0.5%
yaml
0.3%

Frameworks

Vitest Vite

Concepts (2)

Repobility · code-quality intelligence · https://repobility.com
CategoryNameDescriptionConfidence
Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/
auto_descriptionProject DescriptionAPI Protocol for Real-time Operations with TypeScript80%
auto_categoryTestingtesting70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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