Nyxo Code - full source
=======================

Nyxo Code is a small Windows app that signs in with a Nyxo passcode, opens
Claude Code in a project folder you choose, and shows your usage live.

Files
  Core.cs    server calls, saved passcodes (Windows DPAPI), finding and starting Claude Code
  L.cs       the app's languages: English, French and Arabic (right to left)
  Ui.cs      colours, fonts and the custom controls
  Pages.cs   the sign-in and home screens
  App.cs     the main window, live usage stream, sign-out on close
  Update.cs  the update check, the verified download and the update bar
  History.cs the usage history window and its daily spend chart
  Buy.cs     buying or renewing a passcode: plans, payment address, QR code, order status
  build.ps1  builds "Nyxo Code.exe" next to this folder
  nyxo.ico / nyxo.png   the app icon

Build it yourself (Windows 10/11, nothing to install)
  powershell -NoProfile -ExecutionPolicy Bypass -File .\build.ps1

It uses the C# compiler that ships with Windows (.NET Framework 4.8).
The official build's SHA-256 is listed on https://nyxo.space/nyxo-code-source.html
(compiler builds are not byte-for-byte reproducible, so your own build will
have a different hash; read and compare the source instead).

What it does
  - Connects only to https://nyxo.space: /app/code to sign in and show usage and history, /api/orders to buy or renew, and
    /api/code/latest to check for updates (it opens the Claude Code docs in your
    browser if Claude Code is missing).
  - Downloads an update only when you click Update, and installs it only if it
    matches the size, SHA-256 and version nyxo.space announced.
  - Saved passcodes are encrypted with Windows DPAPI for your user account.
  - Stores saved passcodes, recent folders, an open order and your language in %APPDATA%\Nyxo.
  - Sets a seen flag in .claude.json to hide a one-time mode announcement.
  - No installer, no admin rights, no background service, no telemetry.
  - Signs out on the server when you close the app and Claude Code.
