Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make helia configurable using env vars. #19

Closed
Tracked by #12
SgtPooki opened this issue Oct 19, 2023 · 1 comment
Closed
Tracked by #12

Make helia configurable using env vars. #19

SgtPooki opened this issue Oct 19, 2023 · 1 comment

Comments

@SgtPooki
Copy link
Member

SgtPooki commented Oct 19, 2023

A few points of interest:

  1. Kubo has experience with ENV_VARs and years of development that we can benefit from
  2. Helia has no CLI (currently, empty repo exists at https://github.com/ipfs/helia-cli) so.. we don't have this yet.

A few potential paths forward

  • We may just add ENV_VAR support to all config options directly in Helia
  • May be useful to create a package @helia/env-vars-to-config type package that could be consumed by helia-cli or any other users of helia for populating their config, that consolidates all our environment variables

Env vars should be able to configure a few things:

  • trustless gateway urls to use with blockBrokers
  • libp2p transports?
  • others
@SgtPooki
Copy link
Member Author

marking this as done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant