feat(frontend): Vue 3 wizard UI (nostr login, episode upload, go-live)

- NIP-07 login → NIP-98 signed request → session cookie
- episode wizard: pick/create podcast (incl. lightning address question),
  browser-side sha256 + BUD-02 blossom upload with progress, feed result page
- live wizard + stream dashboard: OBS server/key (shown once, rotatable),
  browser WHIP publishing (camera or screen), hls.js live preview,
  publish-recording-as-episode flow
- settings view: external blossom URL, relay list, public URL (admin only)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-10 19:06:43 +00:00
co-authored by Claude Fable 5
parent 594a9a8783
commit 5216c6451e
26 changed files with 4144 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { createRouter, createWebHistory } from 'vue-router';
import { useAuthStore } from './stores/auth';
export const router = createRouter({
history: createWebHistory(),
routes: [
{ path: '/login', component: () => import('./views/LoginView.vue') },
{ path: '/', component: () => import('./views/HomeView.vue') },
{ path: '/upload', component: () => import('./views/wizard/EpisodeWizard.vue') },
{ path: '/live', component: () => import('./views/wizard/LiveWizard.vue') },
{ path: '/streams/:id', component: () => import('./views/StreamDashboard.vue') },
{ path: '/settings', component: () => import('./views/SettingsView.vue') },
],
});
router.beforeEach(async (to) => {
const auth = useAuthStore();
await auth.ensureLoaded();
if (to.path !== '/login' && !auth.pubkey) return '/login';
if (to.path === '/login' && auth.pubkey) return '/';
});