codexmonitor.app download flow sends users to Releases page where DMG is hidden by default

Aperta
#418 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github, html, javascript
Ambito
frontend, web-dev

Direzione di ricerca

Start by opening the attached test.html and comparing it with the current Download link on codexmonitor.app; use the /releases/latest endpoint and listed asset patterns as the behavioral reference. Done means platform-specific installers redirect correctly and a fallback lists all assets when detection fails.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

tldr here's a proposed solution to download latest build for detected architecture: test.html

Problem
When tapping the Download link on https://codexmonitor.app, users are redirected to the GitHub Releases page:

https://github.com/Dimillian/CodexMonitor/releases

On GitHub’s current UI, the macOS .dmg is not immediately visible. The “Assets” section must be expanded manually. For non-technical users this is confusing and easy to miss.

This creates unnecessary friction for what ideally could be a one-click download.

Image

Suggestion

Instead of linking directly to the GitHub Releases page, codexmonitor.app could:
1. Use the GitHub REST API:

https://api.github.com/repos/Dimillian/CodexMonitor/releases/latest

2.	Detect the visitor’s platform and architecture:
•	macOS (Intel / Apple Silicon)
•	Windows x64
•	Linux x86_64
•	Linux aarch64
3.	Automatically redirect to the correct installer:
•	macOS → .dmg
•	Windows → x64-setup.exe
•	Linux → AppImage (preferred over rpm)
4.	If detection fails, display a clean fallback page listing all assets.

This would:
• Make downloads effectively one-click
• Remove confusion around hidden GitHub assets
• Improve onboarding for non-technical users
• Keep releases fully hosted on GitHub (no infra change required)


Proposed Implementation

This can be done with a single static HTML file and minimal JS:
• Fetch /releases/latest
• Inspect navigator.userAgentData (or fallback to navigator.userAgent)
• Match asset name patterns
• Redirect using window.location.replace()
• Provide a visible fallback button
• No frameworks required


attached is an example HTML page with a download button with this implemented

test.html

Lingua principale
TypeScript
Stelle
4.4k
Fork
418
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Dimillian/CodexMonitor

Tutte le issue di Dimillian/CodexMonitor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.