Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smeijer/blocktober
say STOP to hacktoberfest spammers
https://github.com/smeijer/blocktober
Last synced: 16 days ago
JSON representation
say STOP to hacktoberfest spammers
- Host: GitHub
- URL: https://github.com/smeijer/blocktober
- Owner: smeijer
- License: mit
- Created: 2020-10-01T18:30:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T19:56:22.000Z (about 4 years ago)
- Last Synced: 2024-10-12T09:17:39.276Z (about 1 month ago)
- Language: JavaScript
- Size: 2.52 MB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blocktober
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
**Let your repo cool down, and block the hacktoberfest spammers**
![animation of blocktober](./docs/blocktober.gif)
Tired of the hacktober spamming? `blocktober` brings your repo back rest.
## Usage
Limit interactions on an entire org:
```shell
npx blocktober {org} {level}
```Limit interactions on a single repo:
```shell
npx blocktober {owner}/{repo} {level}
```Show active restrictions
```shell
npx blocktober {org}
npx blocktober {owner}/{repo}
```Clear all restrictions
```shell
npx blocktober {org} clear
npx blocktober {owner}/{repo} clear
```## Interaction Levels
The levels correspond to those that are available trough github settings. Blocktober uses partial matching for the levels. So there is no need to type them out full. `us` would be enough for users, `cont` for contributors and `col` for collaborators.
| level | description |
| ------------- | -------------------------------------------------------------------------------------------------------------------------- |
| users | Users that have recently created their account will be unable to interact with the repository. |
| contributors | Users that have not previously committed to the repositoryβs master branch will be unable to interact with the repository. |
| collaborators | Only users who have been granted write access, or are collaborators, will be able to interact with the repository. |## Contributors β¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Stephan Meijer
π€ π» π π§
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!