diff --git a/README.md b/README.md index 3e0c8a3c..9240ecb8 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Self‑hostable, secure & private offline transcription. Drop in a recording, ge ## Sponsors -![recall.ai-logo](https://cdn.prod.website-files.com/620d732b1f1f7b244ac89f0e/66b294e51ee15f18dd2b171e_recall-logo.svg) Meeting Transcription API +![recall.ai-logo](https://cdn.prod.website-files.com/620d732b1f1f7b244ac89f0e/66b294e51ee15f18dd2b171e_recall-logo.svg) Meeting Transcription API If you're looking for a transcription API for meetings, consider checking out [Recall.ai](https://www.recall.ai/?utm_source=github&utm_medium=sponsorship&utm_campaign=rishikanthc-scriberr), an API that works with Zoom, Google Meet, Microsoft Teams, and more. Recall.ai diarizes by pulling the speaker data and seperate audio streams from the meeting platforms, which means 100% accurate speaker diarization with actual speaker names. @@ -207,22 +207,19 @@ Scriberr exposes a clean REST API for most features (transcription, chat, notes, Issues and PRs are welcome. Please open an issue to discuss large changes first and keep PRs focused. -Local development setup: +Local dev overview: -```sh -# Backend +```bash +# Backend (dev) +cp -n .env.example .env || true go run cmd/server/main.go -# Frontend +# Frontend (dev) cd web/frontend npm ci npm run dev -# The vite server will proxy /api calls over to the server port -``` -Release build: - -```sh +# Full build (embeds UI in Go binary) ./build.sh ./scriberr ``` diff --git a/web/frontend/vite.config.ts b/web/frontend/vite.config.ts index f10d1410..2134c6bd 100644 --- a/web/frontend/vite.config.ts +++ b/web/frontend/vite.config.ts @@ -5,8 +5,6 @@ import path from "path" import { VitePWA } from 'vite-plugin-pwa' -const BACKEND_PORT = process.env.PORT || '8080' - // https://vite.dev/config/ export default defineConfig({ plugins: [ @@ -66,12 +64,4 @@ export default defineConfig({ chunkSizeWarningLimit: 1000, }, base: "/", - server: { - proxy: { - '/api': { - target: `http://localhost:${BACKEND_PORT}`, - changeOrigin: true, - } - } - } })