Query github for flox related items.
gh-flox stars - Number of ⭐ found on flox/flox on GitHub
gh-flox repos -v - List the repositories containing a .flox directory.
gh-flox repos -f - Count number of repos with a .flox including those owned by flox and employees
gh-flox repos -f -v - List the repos with a .flox including those owned by flox and employees
gh-flox readmes - Count number of repos with flox install string in their README
gh-flox readmes -v - List repos that have a README with flox install string in them
gh-flox readmes -f - Count repos with README with flox install including those owned by flox and employees
gh-flox readmes -f -v - List repos that have a README with flox install string in them including those owned by flox and employees
gh-flox clearcache - clear out the local cache
gh-flox version - get version of gh-flox
gh-flox floxindex - get the sum of all stars for repos scoped with readmes and repos subcommands.
gh-flox export - Export to JSON
To run with slack formatting, set SLACK_MODE=1. Otherwise, plain text is assumed.
GITHUB_TOKEN- required to query GitHub APIS3_BUCKET_NAME- optional, only needed when running as a lambdaS3_OBJECT_KEY- optional, only needed when running as a lambdaAWS_REGION- optional, only needed when running as a lambda
Sometimes, a repository has installations instruction for flox, but not in the
primary README. In this case, you can add the slug owner/repo to the
additional_repos.json file and this will be picked up by the readmes sub
command. This is only read at build time, so you need to rebuild the
project if that file changes. This is to assist in running it as a lambda
function.
flox activate
make
make ready ships to the hubot server if you're all set up.
MIT