Files
time/ventures/wavehello/index.html
T

511 lines
15 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wavehello - Turn Voice Memos into Soundwave Art</title>
<style>
:root {
--primary: #6366f1;
--primary-dark: #4f46e5;
--background: #f8fafc;
--text: #0f172a;
--text-secondary: #64748b;
--border: #e2e8f0;
--card-bg: #ffffff;
--shadow: rgba(0, 0, 0, 0.05);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: var(--background);
color: var(--text);
line-height: 1.6;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
flex-wrap: wrap;
gap: 1rem;
}
.header-content {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
h1 {
font-size: 1.5rem;
font-weight: 700;
}
.tagline {
font-size: 0.875rem;
color: var(--text-secondary);
}
.cta-button {
background-color: var(--primary);
color: white;
border: none;
border-radius: 0.5rem;
padding: 0.75rem 1.5rem;
font-weight: 600;
cursor: pointer;
text-decoration: none;
display: inline-block;
transition: background-color 0.2s;
}
.cta-button:hover {
background-color: var(--primary-dark);
}
.note {
font-size: 0.75rem;
color: var(--text-secondary);
margin-top: 0.25rem;
}
#try {
min-height: calc(100vh - 4rem);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.product-container {
width: 100%;
max-width: 800px;
background-color: var(--card-bg);
border-radius: 1rem;
box-shadow: 0 10px 25px var(--shadow);
padding: 2rem;
text-align: center;
}
.record-button {
background-color: var(--primary);
color: white;
border: none;
border-radius: 50%;
width: 80px;
height: 80px;
font-size: 1.5rem;
cursor: pointer;
margin: 1rem 0;
transition: transform 0.2s, background-color 0.2s;
}
.record-button:hover {
background-color: var(--primary-dark);
transform: scale(1.05);
}
.drop-area {
border: 2px dashed var(--border);
border-radius: 0.5rem;
padding: 2rem;
margin: 1rem 0;
cursor: pointer;
transition: background-color 0.2s;
}
.drop-area:hover {
background-color: #f1f5f9;
}
.file-input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
}
.visualization {
margin: 2rem 0 0.5rem;
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
}
.waveform {
width: 100%;
height: 200px;
background-color: transparent;
border-radius: 0.5rem;
position: relative;
overflow: hidden;
}
.waveform canvas {
width: 100%;
height: 100%;
display: block;
}
.wave-readout {
font-size: 0.75rem;
color: var(--text-secondary);
min-height: 1.2em;
margin-bottom: 1rem;
}
.controls {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin: 1rem 0;
}
.control-group {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
label {
font-weight: 600;
font-size: 0.875rem;
}
select, input {
padding: 0.5rem;
border: 1px solid var(--border);
border-radius: 0.25rem;
}
.download-button {
background-color: var(--primary);
color: white;
border: none;
border-radius: 0.5rem;
padding: 0.75rem 1.5rem;
font-weight: 600;
cursor: pointer;
margin-top: 1rem;
}
.download-button:hover {
background-color: var(--primary-dark);
}
section {
max-width: 1200px;
margin: 3rem auto;
padding: 0 1rem;
}
h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
}
ul {
list-style-type: disc;
margin-left: 1.5rem;
margin-bottom: 1rem;
}
li {
margin-bottom: 0.5rem;
}
.repo-links {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin: 1rem 0;
}
.repo-link {
background-color: var(--card-bg);
border: 1px solid var(--border);
border-radius: 0.5rem;
padding: 1rem;
text-decoration: none;
color: var(--text);
display: flex;
flex-direction: column;
gap: 0.5rem;
transition: box-shadow 0.2s;
}
.repo-link:hover {
box-shadow: 0 4px 6px var(--shadow);
}
.repo-name {
font-weight: 600;
}
.stars {
font-size: 0.875rem;
color: var(--text-secondary);
}
.pricing-tiers {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin: 2rem 0;
}
.tier {
background-color: var(--card-bg);
border: 1px solid var(--border);
border-radius: 0.5rem;
padding: 1.5rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.tier-title {
font-size: 1.25rem;
font-weight: 700;
}
.tier-price {
font-size: 1.5rem;
font-weight: 700;
}
.tier-includes {
flex-grow: 1;
}
.tier-button {
background-color: var(--primary);
color: white;
border: none;
border-radius: 0.5rem;
padding: 0.75rem;
font-weight: 600;
cursor: pointer;
text-decoration: none;
text-align: center;
}
.tier-button:hover {
background-color: var(--primary-dark);
}
.footer {
text-align: center;
padding: 2rem 1rem;
color: var(--text-secondary);
font-size: 0.875rem;
}
a {
color: var(--primary);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
@media (max-width: 390px) {
header {
flex-direction: column;
align-items: stretch;
}
.header-content {
text-align: center;
}
#try {
padding: 1rem;
}
.product-container {
padding: 1rem;
}
}
</style>
</head>
<body>
<header>
<div class="header-content">
<h1>Wavehello</h1>
<div class="tagline">Turn voice memos into frame-worthy soundwave art</div>
</div>
<div>
<a href="https://github.com/teahubxyz/time/issues/new?template=early-access.yml&title=Early+access%3A+Wavehello&venture=wavehello&plan=Print+%28founding%29"
target="_blank" rel="noopener" class="cta-button">
Join early access
</a>
<div class="note">Opens a public GitHub issue. No email, no payment.</div>
</div>
</header>
<section id="try">
<div class="product-container">
<h2>Create Your Soundwave Art</h2>
<p>Record a message or drop an audio file to generate beautiful soundwave art</p>
<button class="record-button" id="recordButton" type="button" aria-label="Record">●</button>
<div class="drop-area" id="dropArea">
<p>Or drop an audio file here</p>
<p class="note">(MP3, WAV, or any audio format)</p>
<input class="file-input" id="fileInput" type="file" accept="audio/*,.mp3,.wav,.ogg,.m4a,.webm" aria-label="Choose an audio file">
</div>
<div class="visualization">
<div class="waveform" id="waveform">Decoding the sample voicemail…</div>
</div>
<p class="wave-readout" id="waveReadout"></p>
<div class="controls">
<div class="control-group">
<label for="styleSelect">Style</label>
<select id="styleSelect">
<option value="line">Line</option>
<option value="bars">Bars</option>
<option value="ripple">Ripple</option>
</select>
</div>
<div class="control-group">
<label for="colorPicker">Color</label>
<input type="color" id="colorPicker" value="#6366f1">
</div>
<div class="control-group">
<label for="captionInput">Caption</label>
<input type="text" id="captionInput" placeholder="Optional caption...">
</div>
</div>
<button class="download-button" id="downloadButton" type="button">Download PNG</button>
</div>
</section>
<section id="how-it-works">
<h2>How It Works</h2>
<ol>
<li><strong>Record or upload</strong> - Capture a new message or drop an existing audio file</li>
<li><strong>Customize</strong> - Choose a visual style, color, and add a caption</li>
<li><strong>Download</strong> - Get a beautiful PNG ready to share or print</li>
</ol>
</section>
<section id="why-this-exists">
<h2>Why This Exists</h2>
<p>Wavehello builds on these amazing open-source projects:</p>
<div class="repo-links">
<a href="https://github.com/storytold/soundcraft" class="repo-link" target="_blank" rel="noopener">
<div class="repo-name">storytold/soundcraft</div>
<div class="stars">⭐ 2,277 stars</div>
</a>
<a href="https://github.com/alejandrobujan/tendedero" class="repo-link" target="_blank" rel="noopener">
<div class="repo-name">alejandrobujan/tendedero</div>
<div class="stars">⭐ 2,006 stars</div>
</a>
<a href="https://github.com/noahdunnagan/fsearch" class="repo-link" target="_blank" rel="noopener">
<div class="repo-name">noahdunnagan/fsearch</div>
<div class="stars">⭐ 1,975 stars</div>
</a>
</div>
</section>
<section id="pricing">
<h2>Pricing</h2>
<p>Nothing is charged today.</p>
<div class="pricing-tiers">
<div class="tier">
<div class="tier-title">Free</div>
<div class="tier-price">$0</div>
<div class="tier-includes">
<ul>
<li>Record or drop in any audio</li>
<li>Line/bars/ripple styles</li>
<li>Custom colors</li>
<li>Optional caption</li>
<li>Transparent PNG download</li>
<li>All in-browser, no account, no watermark, nothing uploaded</li>
</ul>
</div>
<a href="#try" class="tier-button">Use it free</a>
</div>
<div class="tier">
<div class="tier-title">Print (founding)</div>
<div class="tier-price">$15 one-time</div>
<div class="tier-includes">
<ul>
<li>Print-ready high-resolution PNG and SVG</li>
<li>Sized for standard frames</li>
<li>Multi-clip sets</li>
<li>Gift-ready layouts</li>
</ul>
</div>
<a href="https://github.com/teahubxyz/time/issues/new?template=early-access.yml&title=Early+access%3A+Wavehello&venture=wavehello&plan=Print+%28founding%29"
target="_blank" rel="noopener" class="tier-button">
Join early access
</a>
</div>
<div class="tier">
<div class="tier-title">Studio (founding)</div>
<div class="tier-price">$9/mo</div>
<div class="tier-includes">
<ul>
<li>Commercial license</li>
<li>Batch export from multiple clips</li>
<li>Reusable brand templates</li>
<li>Color presets</li>
</ul>
</div>
<a href="https://github.com/teahubxyz/time/issues/new?template=early-access.yml&title=Early+access%3A+Wavehello&venture=wavehello&plan=Studio+%28founding%29"
target="_blank" rel="noopener" class="tier-button">
Join early access
</a>
</div>
</div>
</section>
<section id="limits">
<h2>Limits</h2>
<ul>
<li>No mobile recording support yet (use desktop for best experience)</li>
<li>Maximum audio length is 30 seconds for processing performance</li>
<li>Only generates PNG images (SVG in paid tier)</li>
<li>No text-to-speech or advanced editing features</li>
<li>Does not save creations automatically (download to keep)</li>
</ul>
</section>
<footer class="footer">
<p>Built by <a href="https://github.com/teahubxyz/time" target="_blank" rel="noopener">Time</a>, an agent-run venture studio on GitHub</p>
<p>Want the next version? <a href="https://github.com/teahubxyz/time/issues/30" target="_blank" rel="noopener">👍 the signal issue</a></p>
</footer>
<script src="time.js"></script>
<script src="app.js"></script>
</body>
</html>