This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bb | |
| ;; transcribe-via-whisper.cpp — local whisper.cpp transcription for a video file. | |
| ;; | |
| ;; Outputs .wav, .vtt, .srt, .txt next to the video. | |
| ;; | |
| ;; Defaults assume Oleksii's setup: | |
| ;; - whisper.cpp installed via pacman (whisper-cli on PATH) | |
| ;; - model at ~/Models/whisper.cpp/ggml-large-v3-turbo-q5_0.bin | |
| ;; - i7-1185G7 (4 physical cores) — 4 threads optimal | |
| ;; - Ukrainian by default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| import requests | |
| GOOGLE_CAL_URL = 'https://calendar.google.com/calendar/ical/' | |
| CALENDARS = { | |
| 'My': 'alex.v.koval%40gmail.com/private-somehash%%%/basic.ics' | |
| } | |