Picking a board game to play can be challenging. Figuring out what games work with the number of people you have is difficult enough, but then factor in how much time and brain space you have. Often picking the game ends up being the most difficult part of the night.
This grabs my collection from BoardGameGeek and provides a web page to filter and search for board games.
USERNAME
BoardGameGeek username to indexMEILISEARCH_HOST
Meilisearch host URL (default:http://localhost:7700
)MEILISEARCH_API_KEY
Meilisearch private key used for indexingHUGOxPARAMSxMEILISEARCH_HOST
Meilisearch host used for frontendHUGOxPARAMSxMEILISEARCH_API_KEY
Meilisearch public key used for frontend.
You can build the cli with make cli
. This will create a bin/bg
which you can
call and use as you need.
To setup the index (or make changes to it), run make setup
.
To update the index, run make index
.
After installing packages with pnpm install
, serve the site and rebuild changes
with make serve
. Build the production site (with assets minified) with make site
.
Deploy the site make deploy
.
Lint code with make lint
. This lints both JavaScript code (requires pnpm install
)
and Go code (requires golangci-lint
).