Back to front pageView on Hacker News (opens in a new tab)Show HN: I built an AI that turns GitHub codebases into easy tutorials (opens in a new tab)github.com923 pointsby zh2408 (on Hacker News)last yearhttps://the-pocket.github.io/Tutorial-Codebase-Knowledge/github.com (opens in a new tab)GitHub - The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge: Pocket Flow: Codebase to TutorialPocket Flow: Codebase to Tutorial. Contribute to The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge development by creating an account on GitHub.Comments (172) 64 threadsShow all commentsShowing thread 27 of 64[-]ganesshlast year1 reply#Does it use the docs in the repository or only the code?[-]zh2408last year2 replies#By default we use both based on regex:DEFAULT_INCLUDE_PATTERNS = { ".py", ".js", ".jsx", ".ts", ".tsx", ".go", ".java", ".pyi", ".pyx", ".c", ".cc", ".cpp", ".h", ".md", ".rst", "Dockerfile", "Makefile", ".yaml", ".yml", } DEFAULT_EXCLUDE_PATTERNS = { "test", "tests/", "docs/", "examples/", "v1/", "dist/", "build/", "experimental/", "deprecated/", "legacy/", ".git/", ".github/", ".next/", ".vscode/", "obj/", "bin/", "node_modules/", ".log" }m0rdelast year#Have you tried giving it tests? Curious if you found they made things worse.Tokumei-no-hitolast year#why exclude tests and docs by default?
Show HN: I built an AI that turns GitHub codebases into easy tutorials (opens in a new tab)github.com923 pointsby zh2408 (on Hacker News)last year
zh2408last year2 replies#By default we use both based on regex:DEFAULT_INCLUDE_PATTERNS = { ".py", ".js", ".jsx", ".ts", ".tsx", ".go", ".java", ".pyi", ".pyx", ".c", ".cc", ".cpp", ".h", ".md", ".rst", "Dockerfile", "Makefile", ".yaml", ".yml", } DEFAULT_EXCLUDE_PATTERNS = { "test", "tests/", "docs/", "examples/", "v1/", "dist/", "build/", "experimental/", "deprecated/", "legacy/", ".git/", ".github/", ".next/", ".vscode/", "obj/", "bin/", "node_modules/", ".log" }
Comments (172) 64 threads
Show all comments
Showing thread 27 of 64
DEFAULT_INCLUDE_PATTERNS = { ".py", ".js", ".jsx", ".ts", ".tsx", ".go", ".java", ".pyi", ".pyx", ".c", ".cc", ".cpp", ".h", ".md", ".rst", "Dockerfile", "Makefile", ".yaml", ".yml", } DEFAULT_EXCLUDE_PATTERNS = { "test", "tests/", "docs/", "examples/", "v1/", "dist/", "build/", "experimental/", "deprecated/", "legacy/", ".git/", ".github/", ".next/", ".vscode/", "obj/", "bin/", "node_modules/", ".log" }