mheap / mheap/github-default-branch
Additional replacement patterns
- Dominant language
- JavaScript
- Stars
- 134
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Suggested by @mathiasbynens in #12:
---
Other possible replacements (you'd probably want to do these globally, in all files):
- `https://github.com///tree/` ([example](https://github.com/mheap/github-default-branch/tree/main/src))
- `https://github.com///blob/` ([example](https://github.com/mheap/github-default-branch/blob/main/src/get-repos.js))
- `https://raw.githubusercontent.com///` ([example](https://raw.githubusercontent.com/mheap/github-default-branch/main/src/get-repos.js))
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named; inspect the repository for the existing replacement logic related to issue #12 and identify the CLI entry point and all affected files. Add support for the listed GitHub tree, blob, and raw URL patterns globally, then verify that each example URL is rewritten to the default branch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, javascript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100