Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
docs(community): add Docker setup, GitHub templates, Code of Conduct & Trademark
Ruben Lütke2bfb236e7434
diff --git a/.dockerignore b/.dockerignorenew file mode 100644index 0000000000..9950f7bc08--- /dev/null+++ b/.dockerignore@@ -0,0 +1,49 @@+# Keep the Docker build context small AND private. The image only needs+# pyproject.toml, README.md, the jarvis/ package and the frontend source — never+# the maintainer's runtime state, secrets or git history.++# Personal runtime state / secrets — must never enter the build context.+data/+.env+.env.*+*.env+jarvis.toml+profiles/+screenshots/++# VCS + tooling+.git/+.github/+.githooks/+.claude/+.vscode/+.idea/++# Python build / cache artifacts+__pycache__/+*.py[cod]+.venv/+venv/+.mypy_cache/+.ruff_cache/+.pytest_cache/+*.egg-info/+build/+dist/++# Node — the image runs `npm ci` itself; never ship local installs / builds.+**/node_modules/+jarvis/ui/web/dist/+jarvis/ui/web/frontend/dist/++# Sibling subprojects with their own images / not part of the headless server.+board-backend/+keyproxy/+conductor/+video/++# Tests + heavy docs are not needed at runtime.+tests/+docs/+*.md+!README.mddiff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlnew file mode 100644index 0000000000..4438d0bd1a--- /dev/null+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -0,0 +1,82 @@+name: Bug report+description: Report something that is broken or behaving unexpectedly.+title: "[Bug]: "+labels: ["bug"]+body:+ - type: markdown+ attributes:+ value: |+ Thanks for taking the time to file a bug! Please fill out the fields below+ so we can reproduce and fix it quickly. Write in English where possible.+ - type: textarea+ id: what-happened+ attributes:+ label: What happened?+ description: A clear, plain description of the bug and what you expected instead.+ placeholder: "When I say '...', Jarvis does X, but I expected Y."+ validations:+ required: true+ - type: textarea+ id: steps+ attributes:+ label: Steps to reproduce+ description: How can we trigger the bug?+ placeholder: |+ 1. Start with `jarvis serve`+ 2. Open http://localhost:47821+ 3. Do '...'+ 4. See the error+ validations:+ required: true+ - type: dropdown+ id: os+ attributes:+ label: Operating system+ options:+ - Linux+ - macOS+ - Windows+ - Headless server / VPS+ validations:+ required: true+ - type: input+ id: python+ attributes:+ label: Python version+ placeholder: "e.g. 3.11.8 (run: python --version)"+ validations:+ required: true+ - type: dropdown+ id: provider+ attributes:+ label: Active brain provider+ description: Which model provider was selected when the bug happened?+ options:+ - Gemini+ - Claude (API)+ - Claude (subscription / CLI)+ - OpenAI+ - OpenRouter+ - Grok+ - Codex (subscription)+ - Antigravity (subscription)+ - Not sure / not applicable+ validations:+ required: false+ - type: textarea+ id: logs+ attributes:+ label: Relevant logs+ description: Paste any error output. This is automatically formatted as code — do NOT paste API keys or secrets.+ render: shell+ validations:+ required: false+ - type: checkboxes+ id: checks+ attributes:+ label: Before submitting+ options:+ - label: I searched existing issues and this is not a duplicate.+ required: true+ - label: I removed any API keys, tokens, or personal data from the logs above.+ required: truediff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlnew file mode 100644index 0000000000..02b368bd77--- /dev/null+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -0,0 +1,8 @@+blank_issues_enabled: false+contact_links:+ - name: Questions & community+ url: https://discord.gg/UPu6pFWrJ+ about: For usage questions, setup help, and general chat, please use Discord instead of an issue.+ - name: Security vulnerability+ url: https://github.com/PersonalJarvis/PersonalJarvis/blob/main/SECURITY.md+ about: Please report security issues privately — do NOT open a public issue.diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlnew file mode 100644index 0000000000..4af090c613--- /dev/null+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -0,0 +1,40 @@+name: Feature request+description: Suggest a new capability or an improvement.+title: "[Feature]: "+labels: ["enhancement"]+body:+ - type: markdown+ attributes:+ value: |+ Thanks for the idea! Tell us what you'd like Jarvis to do and why.+ - type: textarea+ id: problem+ attributes:+ label: What problem does this solve?+ description: The use case or frustration behind the request.+ placeholder: "I'm always trying to ... but today Jarvis can't ..."+ validations:+ required: true+ - type: textarea+ id: solution+ attributes:+ label: Proposed solution+ description: What should it do? A spoken command, a setting, a new view?+ validations:+ required: true+ - type: textarea+ id: alternatives+ attributes:+ label: Alternatives considered+ description: Other ways you thought about solving this (optional).+ validations:+ required: false+ - type: checkboxes+ id: checks+ attributes:+ label: Before submitting+ options:+ - label: I searched existing issues and this is not a duplicate.+ required: true+ - label: This fits the cross-platform, provider-agnostic direction (see docs/PHILOSOPHY.md).+ required: falsediff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdnew file mode 100644index 0000000000..a5510197a0--- /dev/null+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -0,0 +1,38 @@+<!--+Thanks for contributing to Personal Jarvis! Please fill out the sections below.+Keep all artifacts (code, comments, docs, this PR text) in English — see CONTRIBUTING.md.+-->++## What does this PR do?++<!-- A short, plain-language summary of the change and the motivation. -->++## Related issues++<!-- e.g. "Closes #123". Link any issue this addresses. -->++## Type of change++- [ ] Bug fix (non-breaking change that fixes an issue)+- [ ] New feature (non-breaking change that adds functionality)+- [ ] Breaking change (fix or feature that changes existing behavior)+- [ ] Documentation only+- [ ] Refactor / internal cleanup (no behavior change)++## Checklist++- [ ] I read [`CONTRIBUTING.md`](../CONTRIBUTING.md) and, for larger changes, [`CLAUDE.md`](../CLAUDE.md) + [`docs/PHILOSOPHY.md`](../docs/PHILOSOPHY.md).+- [ ] All artifacts are in English (code, comments, docs, commit messages).+- [ ] Tests pass locally (`pytest -m "not slow"`), and I added tests for new behavior.+- [ ] New brain/STT/TTS/tool/channel providers pass the contract suite (`pytest tests/contract/`).+- [ ] No secrets, API keys, or personal data are included in the diff.+- [ ] Lint/format is clean (`ruff check jarvis/` && `ruff format jarvis/`).+- [ ] The change works on a headless Linux server (cloud-first), not only on a desktop — or local-only parts are gated behind an extras group with a graceful fallback.++## How was this tested?++<!-- Commands you ran, platforms you tested on (Linux / macOS / Windows), and what you observed. -->++## Screenshots / recordings (if UI-facing)++<!-- Drag in before/after images or a short clip for any visible change. -->diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.mdnew file mode 100644index 0000000000..67c2316cfc--- /dev/null+++ b/CODE_OF_CONDUCT.md@@ -0,0 +1,132 @@+# Contributor Covenant Code of Conduct++## Our Pledge++We as members, contributors, and leaders pledge to make participation in our+community a harassment-free experience for everyone, regardless of age, body+size, visible or invisible disability, ethnicity, sex characteristics, gender+identity and expression, level of experience, education, socio-economic status,+nationality, personal appearance, race, caste, color, religion, or sexual+identity and orientation.++We pledge to act and interact in ways that contribute to an open, welcoming,+diverse, inclusive, and healthy community.++## Our Standards++Examples of behavior that contributes to a positive environment for our+community include:++* Demonstrating empathy and kindness toward other people+* Being respectful of differing opinions, viewpoints, and experiences+* Giving and gracefully accepting constructive feedback+* Accepting responsibility and apologizing to those affected by our mistakes,+ and learning from the experience+* Focusing on what is best not just for us as individuals, but for the overall+ community++Examples of unacceptable behavior include:++* The use of sexualized language or imagery, and sexual attention or advances of+ any kind+* Trolling, insulting or derogatory comments, and personal or political attacks+* Public or private harassment+* Publishing others' private information, such as a physical or email address,+ without their explicit permission+* Other conduct which could reasonably be considered inappropriate in a+ professional setting++## Enforcement Responsibilities++Community leaders are responsible for clarifying and enforcing our standards of+acceptable behavior and will take appropriate and fair corrective action in+response to any behavior that they deem inappropriate, threatening, offensive,+or harmful.++Community leaders have the right and responsibility to remove, edit, or reject+comments, commits, code, wiki edits, issues, and other contributions that are+not aligned to this Code of Conduct, and will communicate reasons for moderation+decisions when appropriate.++## Scope++This Code of Conduct applies within all community spaces, and also applies when+an individual is officially representing the community in public spaces.+Examples of representing our community include using an official email address,+posting via an official social media account, or acting as an appointed+representative at an online or offline event.++## Enforcement++Instances of abusive, harassing, or otherwise unacceptable behavior may be+reported to the community leaders responsible for enforcement at+**[email protected]**.+All complaints will be reviewed and investigated promptly and fairly.++All community leaders are obligated to respect the privacy and security of the+reporter of any incident.++## Enforcement Guidelines++Community leaders will follow these Community Impact Guidelines in determining+the consequences for any action they deem in violation of this Code of Conduct:++### 1. Correction++**Community Impact**: Use of inappropriate language or other behavior deemed+unprofessional or unwelcome in the community.++**Consequence**: A private, written warning from community leaders, providing+clarity around the nature of the violation and an explanation of why the+behavior was inappropriate. A public apology may be requested.++### 2. Warning++**Community Impact**: A violation through a single incident or series of+actions.++**Consequence**: A warning with consequences for continued behavior. No+interaction with the people involved, including unsolicited interaction with+those enforcing the Code of Conduct, for a specified period of time. This+includes avoiding interactions in community spaces as well as external channels+like social media. Violating these terms may lead to a temporary or permanent+ban.++### 3. Temporary Ban++**Community Impact**: A serious violation of community standards, including+sustained inappropriate behavior.++**Consequence**: A temporary ban from any sort of interaction or public+communication with the community for a specified period of time. No public or+private interaction with the people involved, including unsolicited interaction+with those enforcing the Code of Conduct, is allowed during this period.+Violating these terms may lead to a permanent ban.++### 4. Permanent Ban++**Community Impact**: Demonstrating a pattern of violation of community+standards, including sustained inappropriate behavior, harassment of an+individual, or aggression toward or disparagement of classes of individuals.++**Consequence**: A permanent ban from any sort of public interaction within the+community.++## Attribution++This Code of Conduct is adapted from the [Contributor Covenant][homepage],+version 2.1, available at+[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].++Community Impact Guidelines were inspired by+[Mozilla's code of conduct enforcement ladder][Mozilla CoC].++For answers to common questions about this code of conduct, see the FAQ at+[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at+[https://www.contributor-covenant.org/translations][translations].++[homepage]: https://www.contributor-covenant.org+[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html+[Mozilla CoC]: https://github.com/mozilla/diversity+[FAQ]: https://www.contributor-covenant.org/faq+[translations]: https://www.contributor-covenant.org/translationsdiff --git a/Dockerfile b/Dockerfilenew file mode 100644index 0000000000..839bc38934--- /dev/null+++ b/Dockerfile@@ -0,0 +1,80 @@+# syntax=docker/dockerfile:1.7+#+# Personal Jarvis — headless server image (the cloud-first / VPS path).+#+# Boots the FastAPI + WebSocket backend and serves the prebuilt browser UI, so a+# user reaches the full Router-Brain experience through any browser without a+# desktop install. NO desktop extras (tray, overlay, hotkey, local voice) — those+# are opt-in and useless in a headless container (see CLAUDE.md, cloud-first+# doctrine). Bring your own provider keys via environment variables.+#+# docker build -t personal-jarvis .+# docker run --rm -p 127.0.0.1:8000:8000 \+# -e JARVIS_CONTROL_API_KEY=jctl_change_me \+# -e ANTHROPIC_API_KEY=sk-ant-... \+# personal-jarvis+# # then open http://localhost:8000+#+# Or use the bundled docker-compose.yml.++# --- Stage 1: build the React UI ---------------------------------------------+# The frontend source lives in the repo; build it once here so the runtime image+# carries a ready-to-serve dist/ and needs no Node.+# Mirror the repo layout (frontend dir with a sibling dist/) so vite's+# `--outDir ../dist` resolves to /web/dist, not a surprising /dist.+FROM node:22-slim AS web+WORKDIR /web/frontend+COPY jarvis/ui/web/frontend/package.json jarvis/ui/web/frontend/package-lock.json ./+RUN npm ci+COPY jarvis/ui/web/frontend/ ./+# vite build writes to ../dist relative to the frontend dir → /web/dist here.+RUN npm run build++# --- Stage 2: runtime --------------------------------------------------------+FROM python:3.11-slim AS runtime++ENV PYTHONDONTWRITEBYTECODE=1 \+ PYTHONUNBUFFERED=1 \+ PIP_NO_CACHE_DIR=1 \+ PIP_DISABLE_PIP_VERSION_CHECK=1++# build-essential/libffi: a few base deps build from sdist on slim.+# libportaudio2: backs sounddevice (a lazy-imported base dep) so any audio path+# imports cleanly even though the container has no audio hardware.+# curl: the HEALTHCHECK below.+RUN apt-get update \+ && apt-get install -y --no-install-recommends \+ build-essential libffi-dev libportaudio2 curl \+ && rm -rf /var/lib/apt/lists/*++WORKDIR /app++# Install the base package only (the headless VPS contract — no [desktop] /+# [local-voice] extras). An editable install keeps PROJECT_ROOT == /app, so the+# runtime data dir resolves to the writable /app/data volume below rather than+# into read-only site-packages.+COPY pyproject.toml README.md ./+COPY jarvis ./jarvis+COPY --from=web /web/dist ./jarvis/ui/web/dist+RUN python -m pip install --upgrade pip \+ && python -m pip install -e .++# Non-root. /app/data is the only writable location at runtime.+RUN useradd --system --uid 1000 --shell /usr/sbin/nologin jarvis \+ && mkdir -p /app/data \+ && chown -R jarvis:jarvis /app/data+USER jarvis++EXPOSE 8000++# JARVIS_BIND_HOST=0.0.0.0 makes the headless listener reachable through the+# published port (the control key is the security boundary — see compose).+# JARVIS_NONINTERACTIVE skips the first-run wizard; keys come from the env.+ENV JARVIS_BIND_HOST=0.0.0.0 \+ JARVIS_NONINTERACTIVE=1++# Generous start-period: first boot builds the brain in the background.+HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=6 \+ CMD curl -fsS http://127.0.0.1:8000/api/health || exit 1++CMD ["python", "-m", "jarvis.ui.web.launcher", "--headless", "--port", "8000"]diff --git a/TRADEMARK.md b/TRADEMARK.mdnew file mode 100644index 0000000000..962ff03363--- /dev/null+++ b/TRADEMARK.md@@ -0,0 +1,33 @@+# Trademarks++Personal Jarvis is free, open-source software. This notice explains how names and+logos are used in this project. It is informational, not legal advice.++## No affiliation++Personal Jarvis is an independent project. It is **not** affiliated with, endorsed by, or+sponsored by Marvel, Disney, Amazon, Apple, Google, Microsoft, Samsung, OpenAI, Anthropic,+or any other company whose product or character may share a name with this project, a+feature, or a word a user could choose.++## Third-party names and logos++Names and logos such as Claude, Anthropic, OpenAI, ChatGPT, Gemini, Google, Grok, Ollama,+OpenRouter, Slack, Discord, Telegram, Twilio, GitHub, Obsidian, Vercel, and any other+product or company names referenced in this repository or shown in the app are trademarks+of their respective owners.++They are used here **only for identification** — to show which third-party service a+feature, plugin, or integration connects to (nominative use). Their appearance does not+imply that the trademark owner endorses, sponsors, or is affiliated with this project, and+no partnership is claimed. Each owner's brand and logo-use guidelines govern their marks.++## Project name and activation word++The project name and any user-chosen activation ("wake") word may coincide with existing+trademarks. Users choose their own activation word and are solely responsible for ensuring+their choice does not infringe anyone's rights — see+[`docs/legal/TERMS.md`](docs/legal/TERMS.md).++If you believe a mark is used incorrectly here, please open an issue or contact the+maintainers and we will address it promptly.diff --git a/docker-compose.yml b/docker-compose.ymlnew file mode 100644index 0000000000..2b5290a578--- /dev/null+++ b/docker-compose.yml@@ -0,0 +1,34 @@+# Personal Jarvis — headless server, the cloud-first / VPS path.+#+# docker compose up --build # build the image and start the server+# # then open http://localhost:8000+#+# Bring your own provider keys. Set them below or in a sibling `.env` file+# (compose loads it automatically). Nothing is bundled.++services:+ jarvis:+ build: .+ image: personal-jarvis:local+ # Bind to the host loopback only — the published port is NOT exposed to the+ # LAN. The Control-API key is the security boundary on the container's+ # 0.0.0.0 bind (JARVIS_BIND_HOST in the image).+ ports:+ - "127.0.0.1:8000:8000"+ environment:+ # The Control-API key authorises the non-loopback (0.0.0.0) bind. Change+ # this — it is the only boundary protecting the control surface.+ JARVIS_CONTROL_API_KEY: "jctl_local_sandbox_change_me_before_any_real_use"+ # Provider keys — set your OWN keys. At least one brain provider is needed+ # for a real reply; the server still boots and serves the UI without them.+ ANTHROPIC_API_KEY: "${ANTHROPIC_API_KEY:-}"+ OPENAI_API_KEY: "${OPENAI_API_KEY:-}"+ GEMINI_API_KEY: "${GEMINI_API_KEY:-}"+ OPENROUTER_API_KEY: "${OPENROUTER_API_KEY:-}"+ volumes:+ # Persist runtime state (config, dbs, flight recorder) across restarts,+ # isolated from the host — never touches the maintainer's data/ folder.+ - jarvis-data:/app/data++volumes:+ jarvis-data: