Skip to content

Commit Canvas desktop app - #2

Merged
ced2711 merged 7 commits into
mainfrom
desktop-app
Sep 29, 2026
Merged

ced2711 merged 7 commits into
mainfrom
desktop-app

Conversation

@ced2711

@ced2711 ced2711 commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Turns Commit Canvas into a desktop app (Tauri) and drops the web version.

  • Sign in with GitHub (OAuth device flow), GitHub CLI login, or a pasted token.
  • Repositories meant for drawing are recognized and picked automatically; one click creates commit-canvas-art when there is none.
  • Existing contributions shown in full color, planned squares marked, preview of the result, skip days that already have contributions.
  • Brushes, text, templates, undo/redo, shift, zoom, keyboard drawing, save/open designs (old format too), Bash/PowerShell script export, detailed review before sending, undo last send.
  • build.yml builds Windows / macOS / Linux installers on PRs (artifacts, plus a portable Windows exe) and publishes a release for v* tags.
  • GitHub Pages and its workflow are removed; the UI lives in ui/.

Move the web interface into web/ and wrap it with Tauri so Windows, macOS
and Linux installers can be built. GitHub Actions builds the installers on
pull requests and publishes them as a release for v* tags; GitHub Pages is
now deployed from web/ by a workflow.

The confirmation prompts use the in-page dialog instead of window.confirm,
external links open in the system browser inside the app, and the desktop
app remembers the token by default.
Existing contributions are shown in full color again, with planned squares
marked by a dot, a preview of the combined result, and an option (on by
default) to skip days that already have contributions.

Bring back what the original version could do: redo, templates, bigger
squares, keyboard drawing, touch scroll mode, a detailed review before
sending with an extra check for large sends, saving and opening designs
(including the old design format), and Bash/PowerShell script export.

Guide beginners through four numbered steps with token instructions and a
one-click dedicated repository. The desktop app can reuse a GitHub CLI
login and is ready for OAuth device-flow sign-in once a client ID is set.
After sign-in, repositories created by Commit Canvas, the original
version's managed commit-canvas-* repositories and art repositories are
listed under "Ready for drawing" and picked automatically. Without one,
a single button creates a public commit-canvas-art repository.

CI also uploads the portable Windows executable for pull request builds.
GitHub Pages is switched off, the Pages workflow is removed, the interface
folder is renamed from web/ to ui/, and the README now only describes the
desktop app and its Sign in with GitHub flow.
@ced2711 ced2711 changed the title Package Commit Canvas as a desktop app Commit Canvas desktop app Sep 29, 2026
@ced2711
ced2711 merged commit c065764 into main Sep 29, 2026
0 of 3 checks passed
@ced2711
ced2711 deleted the desktop-app branch September 29, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant