src/config.mjs. No configuration files are parsed automatically — you pass variables through your shell environment or an .env file loaded with Node.js’s built-in --env-file flag.
Required variables
Both of these variables must be set for the CLI to create GitHub issues and HackMD documents.A GitHub Personal Access Token (or a GitHub App installation token) with
repo scope. This is used to read agenda-labelled issues and to create the meeting issue in the target repository.A HackMD API token used to create and manage meeting notes documents. Generate one from your HackMD account settings under API.
Optional variables
Directory where the CLI looks for
meeting_base_* template files. Defaults to the current working directory. Set this if your templates live in a non-standard location.Directory where the CLI writes generated output files. Defaults to
~/.make-node-meeting (resolved via os.homedir() at runtime).The .env.example file
The repository ships with an.env.example you can copy as a starting point:
.env.example
HACKMD_TEAM_NAME appears in .env.example for reference but is actually defined per meeting group inside each meeting_base_* template file, not as a global environment variable. See Meeting base configuration for details.Loading variables at runtime
Node.js 20.6+ has built-in support for.env files. You do not need the dotenv package for CLI usage.
How configuration is loaded
All environment variables are read once at startup insrc/config.mjs and exposed as a single configuration object:
src/config.mjs
templates directory path is always resolved relative to the package itself and cannot be overridden via an environment variable.