Logo
Explore Help
Sign In
fam/cube
1
0
Fork 0
You've already forked cube
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
d964b46dbe50088996cc2e7b60c1935cb64f381e
cube/apps/notes/frontend/vite.config.js
T

12 lines
200 B
JavaScript
Raw Normal View History

notes: 新建 notes.famzheng.me — 录音 → ASR → LLM 会议纪要 - 后端 axum + sqlite (recordings 表):上传 multipart 流式落 PVC;spawn worker pending → transcribing (调 mochi 那边 ASR endpoint, fireredasr2 token, Whisper-style multipart) → summarizing (调 gemma-4-31b-it OpenAI 兼容接口) → done - 鉴权 middleware:Authorization: token <PASSPHRASE>;audio 流播放 ?token= query 兜底;passphrase 走 k8s Secret 不写死 - 前端 Vue3:首次访问弹 passphrase modal;sidebar 录音列表(带状态 chip)+ content 选中显示音频 + 转写 + markdown 纪要;5s polling 进度 - k8s manifest: ns cube-notes / PVC 30Gi / Ingress notes.famzheng.me / bodylimit 600M;Secret notes-creds = {passphrase, asr_token, llm_token} - portal apps.ts 加 notes entry
2026-05-17 21:43:44 +01:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api': 'http://localhost:8080'
}
}
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.26.0+rc0 Page: 15ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API