Skip to content

Instantly share code, notes, and snippets.

View BeliefJourney's full-sized avatar

BeliefJourney

View GitHub Profile
@willbchang
willbchang / azure_tts.sh
Last active July 16, 2025 04:06
A simple example to use Azure text to speech REST API with shell script in macOS via Popclip Snippet. You can get the newest version from: https://github.com/willbchang/popclip-azure-text-to-speech
#!/bin/zsh
# #popclip
# name: Azure TTS
# icon: symbol:message.and.waveform
# Please apply for your own key
AZURE_REGION=
AZURE_SUBSCRIPTION_KEY=
# Create a temporary audio file