Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoroqi/collect-repos
https://github.com/zoroqi/collect-repos
github
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/zoroqi/collect-repos
- Owner: zoroqi
- License: apache-2.0
- Created: 2020-12-01T13:52:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-18T12:08:24.000Z (over 2 years ago)
- Last Synced: 2024-08-02T20:44:45.176Z (4 months ago)
- Topics: github
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - zoroqi/collect-repos - 08 star:0.0k fork:0.0k (Go)
README
# collect-repos
## Install
```bash
git clone http://github.com/zoroqi/collect-repos
go install / go build
```## Usage
```bash
Usage of ./collect-repos:
-branch string
commit branch
-commitAuthor string
commit author (default "github-actions[bot]")
-commitEmail string
commit email (default "41898282+github-actions[bot]@users.noreply.github.com")
-config string
config
-file string
commit file name
-license string
license name, default username
-repository string
update repository
-token string
github token
-username string
github username
```config example
```yaml
- name: zoroqi
userType: user
file: README.md
- name: google
userType: org
file: google.md
- name: apple
userType: org
file: apple.md# userType: user or org
# user: collect starred
# org: collect repository
```## Demo
```bash
./collect-repos --username zoroqi > zoroqi-starred.md
```- [`zoroqi/my-awesome`](https://github.com/zoroqi/my-awesome)
- [`zoroqi/org-repositorie`](https://github.com/zoroqi/org-repositories)## Statistics
`grep 'pushed_at' README.md | awk -F 'pushed_at' '{print $2}' | awk '{print $1}' | sort | uniq -c`
`grep 'pushed_at' README.md | awk -F 'pushed_at' '{print $2}' | awk -F '-' '{print $1}' | sort | uniq -c`