Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cd rendergit
pip install -e .
```

Now you can just `rendergit` any GitHub url e.g.:
Now you can just `rendergit` any GitHub URL, e.g.:

```bash
rendergit https://github.com/karpathy/nanoGPT
Expand All @@ -29,7 +29,7 @@ Once open, you can toggle between two views:
- **👤 Human View**: Browse with syntax highlighting, sidebar navigation, visual goodies
- **🤖 LLM View**: Copy the entire codebase as CXML text to paste into Claude, ChatGPT, etc.

There's a few other smaller options, see the code.
There are a few other smaller options; see the code.

## Features

Expand Down
1 change: 0 additions & 1 deletion repo_to_single_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def collect_files(repo_root: pathlib.Path, max_bytes: int) -> List[FileInfo]:
def generate_tree_fallback(root: pathlib.Path) -> str:
"""Minimal tree-like output if `tree` command is missing."""
lines: List[str] = []
prefix_stack: List[str] = []

def walk(dir_path: pathlib.Path, prefix: str = ""):
entries = [e for e in dir_path.iterdir() if e.name != ".git"]
Expand Down