Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/thewh1teagle/vibe
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Oct 3, 2024
2 parents 6266cf4 + 567b234 commit df94199
Show file tree
Hide file tree
Showing 21 changed files with 490 additions and 8 deletions.
139 changes: 134 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified desktop/bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@tauri-apps/plugin-deep-link": "^2.0.0",
"@tauri-apps/plugin-dialog": "^2.0.0",
"@tauri-apps/plugin-fs": "^2.0.0",
"@tauri-apps/plugin-http": "~2",
"@tauri-apps/plugin-os": "^2.0.0",
"@tauri-apps/plugin-process": "^2.0.0",
"@tauri-apps/plugin-shell": "^2.0.0",
Expand Down
1 change: 1 addition & 0 deletions desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ tauri-plugin-deep-link = "=2.0.0"
tauri-plugin-store = "=2.0.0"
tauri-plugin-single-instance = "=2.0.0"
tauri-plugin-clipboard-manager = "=2.0.0"
tauri-plugin-http = "2"

serde_json = { workspace = true }
eyre = { workspace = true }
Expand Down
10 changes: 10 additions & 0 deletions desktop/src-tauri/capabilities/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@
}
]
},
{
"identifier": "http:default",
"allow": [
{
"url": "https://*.anthropic.*"
}
]
},
"http:default",
"http:allow-fetch",
"store:allow-set",
"store:allow-get",
"store:allow-has",
Expand Down
14 changes: 14 additions & 0 deletions desktop/src-tauri/locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"enable-logs": "Enable Logs",
"error-title": "Error",
"files": "Files",
"find-here": "Find Here",
"focus-window-on-finish": "Focus window",
"format": "Format",
"general": "General",
Expand All @@ -46,24 +47,35 @@
"info-enable-logs": "Write logs to file. Please restart after enable it.",
"info-gpu-device": "Select the GPU device for transcription. Enter the GPU device number, starting from 0. If you have 2 GPUs, choose either 0 or 1.",
"info-high-gpu-performance": "Enhances graphics performance for Vibe, but will consume more system resources.",
"info-llm-api-key": "The API key from the website of the AI model",
"info-llm-prompt": "Prompt for the AI model. must include the pattern %s which will be replaced with the transcription.",
"info-llm-summarize": "Summarize with AI. Requires API key. Once the transcription complete, it will be sent to Claude API along with chosed prompt and then in few seconds the answer from the AI will be displayed in Vibe instead of the transcription. Works also when transcribing multiple files!",
"info-manual-download": "Internet connection is required to downlod the AI modal",
"info-max-sentence-len": "How many letters will be in single sentence. works only when word timestamps is on.",
"info-max-speakers": "How many speakers should be in the file. used for more precise recognition",
"info-max-text-ctx": "Max context tokens to use from past text as prompt for the decoder",
"info-max-tokens": "Max tokens for the AI model. Each tokens is usually considered as a single word. This can save you from send too much data which cost money. It's recommend to restrict it also in the website.",
"info-prompt": "Make transcripts better by writing expected words.",
"info-recognize-speakers": "Detect speaker in each sentence and add it",
"info-temperature": "Higher values lead to more unique words; lower values stick to common ones. Usually set around 0.4 for a balanced result.",
"info-threads": "Increase CPU for faster decoding; balance speed with resource usage. Recommended: 4",
"info-translate-to-english": "Translate transcription into English from any language by enabling this option",
"info-use-word-timestamps": "Transcript with word timestamps instead of sentence timestamps. Useful in JSON format. Disabled when speaker recognition is on.",
"install-now": "Install Now",
"invalid-llm-api-key": "Invalid API Key",
"invalid-llm-prompt": "Invalid prompt. it must include the following pattern %s which will be replaced with the transcription.",
"language": "Language",
"leftover": "left",
"light": "Light",
"llm-api-key": "Claude API key",
"llm-current-cost": "Usage costs",
"llm-default-prompt": "Summarize the following transcription: \"\"\"%s\"\"\"",
"llm-prompt": "Prompt",
"logs-folder": "Logs Folder",
"max-sentence-len": "Max Sentence Length",
"max-speakers": "Max speakers",
"max-text-ctx": "Maximum context",
"max-tokens": "Max Tokens",
"microphone": "Microphone",
"modal-close": "Close",
"modal-error-body": "A bug happend!",
Expand All @@ -78,6 +90,7 @@
"play-sound-on-finish": "Play sound",
"popular": "Popular",
"print-tooltip": "Print",
"process-with-llm": "Summarize",
"project-link": "About Vibe",
"prompt": "Prompt",
"recognize-speakers": "Recognize speakers",
Expand All @@ -94,6 +107,7 @@
"select-language": "Select Language",
"select-model": "Select Model",
"select-theme": "Select Theme",
"set-monthly-spend-limit": "Set monthly spend limit",
"settings": "Settings",
"speaker-prefix": "Speaker",
"speaker-recognition": "Speaker Recognition",
Expand Down
Loading

0 comments on commit df94199

Please sign in to comment.