Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug report
description: Something doesn't work as expected
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for reporting it. **Don't paste your API key.** Check anything you attach for private conversation text.
- type: textarea
id: what
attributes:
label: What happened, and what did you expect?
description: Steps to reproduce help a lot.
validations:
required: true
- type: input
id: version
attributes:
label: Release
description: The release you downloaded, for example v0.2.0.
validations:
required: true
- type: input
id: windows
attributes:
label: Windows version
description: For example Windows 11 23H2, 64-bit. Say if it's an ARM PC.
validations:
required: true
- type: input
id: provider
attributes:
label: AI provider and model
description: For example Claude Sonnet 5.5, ChatGPT GPT-6.1 Sol, or Other (Ollama, llama3).
- type: textarea
id: log
attributes:
label: Log
description: |
The end of `%LOCALAPPDATA%\Cuelight\logs\app.log`. It holds errors and facts about the PC, never what was said or shown,
and keys are blanked out, but have a look before posting. The output of `Cuelight.exe --self-test --out C:\temp\check`
(the `self-test.txt` it writes) helps with sound, screen or speech problems.
render: text
- type: textarea
id: shots
attributes:
label: Screenshots
description: With "Hide from screen sharing" on, screenshots of the app come out blank; turn it off first.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Report a security problem privately
url: https://github.com/CS92604/CueLight/security/advisories/new
about: Please don't put security details in a public issue.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [main, 'claude/**']
branches: ['**']
tags: ['v*']
pull_request:
workflow_dispatch:
Expand All @@ -13,6 +13,14 @@ on:
release:
types: [published]

# Nothing here needs to write to the repository except attaching a release, which the windows job asks for itself.
permissions:
contents: read

env:
DOTNET_CLI_TELEMETRY_OPTOUT: '1'
AVALONIA_TELEMETRY_OPTOUT: '1'

jobs:
test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -185,15 +193,17 @@ jobs:
run: |
@"
**Download ``Cuelight.exe`` and double-click it.** That is the whole app: one file, nothing to install or unzip.
Paste your Claude API key on first launch; that is the only setup.
Choose your AI on first launch and paste its API key; that is the only setup. It works with Claude, ChatGPT, Gemini, Grok, NVIDIA's free API catalog, or any service that speaks the OpenAI chat API.

Claude's API is billed by Anthropic separately from a Claude subscription. The app uses Sonnet 5.5 by default, remembers what it has already read so repeat requests are cheap, and shows a running cost estimate in its top-right corner. See "What it costs" in the README.
AI providers bill API use separately from a chat subscription (NVIDIA's API is free to try, within limits). The app starts each provider on its balanced model and shows a running cost estimate, or "Free", in its top-right corner. See "AI providers" and "What it costs" in the README.

Windows 10 or 11, 64-bit. Windows may say "Windows protected your PC" because the app isn't code-signed yet:
choose **More info**, then **Run anyway**. The first start unpacks the speech engine and downloads a one-time speech model (about 140 MB).

SHA-256 of ``Cuelight.exe``: ``$($env:HASH)``

The open-source licenses of everything inside it are listed in [THIRD-PARTY-NOTICES.md](https://github.com/$($env:GITHUB_REPOSITORY)/blob/$($env:TAG)/THIRD-PARTY-NOTICES.md).

Cuelight is an independent, unofficial project. It is not affiliated with or endorsed by Anthropic. A very large majority of it was made with Claude Code.
"@ | Out-File notes.md -Encoding utf8
gh release view $env:TAG *> $null
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ publish/
.vs/
screenshots/
TestResults/
.idea/
.DS_Store
*.suo
selftest*/
*.log
41 changes: 41 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Contributing

Thanks for taking a look. Bug reports, fixes, and small improvements are welcome.

## Before you start

- **Bugs:** open an issue using the bug form. It asks for the things that help most (your Windows version, which AI
provider, and the log). Remove any API key before pasting anything.
- **Bigger changes:** open an issue first to check it fits. Cuelight is deliberately small: a Windows app that
listens, optionally watches a screen area, and suggests what to say or type.
- **Security problems:** see [SECURITY.md](SECURITY.md), not a public issue.

## Build and test

You need the [.NET 8 SDK](https://dotnet.microsoft.com/download). Everything except actually hearing audio and
reading the screen works on any OS.

```bash
dotnet test # all tests, including headless UI tests
dotnet run --project src/Cuelight.App # run it
```

- `src/Cuelight.Core` holds everything that isn't UI or Windows-specific; keep new logic there so it can be
tested without a screen.
- Tests are expected with a change. The UI tests render windows headlessly and also measure the layout, so a
change that pushes something off the edge fails a test. To look at the pictures they produce, set
`SCREENSHOT_DIR` to a folder before running the app tests.
- Keep to the style of the code around your change (naming, comment density, how errors are worded for the
user: plain language, saying what to do next).
- Colours and fonts live in `src/Cuelight.App/Styles/Theme.axaml`. Fonts must be under an open license that
allows bundling, with the license text beside the font file; the tests check that.
- Please don't add logos, icons or fonts that belong to another company.

## Pull requests

- One change per pull request, with a short description of what and why.
- CI (the **Build** workflow) runs the tests on Linux and Windows, builds the single `.exe`, and runs a real-Windows
self-test of it. It needs to be green.
- By contributing you agree your work is released under the project's [MIT license](LICENSE).
- AI-assisted contributions are fine (most of this project was made that way); you're still responsible for
checking that the change does what it says.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 CS92604

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading