Claude Telegram Relay

F 49 completed
Ai Ml
unknown / typescript · small
194
Files
34,431
LOC
1
Frameworks
8
Languages

Pipeline State

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

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
60.47
Framework unique
Isolation
Last stage change
2026-05-10 03:35:10
Deduplication group #47850
Member of a group with 6 similar repo(s) — canonical #27009 view group →
Top concepts (2)
Project DescriptionTesting
Repobility (the analyzer behind this table) · https://repobility.com

AI Prompt

Create a self-hosted Telegram relay application that connects incoming Telegram chats to a local Claude Code CLI. The system should manage conversation memory per chat, enforce a user allowlist, and implement rate limiting using a token bucket mechanism. It needs to support sandboxed tools with a defined tool allowlist, and importantly, it must redact bot tokens and sensitive values from logs. The setup should guide the user through configuration using environment variables for the bot token and allowed users.
typescript telegram cli bot automation security chat relay node.js bun
Generated by gemma4:latest

Catalog Information

Bastion is a personal AI fortress for users to manage and secure their digital presence.

Description

Bastion is an AI-powered tool that provides a secure and personalized environment for users to manage their online activities. It uses machine learning algorithms to detect and prevent potential threats, ensuring the user's digital safety. With Bastion, users can monitor their online accounts, receive alerts for suspicious activity, and take action to protect themselves.

الوصف

هو أداة قوية تعمل بالتعلم الآلي لتحسين أمان وخصوصية المستخدمين على الإنترنت. يمكن للمستخدمين استخدامها لمتابعة حساباتهم، تلقي إشعارات عن الأنشطة الشكوكية، وتحرك لضمان سلامتهم.

Novelty

7/10

Tags

digital-security online-threat-detection machine-learning account-monitoring alert-system

Technologies

anthropic puppeteer vitest

Claude Models

claude-opus-4.6 claude-sonnet-4.5 claude-haiku-4.5

Quality Score

F
49.3/100
Structure
51
Code Quality
60
Documentation
50
Testing
40
Practices
47
Security
35
Dependencies
60

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No CI/CD configuration \u2014 manual testing and deployment
  • Potential hardcoded secrets in 2 files
  • 4305 duplicate lines detected \u2014 consider DRY refactoring
  • 4 'god files' with >500 LOC need decomposition

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)
  • Move hardcoded secrets to environment variables or a secrets manager
  • Address 107 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

30.8h
Tech Debt (C)
A
OWASP (100%)
FAIL
Quality Gate
A
Risk (14)
Repobility · severity-and-effort ranking · https://repobility.com
Unknown
License
5.2%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

typescript
59.5%
markdown
14.5%
json
14.2%
javascript
4.8%
html
4.8%
css
1.2%
text
1.0%
toml
0.0%

Frameworks

Vitest

Concepts (2)

Open data · scored by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Repobility — the code-quality scanner for AI-generated software · https://repobility.com
auto_descriptionProject DescriptionSelf-hosted Telegram relay that connects Telegram chats to a local Claude Code CLI and returns responses — no cloud API keys needed, just the CLI on your PATH.80%
auto_categoryTestingtesting70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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