A script to like all repo from a user or an organisation, or follow all users from an organisation on GitHub.
- Bash > 4.2
- Grep with perl regexp (PCRE)
- jq
- The fancy stuff (links, blink) need some specific terminal. See Hyperlinks in terminal emulators.
- Generate an access token
- Scope: repo
- Scope: user
- Export the GHTOKEN env var (
export GHTOKEN=yourGitHubAccessToken
) - Run the script with
./run.sh
(the default org is epfl-dojo)
- Display help:
./run.sh --help
- You can specify an user with:
./run.sh --user=username
./run.sh -u=username
- You can specify an organisation with:
./run.sh --organisation=orgname
./run.sh --organization=orgname
./run.sh --org=orgname
./run.sh -o=orgname
- You can specify organisation members to follow with:
./run.sh --follow-users-from-org=orgname
./run.sh -fufo=orgname
- Generate an access token
- Star a repository
If you like this script, you can show your support by using it with the following usernames/orgs (contributors):
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --org=epfl-dojo
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- -fufo=epfl-dojo
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --username=loichu
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --username=ponsfrilus
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --username=richmartins
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --username=Roccom14
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --username=SaphireVert
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --username=jaavlex
curl -s https://raw.githubusercontent.com/epfl-dojo/dojo-like-script/master/run.sh | bash -s -- --username=zuzu59