{"html_url": "https://github.com/simonw/datasette/issues/2143#issuecomment-1691094870", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2143", "id": 1691094870, "node_id": "IC_kwDOBm6k_c5kzA9W", "user": {"value": 1238873, "label": "rclement"}, "created_at": "2023-08-24T06:43:40Z", "updated_at": "2023-08-24T06:43:40Z", "author_association": "NONE", "body": "If I may, the \"path-like\" configuration is great but one thing that would be even greater: allowing the same configuration to be provided using environment variables.\r\n\r\nFor instance:\r\n\r\n```\r\ndatasette -s plugins.datasette-complex-plugin.configs '{\"foo\": [1,2,3], \"bar\": \"baz\"}'\r\n```\r\n\r\ncould also be provided using:\r\n\r\n```\r\nexport DS_PLUGINS_DATASETTE-COMPLEX-PLUGIN_CONFIGS='{\"foo\": [1,2,3], \"bar\": \"baz\"}'\r\ndatasette\r\n```\r\n\r\n(I do not like mixing `-` and `_` in env vars but I do not have a best easily reversible example at the moment)\r\n\r\nFYI, you could take some inspiration from another great open source data project, Metabase:\r\nhttps://www.metabase.com/docs/latest/configuring-metabase/config-file\r\nhttps://www.metabase.com/docs/latest/configuring-metabase/environment-variables", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1855885427, "label": "De-tangling Metadata before Datasette 1.0"}, "performed_via_github_app": null}