-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/miukyo/id-tr
- Loading branch information
Showing
2 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2025 Miukyo | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<p align="center"> | ||
<a href="https://github.com/miukyo/stt"> | ||
<img src="https://github.com/user-attachments/assets/99968b8a-18e2-4ca0-b8e5-34e49d57093d" alt="Logo" width="200" height="200"> | ||
</a> | ||
|
||
<h1 align="center">STT (Speech-to-Text Transcriber Tool)</h3> | ||
|
||
<p align="center"> | ||
STT is a tool that converts speech in audio files into text. It utilizes whisper.cpp for transcription and ffmpeg for processing various audio/video formats, making it easy to transcribe spoken content into written text. | ||
</p> | ||
|
||
## Quick start: | ||
1. Download the STT from [here](https://github.com/miukyo/stt/releases/) | ||
2. Install ffmpeg (required) | ||
4. Run `stt.exe` | ||
|
||
## Development | ||
Follow these steps to set up STT on your local machine: | ||
#### 1. Clone the Repository | ||
|
||
Clone the project to your local machine: | ||
``` | ||
git clone https://github.com/yourusername/stt.git | ||
cd stt | ||
``` | ||
#### 2. Install Dependencies | ||
|
||
You’ll need ffmpeg and whisper.cpp for this tool to work properly. | ||
- Install [ffmpeg](https://www.ffmpeg.org/download.html) | ||
- Build [whisper.cpp](https://github.com/ggerganov/whisper.cpp) (prebuilt binary is available on [/lib](https://github.com/miukyo/stt/tree/master/lib) folder, if you prefer building yourself please follow instruction from their repo) | ||
|
||
#### 3. Install Python Dependencies | ||
|
||
Use pip to install required Python packages: | ||
|
||
for running the program | ||
|
||
``` | ||
pip install pywebview | ||
``` | ||
|
||
for bundling the program into executable | ||
|
||
``` | ||
pip install pyinstaller | ||
``` | ||
|
||
#### 4. Usage | ||
|
||
After installing the dependencies, you can start transcribing your audio/video files. | ||
|
||
Run the tool with the following command: | ||
|
||
``` | ||
python main.py | ||
``` | ||
|
||
To bundle the program run the following command: | ||
|
||
``` | ||
pyinstaller main.spec | ||
``` | ||
|
||
then copy `lib` folder into `dist` folder | ||
|
||
## Known Issues | ||
|
||
- **This is the initial release. Please report any bugs or issues you encounter.** | ||
|
||
## Contributing | ||
|
||
Feel free to fork the repository, submit issues, or create pull requests to improve the tool. Contributions are welcome! | ||
License | ||
|
||
This project is licensed under the MIT License - see the LICENSE file for details. |