feat: add meeting transcription app scaffolding
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 48s
CI / Lint & Test (pull_request) Successful in 14m18s
CI / Build Linux (pull_request) Successful in 14m19s
CI / Build Windows (cross-compile) (pull_request) Failing after 19m39s

- Add Python backend structure with FastAPI for transcription/summarization
- Add React UI with audio recording, transcript, and summary views
- Configure Tauri to manage Python backend lifecycle
- Set up Windows cross-compilation with cargo-xwin
- Add Gitea CI workflow for lint, test, and multi-platform builds
- Configure ESLint, Prettier, and Vitest for code quality

Note: App scaffolding only - Python env and models not yet set up
This commit is contained in:
2026-01-21 20:18:03 -08:00
parent 96494a9997
commit 3c8a46e5a6
41 changed files with 2679 additions and 1797 deletions
+304 -76
View File
@@ -1,116 +1,344 @@
.logo.vite:hover {
filter: drop-shadow(0 0 2em #747bff);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafb);
}
:root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
line-height: 1.5;
font-weight: 400;
color: #0f0f0f;
background-color: #f6f6f6;
--primary-color: #3b82f6;
--primary-hover: #2563eb;
--secondary-color: #10b981;
--danger-color: #ef4444;
--bg-color: #ffffff;
--surface-color: #f9fafb;
--text-color: #111827;
--text-secondary: #6b7280;
--border-color: #e5e7eb;
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
color: var(--text-color);
background-color: var(--bg-color);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
margin: 0;
min-height: 100vh;
}
.container {
margin: 0;
padding-top: 10vh;
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
/* Header */
.app-header {
text-align: center;
margin-bottom: 2rem;
}
.app-header h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.app-header p {
color: var(--text-secondary);
font-size: 1.125rem;
}
/* Warning Banner */
.warning-banner {
background-color: #fef3c7;
color: #92400e;
padding: 1rem;
border-radius: 0.5rem;
margin-bottom: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: 0.75s;
}
.logo.tauri:hover {
filter: drop-shadow(0 0 2em #24c8db);
}
.row {
/* App Content */
.app-content {
flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
gap: 2rem;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
/* Controls Section */
.controls-section {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
}
a:hover {
color: #535bf2;
/* Audio Recorder */
.audio-recorder {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
h1 {
text-align: center;
}
input,
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
color: #0f0f0f;
background-color: #ffffff;
transition: border-color 0.25s;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}
button {
.record-button {
font-size: 1.25rem;
padding: 1rem 2rem;
border-radius: 0.75rem;
border: 2px solid transparent;
background-color: var(--primary-color);
color: white;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
box-shadow: var(--shadow);
}
button:hover {
border-color: #396cd8;
}
button:active {
border-color: #396cd8;
background-color: #e8e8e8;
.record-button:hover {
background-color: var(--primary-hover);
transform: translateY(-2px);
box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
input,
button {
outline: none;
.record-button.recording {
background-color: var(--danger-color);
}
#greet-input {
margin-right: 5px;
.record-button.recording:hover {
background-color: #dc2626;
}
.recording-indicator {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--danger-color);
font-weight: 500;
}
.pulse {
width: 0.75rem;
height: 0.75rem;
background-color: var(--danger-color);
border-radius: 50%;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.5;
transform: scale(1.2);
}
100% {
opacity: 1;
transform: scale(1);
}
}
/* Action Buttons */
.action-buttons {
display: flex;
gap: 1rem;
}
.primary-button,
.secondary-button {
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
border: none;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
box-shadow: var(--shadow);
}
.primary-button {
background-color: var(--secondary-color);
color: white;
}
.primary-button:hover:not(:disabled) {
background-color: #059669;
transform: translateY(-1px);
}
.primary-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.secondary-button {
background-color: var(--surface-color);
color: var(--text-color);
border: 1px solid var(--border-color);
}
.secondary-button:hover {
background-color: var(--border-color);
}
/* Content Grid */
.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
flex: 1;
}
@media (max-width: 768px) {
.content-grid {
grid-template-columns: 1fr;
}
}
/* Transcript Display */
.transcript-display,
.summary-display {
background-color: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 0.75rem;
padding: 1.5rem;
display: flex;
flex-direction: column;
max-height: 600px;
}
.transcript-display h2,
.summary-display h2 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}
.transcript-segments,
.summary-content {
flex: 1;
overflow-y: auto;
}
.empty-state {
color: var(--text-secondary);
text-align: center;
padding: 2rem;
}
.segment {
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
}
.segment:last-child {
border-bottom: none;
}
.segment-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.speaker {
font-weight: 600;
font-size: 0.875rem;
}
.timestamp {
font-size: 0.75rem;
color: var(--text-secondary);
}
.segment-text {
line-height: 1.6;
}
/* Summary Display */
.summary-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.download-button {
padding: 0.5rem 1rem;
border-radius: 0.375rem;
border: 1px solid var(--border-color);
background-color: var(--bg-color);
font-size: 0.875rem;
cursor: pointer;
transition: all 0.2s;
}
.download-button:hover {
background-color: var(--surface-color);
}
.summary-text {
white-space: pre-wrap;
line-height: 1.6;
}
/* Loading */
.loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
gap: 1rem;
}
.spinner {
width: 3rem;
height: 3rem;
border: 3px solid var(--border-color);
border-top-color: var(--primary-color);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* Dark Mode */
@media (prefers-color-scheme: dark) {
:root {
color: #f6f6f6;
background-color: #2f2f2f;
--bg-color: #111827;
--surface-color: #1f2937;
--text-color: #f3f4f6;
--text-secondary: #9ca3af;
--border-color: #374151;
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}
a:hover {
color: #24c8db;
}
input,
button {
color: #ffffff;
background-color: #0f0f0f98;
}
button:active {
background-color: #0f0f0f69;
.warning-banner {
background-color: #451a03;
color: #fbbf24;
}
}