Open Sesame

F 43 completed
Devops
unknown / python · tiny
7
Files
3,251
LOC
0
Frameworks
2
Languages

Pipeline State

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

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
54.01
Framework unique
Isolation
Last stage change
2026-05-10 03:35:34
Deduplication group #51105
Member of a group with 10 similar repo(s) — canonical #26807 view group →
Top concepts (1)
Web Backend
Repobility · MCP-ready · https://repobility.com

AI Prompt

Create an AI-powered captive portal system for a GL.iNet GL-MT3000 router, called Open Sesame. This system should control nighttime internet access (9pm-5am) by requiring users to justify their usage to a Google Gemini AI via a captive portal chat interface. The AI needs to evaluate justifications and handle follow-up questions. Additionally, implement daytime features like Focus Mode (blocking sites via DNS/IP firewall) and a voluntary 'Lock Internet' feature. The architecture should involve DNS Hijacking, HTTP Redirection, and using Python on port 2050 to manage access rules, including requiring proof like screenshots for longer access times.
python captive-portal ai gemini-api router network-security captive-portal linux dnsmasq iptables
Generated by gemma4:latest

Catalog Information

Open Sesame is an AI-powered captive portal system that controls nighttime internet access on GL.iNet GL-MT3000 routers by requiring users to justify their late-night internet usage.

Description

Open Sesame is a unique solution for managing internet access on GL.iNet GL-MT3000 routers. During restricted hours, it redirects users to a captive portal chat interface where they must convince an AI-powered gatekeeper that they have a legitimate reason to access the internet. The system evaluates user justifications and grants or denies access accordingly.

الوصف

هو نظام قفصي مُحكمي يتحكم في الوصول إلى الإنترنت ليلاً على روتيرات GL.iNet GL-MT3000. خلال ساعات الحظر، يوجه المستخدمين إلى واجهة قفصي محادثة حيث يجب أن يبرروا سبب حاجتهم للوصول إلى الإنترنت أمام حارس آلي. النظام يقيم العذراً المقدم والموافقة أو الرفض حسب الحالة.

Novelty

7/10

Tags

internet-access-control ai-powered-gatekeeper captive-portal network-management router-software

Claude Models

claude-opus-4.6

Quality Score

F
43.2/100
Structure
44
Code Quality
25
Documentation
65
Testing
0
Practices
56
Security
100
Dependencies
75

Strengths

  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No tests found \u2014 high risk of regressions
  • No CI/CD configuration \u2014 manual testing and deployment
  • 1 bare except/catch blocks swallowing errors
  • 758 duplicate lines detected \u2014 consider DRY refactoring
  • 1 'god files' with >500 LOC need decomposition

Recommendations

  • Add a test suite \u2014 start with critical path integration tests
  • 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)
  • Replace bare except/catch blocks with specific exception types

Security & Health

4.6h
Tech Debt (C)
High
DORA Rating
A
OWASP (100%)
FAIL
Quality Gate
Open data scored by Repobility · https://repobility.com
A
Risk (15)
Unknown
License
7.8%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
90.3%
markdown
9.7%

Frameworks

None detected

Symbols

function64
constant23
variable14
method13
class2

Concepts (1)

Repobility · code-quality intelligence · https://repobility.com
CategoryNameDescriptionConfidence
Open data scored by Repobility · https://repobility.com
auto_categoryWeb Backendweb-backend60%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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