This repo demonstrates using a shared secrets file in a Node.js app.
node app.js
The secret is in a file (secrets.json) that is pushed to the repo. Anyone who downloads the repo can see it.
secrets.json