Skip to content

Add Configuration File for User Settings #6

@vamsi-op

Description

@vamsi-op

Description

Currently, users need to hardcode their API key directly in \jarvis.py\ and can't save their preferred settings. Create a configuration system using a config.json or .env file.

Benefits

  • Keep API keys secure (not in source code)
  • Save user preferences (wake word mode, voice settings, default browser)
  • Make it easier for contributors to set up
  • Add .env to .gitignore for security

Implementation Ideas

  • Use python-dotenv for environment variables
  • Create a config.example.json template
  • Load settings on startup
  • Store: API key, voice speed/volume, preferred browser, wake word sensitivity

Suggested Files to Create

  • .env.example - Template for environment variables
  • config.py - Configuration loader module
  • Update .gitignore to exclude .env `n

Priority

High - This improves security and user experience

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions