Firefox 브라우저 부가 기능
  • 확장 기능
  • 테마
    • Firefox용
    • 사전 및 언어 팩
    • 다른 브라우저 사이트
    • Android 부가 기능
로그인
FireTTS 미리보기

FireTTS 제작자: dishdare

Right-click to speak selected text using locally installed TTS (coqui-ai/TTS). Sends selected text to your offline TTS system for speech output. This is more or less DIY project since most of the things are needed on your local machine.

5 (리뷰 1개)5 (리뷰 1개)
사용자 1명사용자 1명
Firefox를 다운로드하고 확장 기능을 받으세요
파일 다운로드

확장 메타 데이터

정보
Text to Speech solution using locally installed TTS.

Repo - https://github.com/coqui-ai/TTS

steps to install coqui-ai/TTS locally
conda create --name tts python=3.11 jupyter -y
conda activate tts
pip install tts flask flask-cors
sudo apt install ffmpeg

create the server file and run it - server.py

server.py

from flask import Flask, request
from flask_cors import CORS
import subprocess
import os

app = Flask(__name__)
CORS(app)

# Define output path
OUTPUT_DIR = os.path.expanduser("~/tts")
OUTPUT_FILE = os.path.join(OUTPUT_DIR, "output.wav")

@app.route("/speak", methods=["POST"])
def speak():
text = request.json.get("text", "")
print("Received text:", repr(text))

if not text:
return {"error": "No text provided"}, 400

# Create output folder if it doesn't exist
os.makedirs(OUTPUT_DIR, exist_ok=True)

# Build and run the TTS command safely
subprocess.run([
"conda", "run", "-n", "tts",
"tts",
"--text", text,
"--model_name", "tts_models/en/ljspeech/glow-tts",
"--out_path", OUTPUT_FILE
])

# Notify user
os.system(f'notify-send "TTS" "Speaking: {text[:80]}..."')

# Play the generated audio
subprocess.run(["ffplay", "-nodisp", "-autoexit", OUTPUT_FILE])

return {"status": "done"}

if __name__ == "__main__":
print("Starting server...")
app.run(port=5002, debug=True)



Enjoy Freedom of Speech.

My first extension. Please let me know if there are any issues or solutions.
Special thanks to ChatGPT.
1명이 5점으로 평가함
로그인하여 이 확장 기능의 평점을 남겨주세요
아직 평점이 없습니다

별점 저장됨

5
1
4
0
3
0
2
0
1
0
리뷰 1개 모두 읽기
추가 정보
부가 기능 링크
  • Copy add-on ID
버전
1.0
크기
1.35 MB
마지막 업데이트
일 년 전 (2025년 6월 21일)
관련 카테고리
  • 언어 지원 및 번역
라이선스
MIT 라이선스
버전 목록
  • 모든 버전 보기
모음집에 추가
이 부가 기능 신고
Mozilla 홈페이지로 이동

부가 기능

  • 소개
  • Firefox 부가 기능 블로그
  • 확장 기능 워크샵
  • 개발자 허브
  • 개발자 정책
  • 커뮤니티 블로그
  • 포럼
  • 버그 신고
  • 리뷰 지침

브라우저

  • Desktop
  • Mobile
  • Enterprise

제품

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 개인 정보
  • 쿠키
  • 법률

특별한 고지가 없는 한, 본 사이트의 콘텐츠는 Commons Attribution Share-Alike License v3.0 또는 그 이후 버전에 따라 사용이 허가됩니다.