Skip to content

Commit edeeb04

Browse files
author
opencode
committed
Remove flatpak CI build, update installer and README to use flathub
1 parent 88dd011 commit edeeb04

File tree

4 files changed

+5
-27
lines changed

4 files changed

+5
-27
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,8 @@ jobs:
5050
name: Voice2Text-macOS
5151
path: dist/Voice2Text
5252

53-
build-flatpak:
54-
runs-on: ubuntu-latest
55-
steps:
56-
- uses: actions/checkout@v4
57-
- name: Install flatpak
58-
run: sudo apt-get update && sudo apt-get install -y flatpak
59-
- name: Add flathub repo
60-
run: flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
61-
- name: Install flatpak-builder
62-
run: flatpak install -y flathub org.flatpak.Builder
63-
- name: Build flatpak
64-
run: flatpak run org.flatpak.Builder --repo=repo build-dir com.voice2text.app.json
65-
- name: Bundle flatpak
66-
run: flatpak build-bundle repo com.voice2text.app.flatpak com.voice2text.app
67-
- name: Upload artifact
68-
uses: actions/upload-artifact@v4
69-
with:
70-
name: Voice2Text-Flatpak
71-
path: com.voice2text.app.flatpak
72-
7353
release:
74-
needs: [build-windows, build-macos, build-flatpak]
54+
needs: [build-windows, build-macos]
7555
runs-on: ubuntu-latest
7656
permissions:
7757
contents: write
@@ -87,7 +67,6 @@ jobs:
8767
files: |
8868
Voice2Text-Windows/Voice2Text.exe
8969
Voice2Text-macOS/Voice2Text
90-
Voice2Text-Flatpak/com.voice2text.app.flatpak
9170
install.sh
9271
draft: false
9372
prerelease: false

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- [Windows](https://github.com/crhy/Voice2Text-AI/releases/download/v0.2/Voice2Text.exe)
88
- [macOS](https://github.com/crhy/Voice2Text-AI/releases/download/v0.2/Voice2Text)
9-
- [Linux (Flatpak)](https://github.com/crhy/Voice2Text-AI/releases/download/v0.2/com.voice2text.app.flatpak)
9+
- [Linux (Flatpak)](https://flathub.org/apps/com.voice2text.app)
1010

1111
A cross-platform Python application that transcribes voice input using GPU-accelerated Whisper, sends text to local Ollama AI models for intelligent responses, and reads the output aloud with text-to-speech.
1212

@@ -42,9 +42,9 @@ chmod +x install.sh
4242
```
4343
This is the easiest way to get started on Linux.
4444

45-
If you already have Ollama installed, manually install the flatpak:
45+
If you already have Ollama installed, install the flatpak from Flathub:
4646
```bash
47-
flatpak install https://github.com/crhy/Voice2Text-AI/releases/download/v0.2/com.voice2text.app.flatpak
47+
flatpak install flathub com.voice2text.app
4848
```
4949

5050
### Option 3: From Source

com.voice2text.app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"--socket=pulseaudio"
1414
],
1515
"modules": [
16-
"python3",
1716
{
1817
"name": "voice2text",
1918
"buildsystem": "simple",

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ ollama pull qwen2.5:0.5b
6161

6262
# Install the flatpak
6363
echo "Installing Voice2Text AI flatpak..."
64-
flatpak install -y --user com.voice2text.app.flatpak
64+
flatpak install -y flathub com.voice2text.app
6565

6666
# Test Ollama
6767
echo "Testing Ollama..."

0 commit comments

Comments
 (0)