termux / termux/termux-api

termux-speech-to-text compatibility/integration with Dicio?

Open
#671 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Feature description

I'd like to be able to use termux-tts-speak with Dicio. Dicio is a voice assistant listed of FDroid (possibly the only one?). It has a speech to text service which works with other apps such as Fennec. I can trigger with it am:

am start -n org.stypox.dicio/.input.stt_service.SttServiceActivity

However this doesn't return the text to Termux. I'm guessing that's because it is going through am and Dicio doesn't know how to return the result? If termux-speech-to-text requested the service the same way Fennec does, then it would work.

EDIT: Maybe this will be helpful?
https://github.com/Stypox/dicio-android/issues/126#issuecomment-1369293198

Reference implementation

Have you checked if the feature is accessible through the Android API? Yes
Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
Fennec F-Droid:
https://github.com/mozilla-mobile/firefox-android

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the termux-speech-to-text entry point and the Android API used by Fennec F-Droid for speech input. Compare that flow with the am command for Dicio and the linked Dicio issue. Done means Dicio returns recognized text to Termux through the requested service integration.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.