Welcome to the Jarvis Virtual Assistant! This guide will walk you through setting up the project on your local machine so you can explore features, understand the internal flow, and start contributing.
Ensure you have the following installed:
Optional but recommended:
- A virtual environment tool like
venvorvirtualenv
git clone https://github.com/Code-A2Z/jarvis.git
cd jarvispowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"curl -LsSf https://astral.sh/uv/install.sh | shuv syncIf the .streamlit folder doesn't exist, create it:
mkdir .streamlitThen create a file named secrets.toml inside .streamlit and add the following fields only (as per maintainer's request):
[general]
ADMIN_EMAIL = ""
ADMIN_NAME = ""
[auth]
redirect_uri = ""
cookie_secret = ""
[auth.google]
client_id = ""
client_secret = ""
server_metadata_url = ""🔒 Keep this file private. Never commit secrets to the repository.
To test features without logging in via Google, you can mock a user manually.
In home.py, add:
st.session_state.user = {
"name": "Test User",
"email": "test@example.com"
}This will let you access all core features locally during development.
Launch the application:
uv run streamlit run src/apps/public/home.pyIt should open in your browser at http://localhost:8501.
ModuleNotFoundError: Make sure the virtual environment is activated and dependencies installed.secrets.toml not found: Ensure.streamlit/secrets.tomlexists and is correctly formatted.Google login not working: Re-check yourclient_id,client_secret, andredirect_uri.
- Review the Contribution Guidelines
- Join our Discord Community
- Raise an issue or PR with a clear description
- Follow the project’s Code of Conduct
Happy coding! 💻✨ Let Jarvis assist you.