Spaces:
Runtime error
Runtime error
Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: dir2md + Spicy - Repository to Markdown Converter
|
| 3 |
+
emoji: 📂
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.45.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: Markdown + spicy risk blueprints for GitHub repos
|
| 12 |
+
tags:
|
| 13 |
+
- developer-tools
|
| 14 |
+
- markdown
|
| 15 |
+
- repository-analysis
|
| 16 |
+
- llm
|
| 17 |
+
- code-analysis
|
| 18 |
+
- python
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# dir2md + Spicy (Hugging Face Demo)
|
| 22 |
+
|
| 23 |
+
Convert any public GitHub repository into an LLM-ready markdown blueprint plus optional spicy (5-level) risk report.
|
| 24 |
+
|
| 25 |
+
## What the demo does
|
| 26 |
+
- Analyze repo structure and key files.
|
| 27 |
+
- Generate tree + sampled content with token-aware budgets.
|
| 28 |
+
- Output human markdown and JSONL (for LLMs), with optional spicy findings.
|
| 29 |
+
|
| 30 |
+
## Quick start
|
| 31 |
+
1) Paste a GitHub URL.
|
| 32 |
+
2) Choose options: include contents, emit manifest, enable spicy/strict.
|
| 33 |
+
3) Run and download the markdown/JSONL outputs.
|
| 34 |
+
|
| 35 |
+
## Fresh highlights (1.1.0)
|
| 36 |
+
- `--fast` preset (tree + manifest only, no file reads).
|
| 37 |
+
- Default dual outputs (md + jsonl) for human + LLM.
|
| 38 |
+
- Spicy risk report (`--spicy`, `--spicy-strict`) with 5 severity levels.
|
| 39 |
+
- Modular pipeline (`walker`, `selector`, `renderer`, `orchestrator`) for cleaner extensibility.
|
| 40 |
+
|
| 41 |
+
## Notes
|
| 42 |
+
- Current Gradio SDK: **5.45.0**. A newer **6.0.2** is available; update `sdk_version` and `gradio` pin if you want to try it.
|
| 43 |
+
- App entrypoint: `demo/app.py`; deps in `demo/requirements.txt`.
|
| 44 |
+
|
| 45 |
+
Made with care by Flamehaven for developers who want their AI to understand their code.
|
| 46 |
+
|