pull down to refresh

From page 8

• Discussions, proposals, Q&A:
https://github.com/orgs/LNP-BP/discussions
• Standards: https://github.com/LNP-BP/LNPBPs
• RGB working group: https://github.com/RGB-WG
• Lightning working group: https://github.com/LNP-WG
• Decentralized storage & messaging group:
https://github.com/Storm-WG

If you wish to clone all the repos in a github account just use the following bash script

#!/bin/bash

if [ -z "$1" ]; then
    echo "waiting for the following arguments: repo "
    exit 1
else
    name=$1
fi

cntx="users"

#echo $name
#echo $cntx

username="USERNAME"
access_token="TOKEN"

list=$( curl -s -u "$username":"$access_token" "https://api.github.com/$cntx/$name/repos?page=1&per_page=100" | grep -e 'clone_url*' | cut -d \" -f 4 )

readarray -t list_arr <<< "$list"

for (( i=0 ; i<${#list_arr[@]} ; i++ )) ; do
    git clone ${list_arr[$i]}
done

Create a git access token

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

To deal with the rate limit
https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting

Than edit the fields USERNAME and TOKEN on the script and run it.