Gitlab Repo Scanner
@twonines/gitlab-repo-scannerv2026.07.03.2
01README
Scans a GitLab repository: returns structured metadata, a recursive file tree, and contents of known high-signal files. Provides fetch_files for on-demand content retrieval of paths discovered in the file tree.
02Models
@twonines/gitlab-repo-scannerv2026.07.03.2mod.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| url | string | GitLab instance base URL (e.g. https://gitlab.com) |
| token | string | Personal access token with read_api scope. Vault this — never inline. |
fn scan()
Scan a repository. Returns metadata, recursive file tree (paths only),
fn fetch_files(projectPath: string)
Fetch raw content of specific files by path. Use after scan to retrieve
| Argument | Type | Description |
|---|---|---|
| projectPath | string | Repository path (e.g. myorg/myrepo) |
fn discover()
Discover active repositories from the GitLab instance. Returns paths
Resources
scan(infinite)— Repository scan result
files(infinite)— On-demand file content result
discovery(infinite)— List of discovered repos matching filters
03Previous Versions
2026.07.03.1Jul 3, 2026
04Stats
A
100 / 100
Downloads
1
Archive size
8.6 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels