The Dashboard project is configured via a single shell script, config/config.sh
. To get started, you should copy the template file config/config.dist.sh
to config/config.sh
and edit it with your own settings.
The config/config.sh
file is ignored by git, so your personal information and API keys will not be committed to the repository.
These are the primary variables you will need to set to use the dashboard.
HN_USER
hackernews
module.HN_USER="your_username_here"
GITHUB_USER
github
module.GITHUB_USER="your_username_here"
REPOS
github
module.REPOS=("my-cool-project" "another-repo")
DISCORD_SERVER_ID
discord
module.DISCORD_SERVER_ID="123456789012345678"
These variables are for modules that require more sensitive information, like API tokens.
GITHUB_TOKEN
github-sponsors
module to fetch your sponsor count.read:user
scope.github-sponsors
module.GITHUB_TOKEN="ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"