commit e647f425f1ed2681e7126dc40ed186eeb5a201ed Author: ReaperOfVeriod Date: Sun Oct 25 03:42:55 2026 +0100 chore: initialize client repository diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..953e335 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,12 @@ +name: Client checks + +on: + push: + pull_request: + +jobs: + checks: + runs-on: debian-latest + steps: + - uses: actions/checkout@v4 + - run: test -f README.md && test -f AGENTS.md && test -f .prettierrc.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..255cbb7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +node_modules/ +dist/ +build/ +coverage/ +.env +.env.* +!.env.example +*.AppImage diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..0e992e5 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,6 @@ +{ + "printWidth": 100, + "singleQuote": true, + "trailingComma": "all", + "tabWidth": 2 +} diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..604be07 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 22.14.0 diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..96608ed --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,10 @@ +# Client Repository Rules + +Read the parent `AGENTS.md`, `PLAN.md`, `TODO.md`, and `docs/wiki/README.md` before working. + +- Client code only; server logic belongs in `trixie-server`. +- Consume contracts from `trixie-api`; do not duplicate schemas. +- Use Prettier for Svelte, JavaScript/TypeScript, JSON, YAML, and Markdown. +- Never store passwords, tokens, or secrets in source, settings, fixtures, logs, or artifacts. +- Do not edit the parent `PLAN.md` without explicit user permission. + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..f83b9ff --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,4 @@ +# Contributing + +Run formatting, linting, type checks, tests, and the AppImage build before submission. Use deterministic mocked server/API fixtures. + diff --git a/README.md b/README.md new file mode 100644 index 0000000..f76b2a6 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Trixie Linux Client + +This directory is the home of the standalone Linux client repository. + +The client is a Svelte-based control surface distributed as an x86-64 AppImage. It communicates with `trixie-server` through the documented versioned HTTP and authenticated WebSocket interfaces. + +Implementation has not started. See the parent workspace's `PLAN.md`, `TODO.md`, and `AGENTS.md` before beginning work. + +Consumes the versioned contracts from the sibling `trixie-api` repository. + diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..f497326 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,4 @@ +# Security + +Report vulnerabilities privately through the hosting instance. Never include credentials, tokens, or real user data in issues or fixtures. +