Skip to content

Commit 2d4aaac

Browse files
committed
update nodes
1 parent 711edc7 commit 2d4aaac

File tree

4 files changed

+145
-108
lines changed

4 files changed

+145
-108
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,7 @@ coverage/
9696
.node_repl_history
9797

9898
# LLM cache
99-
llm_cache.json
99+
llm_cache.json
100+
101+
# Output files
102+
output/

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ This is a tutorial project of [Pocket Flow](https://github.com/The-Pocket/Pocket
9292

9393
# Or, analyze a local directory
9494
python main.py --dir /path/to/your/codebase --include "*.py" --exclude "*test*"
95+
96+
# Or, generate a tutorial in Chinese
97+
python main.py --repo https://github.com/username/repo --language "Chinese"
9598
```
99+
96100
- `--repo` or `--dir` - Specify either a GitHub repo URL or a local directory path (required, mutually exclusive)
97101
- `-n, --name` - Project name (optional, derived from URL/directory if omitted)
98102
- `-t, --token` - GitHub token (or set GITHUB_TOKEN environment variable)
@@ -102,16 +106,8 @@ This is a tutorial project of [Pocket Flow](https://github.com/The-Pocket/Pocket
102106
- `-s, --max-size` - Maximum file size in bytes (default: 100KB)
103107
- `--language` - Language for the generated tutorial (default: "english")
104108

105-
To generate tutorials in languages other than English, add the `--language` parameter:
106-
107-
```bash
108-
# Generate a tutorial in Spanish
109-
python main.py --repo https://github.com/username/repo --language "Spanish"
110-
```
111-
112109
The application will crawl the repository, analyze the codebase structure, generate tutorial content in the specified language, and save the output in the specified directory (default: ./output).
113110

114-
115111
## 💡 Development Tutorial
116112

117113
- I built using [**Agentic Coding**](https://zacharyhuang.substack.com/p/agentic-coding-the-most-fun-way-to), the fastest development paradigm, where humans simply [design](docs/design.md) and agents [code](flow.py).

0 commit comments

Comments
 (0)