{"id":50445311,"url":"https://github.com/coe0718/archiview","last_synced_at":"2026-05-31T21:02:43.323Z","repository":{"id":353880345,"uuid":"1221277201","full_name":"coe0718/archiview","owner":"coe0718","description":"Prompt-to-Scene hackathon for Nous ","archived":false,"fork":false,"pushed_at":"2026-04-29T20:21:54.000Z","size":350,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-29T22:27:36.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coe0718.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-26T01:34:15.000Z","updated_at":"2026-04-29T20:21:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/coe0718/archiview","commit_stats":null,"previous_names":["coe0718/prompt-to-scene","coe0718/archiview"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/coe0718/archiview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coe0718%2Farchiview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coe0718%2Farchiview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coe0718%2Farchiview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coe0718%2Farchiview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coe0718","download_url":"https://codeload.github.com/coe0718/archiview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coe0718%2Farchiview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33748607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-05-31T21:02:37.707Z","updated_at":"2026-05-31T21:02:43.317Z","avatar_url":"https://github.com/coe0718.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Archiview\n\n\u003e **Autonomous code review by AI agents.**  \n\u003e Point it at any public GitHub repo. It reads the codebase, analyzes architecture, scores code quality, checks for security issues, and generates a beautiful audit report — entirely autonomously.\n\n**🏆 AI Code Audit Tool Submission · Due May 3, 2026**  \n**🎯 Kimi K2.6 Track ($5k bonus) — powered by OpenRouter**\n\n[![Self Audit](https://audit.patchhive.dev/api/audit/badge?repo=coe0718/archiview)](https://audit.patchhive.dev/?repo=coe0718/archiview)\n\n---\n\n## What It Does\n\nArchiview runs a **3-pass LLM analysis** on any public GitHub repository:\n\n| Pass | What Happens | Time |\n|------|-------------|------|\n| **1. Structural Analysis** | Reads README, config files, directory tree → maps architecture, framework, language, build system | ~10s |\n| **2. Deep Code Review** (MiniMax M2.7) | Source files chunked and analyzed for code quality, security, maintainability — one file at a time | ~15-60s |\n| **3. Aggregation** | All findings merged into final scores, prioritized recommendations, risks, and verdict | ~10s |\n\n**Two models, one pipeline:** Kimi K2.6 handles structural analysis, aggregation, and fix generation. MiniMax M2.7 handles deep code review and PR candidate selection. Both via OpenRouter. Live SSE streaming shows progress in real time.\n\n### Sample Repo Scores\n\n\u003c!-- Famous repo results load dynamically — these are populated by the background seeder --\u003e\nClick any to audit it yourself.\n\n[Audit expressjs/express](https://audit.patchhive.dev/?repo=expressjs/express) · [Audit facebook/react](https://audit.patchhive.dev/?repo=facebook/react) · [Audit vuejs/core](https://audit.patchhive.dev/?repo=vuejs/core) · [Audit coe0718/archiview (self-audit)](https://audit.patchhive.dev/?repo=coe0718/archiview)\n\n---\n\n## Quick Start\n\n```bash\n# Clone\ngit clone https://github.com/coe0718/archiview \u0026\u0026 cd archiview\n\n# Set up API keys\ncp .env.example .env\n# Edit .env — add your OPENROUTER_API_KEY (required for Kimi K2.6 + MiniMax M2.7)\n# Also set GITHUB_TOKEN to enable PR publishing\n\n# Start (no npm install needed — zero dependencies)\nnode server.js\n\n# Open\nopen http://localhost:7041\n```\n\n### Docker\n\n```bash\ndocker compose up\nopen http://localhost:7041\n```\n\n---\n\n## Features\n\n### 🔍 Repo Auditor (Primary)\n\n| Feature | Description |\n|---------|-------------|\n| **3-Pass LLM Analysis** | Structural → Deep → Aggregation pipeline |\n| **5-Axis Scoring** | Architecture, Code Quality, Security, Documentation, Maintainability (0-100) |\n| **Radar Chart** | SVG pentagon visualization in every report |\n| **Live SSE Streaming** | Watch each pass's reasoning steps in real time |\n| **Prioritized Findings** | CRITICAL / WARNING / INFO with file locations and fix suggestions |\n| **Smart PR Generation** | Evaluates findings through safety gates (no docs, no vendor, validation required), generates unified diffs, and produces human-reviewable dry-run packages with structured rejection summaries — no auto-push, no noise |\n| **Download Report** | Standalone HTML file, all CSS inlined, no server needed |\n| **Print / Save as PDF** | Opens report in new window with print dialog |\n| **SVG Badge** | `[![Archiview](https://audit.patchhive.dev/api/audit/badge?repo=user/repo)](...)` — paste in any README |\n| **Share Links** | Add `?repo=user/repo` to URL — shareable, auto-loads and runs |\n| **Scan History** | Persisted to disk, survives restarts, shows ↑↓→ trend arrows |\n| **Famous Repo Showcase** | Background-seeded scores for Express, React, Vue, Jest |\n| **Self-Audit** | Click \"🔍 self-audit\" — the auditor audits its own codebase |\n| **File Count Selector** | Choose 10/25/50/100 files for depth vs. speed control |\n| **One-Click Re-audit** | Click any history entry to re-run |\n\n---\n\n## Badge\n\nAdd this badge to your project's README after running an audit:\n\n```\n[![Archiview](https://audit.patchhive.dev/api/audit/badge?repo=user/repo)](https://audit.patchhive.dev/?repo=user/repo)\n```\n\nThe badge shows the overall score (color-coded) and links back to the full report.\n\n---\n\n## API Endpoints\n\n### Repo Auditor\n\n| Method | Endpoint | Description |\n|--------|----------|-------------|\n| `GET` | `/` or `/audit` | Repo Auditor UI |\n| `POST` | `/api/audit` | Run a full audit `{ repo: \"user/repo\", maxFiles: 10 }` (SSE stream) |\n| `GET` | `/api/audit/history` | Scan history (JSON array) |\n| `GET` | `/api/audit/famous` | Famous repo cached results |\n| `GET` | `/api/audit/badge?repo=user/repo` | SVG score badge |\n| `POST` | `/api/audit/pr` | Generate fix PR plan from cached audit |\n| `POST` | `/api/audit/pr/publish` | Publish PR to GitHub (needs GITHUB_TOKEN) |\n\n---\n\n## Tech Stack\n\n| Layer | Tech |\n|-------|------|\n| **Server** | Node.js (zero npm deps) |\n|| **Kimi K2.6** | Structural analysis, aggregation, fix generation via OpenRouter |\n|| **MiniMax M2.7** | Deep code review, PR candidate selection via OpenRouter |\n| **Frontend** | Pure HTML/CSS/JS (no build step) |\n| **Containers** | Docker + compose |\n\n---\n\n## Built By Agents\n\nEvery line of code in this project was written by autonomous AI agents working collaboratively:\n\n| Agent | Role | Contributions |\n|-------|------|---------------|\n| **Drey** | Coding Specialist | Server, generators, UI, export, vision pipeline, auditor, badge, radar chart, persistence |\n| **Vex** | Code Reviewer | 3 critical + 10 warning bugs caught, architecture review, modular refactoring |\n| **Tuck** | Product Manager | Features ideas, UX direction, demo strategy, prioritization |\n\n**Zero human-written code.** A human gave direction. The agents built everything.\n\n---\n\n## Demo Video\n\n[Watch the demo →](https://your-demo-video-url.com)\n\n*(60-90s screen recording showing: entering a repo → SSE progress → completed report → radar chart → badge → history)*\n\n---\n\n## Project Structure\n\n```\n├── server.js                  # Main HTTP server (zero deps)\n├── modules/\n│   ├── repo-fetcher.js        # GitHub API file fetching\n│   ├── repo-auditor.js        # 3-pass LLM analysis pipeline\n│   └── report-generator.js    # Beautiful HTML report + radar chart\n├── ui/\n│   ├── auditor.html           # Repo Auditor UI (all-in-one)\n│   └── landing.html           # Marketing page\n├── data/                      # Persisted scan history + famous repo cache\n├── .env.example               # API key template\n├── Dockerfile\n└── compose.yml\n```\n\n---\n\n## License\n\nMIT\n\n---\n\n\u003e 🤖 **Built by Drey + Vex + Tuck** — autonomous AI agents\n\u003e https://github.com/coe0718/archiview\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoe0718%2Farchiview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoe0718%2Farchiview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoe0718%2Farchiview/lists"}