An open API service indexing awesome lists of open source software.

https://github.com/amazingandyyy/gofuzzyclone

🔎 Go fuzzy search repos with regex or wildcard
https://github.com/amazingandyyy/gofuzzyclone

cli git git-clone git-helper golang search search-engine

Last synced: 3 months ago
JSON representation

🔎 Go fuzzy search repos with regex or wildcard

Awesome Lists containing this project

README

          





gofuzzyclone



Go fuzzy search repos with regex or wildcard and clone them



Never clone repos one by one

## Installation

It's easy!

```console
bash <(curl -sL https://raw.githubusercontent.com/amazingandyyy/gofuzzyclone/main/scripts/install.sh)
```

## Preparation

- [Generate a Github personal access token](https://github.com/settings/tokens/new?scopes=repo&description=gofuzzyclone-cli)
- [repo] scrope
- [no expiration]

## Usage

```console
# get instructions
gofuzzyclone -help

# regex mode
gofuzzyclone -owner amazingandyyy -search ".*-deployments$" -output ./code
# wildcard mode
gofuzzyclone -owner amazingandyyy -search "*-deployments" -mode wildcard -output ./projects

# interactive mode
gofuzzyclone
```

## Development

### Initialization

```console
git clone https://github.com/amazingandyyy/gofuzzyclone.git
cd gofuzzyclone
./scripts/setup
```

### Trigger pre-commit hook manually

```console
pre-commit run --all-files
```

---

![banner](assets/repo-banner.jpg)

## Contribution

- Try out this tool
- Star this repo
- Share with your friend!
- [Create issue](https://github.com/amazingandyyy/gofuzzyclone/issues/new)
- Create PRs

## Resources

- [regex101](http://regex101.com)
- wildcard

## LICENSE

[MIT](LICENSE)