Add GitHub Pages landing page and fix electron-builder config

- Create docs/ landing page with dark theme, download link, features,
  setup instructions, and requirements
- Fix build config: add signAndEditExecutable=false to avoid winCodeSign
  symlink errors, replace broken afterSign/afterAllArtifactBuild with
  forceCodeSigning=false
- Clean up removed dev dependencies (sharp, png-to-ico) from lockfile

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Zac
2026-02-09 22:33:38 -05:00
parent 7309d78344
commit 3a6be50e31
4 changed files with 423 additions and 621 deletions
+418
View File
@@ -0,0 +1,418 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alta Proxy Tool</title>
<style>
:root {
--bg-primary: #1E1E1E;
--bg-secondary: #2D2D30;
--border: #3C3C3C;
--text-primary: #E0E0E0;
--text-secondary: #999999;
--accent-primary: #0E7AFE;
--accent-primary-hover: #0A5FD9;
--success: #4CAF50;
--card-bg: #2D2D30;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
font-size: 16px;
line-height: 1.6;
}
a {
color: var(--accent-primary);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Header */
.header {
border-bottom: 1px solid var(--border);
padding: 16px 0;
background: var(--bg-secondary);
}
.container {
max-width: 960px;
margin: 0 auto;
padding: 0 24px;
}
.header .container {
display: flex;
align-items: center;
justify-content: space-between;
}
.header-brand {
display: flex;
align-items: center;
gap: 12px;
}
.header-brand img {
width: 32px;
height: 32px;
}
.header-brand span {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
}
.header-link {
color: var(--text-secondary);
font-size: 14px;
}
.header-link:hover {
color: var(--text-primary);
}
/* Hero */
.hero {
text-align: center;
padding: 80px 0 64px;
}
.hero-icon {
width: 96px;
height: 96px;
margin-bottom: 24px;
}
.hero h1 {
font-size: 40px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 12px;
}
.hero .tagline {
font-size: 20px;
color: var(--text-secondary);
margin-bottom: 36px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.btn-download {
display: inline-block;
background: var(--accent-primary);
color: #fff;
font-size: 18px;
font-weight: 600;
padding: 14px 36px;
border-radius: 6px;
transition: background 0.2s;
}
.btn-download:hover {
background: var(--accent-primary-hover);
text-decoration: none;
}
.hero-note {
margin-top: 14px;
font-size: 13px;
color: var(--text-secondary);
}
/* Sections */
section {
padding: 56px 0;
}
section + section {
border-top: 1px solid var(--border);
}
section h2 {
font-size: 24px;
font-weight: 600;
color: var(--accent-primary);
margin-bottom: 24px;
}
/* Features */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 20px;
}
.feature-card {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 24px;
}
.feature-card h3 {
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
color: var(--text-primary);
}
.feature-card p {
font-size: 14px;
color: var(--text-secondary);
line-height: 1.5;
}
/* Setup Steps */
.steps {
counter-reset: step;
list-style: none;
}
.steps li {
counter-increment: step;
position: relative;
padding: 16px 0 16px 52px;
}
.steps li + li {
border-top: 1px solid var(--border);
}
.steps li::before {
content: counter(step);
position: absolute;
left: 0;
top: 16px;
width: 32px;
height: 32px;
background: var(--accent-primary);
color: #fff;
font-weight: 700;
font-size: 14px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.steps li strong {
display: block;
margin-bottom: 4px;
color: var(--text-primary);
}
.steps li span {
font-size: 14px;
color: var(--text-secondary);
}
.steps code {
background: var(--bg-primary);
border: 1px solid var(--border);
padding: 2px 6px;
border-radius: 4px;
font-size: 13px;
color: var(--accent-primary);
}
/* Requirements */
.requirements-list {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
}
.requirements-list li {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 6px;
padding: 14px 18px;
font-size: 14px;
color: var(--text-secondary);
}
.requirements-list li strong {
color: var(--text-primary);
display: block;
margin-bottom: 2px;
}
/* Footer */
.footer {
border-top: 1px solid var(--border);
padding: 24px 0;
text-align: center;
font-size: 13px;
color: var(--text-secondary);
}
.footer a {
color: var(--text-secondary);
}
.footer a:hover {
color: var(--text-primary);
}
/* Responsive */
@media (max-width: 600px) {
.hero {
padding: 48px 0 40px;
}
.hero h1 {
font-size: 28px;
}
.hero .tagline {
font-size: 16px;
}
.btn-download {
font-size: 16px;
padding: 12px 28px;
}
section {
padding: 36px 0;
}
.features-grid {
grid-template-columns: 1fr;
}
.requirements-list {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<header class="header">
<div class="container">
<div class="header-brand">
<img src="icon.png" alt="Alta Proxy Tool">
<span>Alta Proxy Tool</span>
</div>
<a href="https://github.com/PageZ948/Alta-Proxy-Tool" class="header-link">GitHub</a>
</div>
</header>
<main>
<div class="container">
<div class="hero">
<img src="icon.png" alt="" class="hero-icon">
<h1>Alta Proxy Tool</h1>
<p class="tagline">Connect to Avigilon Alta cameras through a local RTSP proxy &mdash; no cloud relay required.</p>
<a href="https://github.com/PageZ948/Alta-Proxy-Tool/releases/latest" class="btn-download">Download for Windows</a>
<p class="hero-note">Portable .exe &mdash; no installation needed</p>
</div>
<section>
<h2>Features</h2>
<div class="features-grid">
<div class="feature-card">
<h3>Cookie-Based Auth</h3>
<p>Authenticate seamlessly via the companion Chrome extension. No credentials stored in the app.</p>
</div>
<div class="feature-card">
<h3>Device Discovery</h3>
<p>Automatically discovers all on-premise cameras in your Alta deployment with online/offline status.</p>
</div>
<div class="feature-card">
<h3>Local RTSP Proxy</h3>
<p>Launches aware-cam-proxy to establish direct camera connections for RTSP streaming.</p>
</div>
<div class="feature-card">
<h3>Batch Operations</h3>
<p>Connect to multiple cameras at once with batch proxy launch and sequential port assignment.</p>
</div>
<div class="feature-card">
<h3>Self-Updating</h3>
<p>Built-in update checker downloads new releases directly from GitHub.</p>
</div>
<div class="feature-card">
<h3>Portable</h3>
<p>Single .exe, no installer. Run it from anywhere on any Windows machine.</p>
</div>
</div>
</section>
<section>
<h2>Quick Start</h2>
<ol class="steps">
<li>
<strong>Download the app</strong>
<span>Grab the latest <code>.exe</code> from the <a href="https://github.com/PageZ948/Alta-Proxy-Tool/releases/latest">Releases</a> page and place it in a folder alongside <code>aware-cam-proxy.exe</code>.</span>
</li>
<li>
<strong>Install the Chrome extension</strong>
<span>Open <code>chrome://extensions</code>, enable Developer mode, click "Load unpacked", and select the <code>chrome-extension</code> folder from this repo.</span>
</li>
<li>
<strong>Log in to Alta</strong>
<span>Sign in to your Avigilon Alta deployment in Chrome as you normally would.</span>
</li>
<li>
<strong>Send cookies to the app</strong>
<span>Click the extension icon and press "Send Cookie to APT". The app will connect automatically.</span>
</li>
<li>
<strong>Start proxying</strong>
<span>Select cameras from the device list and click Start Proxy. Use the generated RTSP URL in your video client.</span>
</li>
</ol>
</section>
<section>
<h2>Requirements</h2>
<ul class="requirements-list">
<li>
<strong>Windows 10+</strong>
The proxy executable is Windows-only.
</li>
<li>
<strong>Google Chrome</strong>
Required for the cookie bridge extension.
</li>
<li>
<strong>aware-cam-proxy.exe</strong>
Must be in the same folder as the app.
</li>
<li>
<strong>Alta Deployment</strong>
An active Avigilon Alta Video account.
</li>
</ul>
</section>
</div>
</main>
<footer class="footer">
<div class="container">
<a href="https://github.com/PageZ948/Alta-Proxy-Tool">Alta Proxy Tool on GitHub</a>
</div>
</footer>
</body>
</html>