diff --git a/README.md b/README.md index 18b6efd2..b1d63eb2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-Scriberr +Scriberr Self‑hostable, secure & private offline transcription. Drop in a recording, get clean transcripts, highlight key moments, take notes or chat with your audio using your favorite LLM — all without sending your data to the cloud. diff --git a/cropped-main-logo.png b/cropped-main-logo.png new file mode 100644 index 00000000..9ef5268b Binary files /dev/null and b/cropped-main-logo.png differ diff --git a/cropped-thumb.png b/cropped-thumb.png new file mode 100644 index 00000000..3c02ae6d Binary files /dev/null and b/cropped-thumb.png differ diff --git a/internal/web/static.go b/internal/web/static.go index 2f595dca..b804df2d 100644 --- a/internal/web/static.go +++ b/internal/web/static.go @@ -70,6 +70,26 @@ func SetupStaticRoutes(router *gin.Engine, authService *auth.AuthService) { c.Data(http.StatusOK, "image/svg+xml", fileContent) }) + // Serve scriberr-logo.png + router.GET("/scriberr-logo.png", func(c *gin.Context) { + fileContent, err := staticFiles.ReadFile("dist/scriberr-logo.png") + if err != nil { + c.Status(http.StatusNotFound) + return + } + c.Data(http.StatusOK, "image/png", fileContent) + }) + + // Serve scriberr-thumb.png + router.GET("/scriberr-thumb.png", func(c *gin.Context) { + fileContent, err := staticFiles.ReadFile("dist/scriberr-thumb.png") + if err != nil { + c.Status(http.StatusNotFound) + return + } + c.Data(http.StatusOK, "image/png", fileContent) + }) + // Serve index.html for root and any unmatched routes (SPA behavior) router.NoRoute(func(c *gin.Context) { // For API routes, return 404 diff --git a/scriberr-logo.png b/scriberr-logo.png new file mode 100644 index 00000000..9ef5268b Binary files /dev/null and b/scriberr-logo.png differ diff --git a/scriberr-thumb.png b/scriberr-thumb.png new file mode 100644 index 00000000..3c02ae6d Binary files /dev/null and b/scriberr-thumb.png differ diff --git a/web/frontend/index.html b/web/frontend/index.html index 43aeb203..eb0884cf 100644 --- a/web/frontend/index.html +++ b/web/frontend/index.html @@ -2,7 +2,7 @@ - + Scriberr - Audio Transcription diff --git a/web/frontend/src/components/ScriberrLogo.tsx b/web/frontend/src/components/ScriberrLogo.tsx index a0c042f7..8634abfe 100644 --- a/web/frontend/src/components/ScriberrLogo.tsx +++ b/web/frontend/src/components/ScriberrLogo.tsx @@ -2,9 +2,10 @@ export function ScriberrLogo({ className = "", onClick }: { className?: string; const clickable = typeof onClick === 'function' return (
- - Scriberr - + />
) } diff --git a/web/landing/api.html b/web/landing/api.html deleted file mode 100644 index 416be596..00000000 --- a/web/landing/api.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Scriberr API Reference - - - - - -
- - - diff --git a/web/landing/changelog.html b/web/landing/changelog.html deleted file mode 100644 index 09bdf4b0..00000000 --- a/web/landing/changelog.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - Scriberr — Changelog - - - - - -
- - - - - diff --git a/web/landing/docs-contributing.html b/web/landing/docs-contributing.html deleted file mode 100644 index 75bbbcef..00000000 --- a/web/landing/docs-contributing.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Scriberr Docs — Contributing - - - - - -
- - - \ No newline at end of file diff --git a/web/landing/docs-diarization.html b/web/landing/docs-diarization.html deleted file mode 100644 index b942707a..00000000 --- a/web/landing/docs-diarization.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Scriberr Docs — Diarization - - - - - -
- - - \ No newline at end of file diff --git a/web/landing/docs-index.html b/web/landing/docs-index.html deleted file mode 100644 index 7958b209..00000000 --- a/web/landing/docs-index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Docs | Scriberr - - - - -

Redirecting to /docs/intro.html

- - - - diff --git a/web/landing/docs-installation.html b/web/landing/docs-installation.html deleted file mode 100644 index b1bcd557..00000000 --- a/web/landing/docs-installation.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Scriberr Docs — Installation - - - - - -
- - - \ No newline at end of file diff --git a/web/landing/docs-intro.html b/web/landing/docs-intro.html deleted file mode 100644 index 48d9250c..00000000 --- a/web/landing/docs-intro.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Scriberr Docs — Introduction - - - - - -
- - - \ No newline at end of file diff --git a/web/landing/index.html b/web/landing/index.html index 67da5950..38959829 100644 --- a/web/landing/index.html +++ b/web/landing/index.html @@ -2,6 +2,10 @@ + + + + Scriberr — Transcribe audio. Summarize. Annotate. diff --git a/web/landing/public/api/undocumented.json b/web/landing/public/api/undocumented.json index 363c1f35..0d0871a4 100644 --- a/web/landing/public/api/undocumented.json +++ b/web/landing/public/api/undocumented.json @@ -63,6 +63,13 @@ "description": "Upload an audio file without starting transcription", "tag": "transcription" }, + { + "method": "POST", + "path": "/api/v1/transcription/upload-video", + "summary": "Upload video file for transcription", + "description": "Upload a video file, extract audio from it using ffmpeg, and create a transcription job", + "tag": "transcription" + }, { "method": "POST", "path": "/api/v1/transcription/submit", diff --git a/web/landing/src/components/Hero.tsx b/web/landing/src/components/Hero.tsx index 057ca061..66973641 100644 --- a/web/landing/src/components/Hero.tsx +++ b/web/landing/src/components/Hero.tsx @@ -7,8 +7,8 @@ export default function Hero() { Self-hosted offline audio transcription -

- +

+

Transcribe audio locally into text - Summarize and Chat with your diff --git a/web/landing/src/components/Navbar.tsx b/web/landing/src/components/Navbar.tsx index f4d7c2f2..62b1a71e 100644 --- a/web/landing/src/components/Navbar.tsx +++ b/web/landing/src/components/Navbar.tsx @@ -8,7 +8,7 @@ export default function Navbar() {

- +