Skip to content

Commit 0295b5b

Browse files
committed
Feat: report issues from app dashboard
1 parent 0cadfad commit 0295b5b

File tree

11 files changed

+77
-37
lines changed

11 files changed

+77
-37
lines changed

README.md

Lines changed: 16 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
![AltSendme Demo](assets/animation.gif)
44

55
[![Report speeds](https://img.shields.io/badge/⚡%20Report%20speeds-30363D?style=for-the-badge)](https://docs.google.com/forms/d/e/1FAIpQLSfdfBh9neAu3_lg3lC0xwwaEmfLrVSMDeVbzBkwBW0m2s23hg/viewform)
6-
[![Report other issues](https://img.shields.io/badge/🔧%20Report%20other%20issues-30363D?style=for-the-badge)](https://docs.google.com/forms/d/e/1FAIpQLScpzdmmkl2zxbq9RXFtojlALQGAaNgcut4VX6cAnf46RElsSg/viewform?usp=dialog)
76
[![Give feedback](https://img.shields.io/badge/💡%20Give%20feedback-30363D?style=for-the-badge)](https://docs.google.com/forms/d/e/1FAIpQLScpzdmmkl2zxbq9RXFtojlALQGAaNgcut4VX6cAnf46RElsSg/viewform?usp=dialog)
87
[![Subscribe to receive updates via email](https://img.shields.io/badge/🔔%20receive%20updates-30363D?style=for-the-badge)](https://docs.google.com/forms/d/e/1FAIpQLSdZ_YjMNTm5jvJ_eKjcTafecCUbNel8OD_lDAXnu4uPfr2mSw/viewform?usp=publish-editor)
98
[![Sponsor](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/tonyantony300)
@@ -25,6 +24,16 @@ optionally **interoperable** with [Sendme](https://www.iroh.computer/sendme) CLI
2524

2625
[How it connects remote devices](https://www.iroh.computer/docs/faq)
2726

27+
## Supported Languages
28+
29+
30+
- 🇫🇷 French
31+
- 🇹🇭 Thai
32+
- 🇩🇪 German
33+
- 🇨🇳 Chinese
34+
- 🇯🇵 Japanese
35+
36+
2837
## Installation
2938

3039
The easiest way to get started is by downloading one of the following versions for your respective operating system:
@@ -94,30 +103,9 @@ cd /Applications && xattr -dr com.apple.quarantine AltSendme.app
94103
The app is open source and safe - the warning is just macOS's gatekeeper for unsigned applications. Code signing will be added in future releases.
95104

96105

97-
## Usage
98-
99-
### Sending Files
100-
101-
1. Click on the "Send Files" tab
102-
2. Either:
103-
- Drag and drop a file/folder onto the drop zone
104-
- Click "Select File" or "Select Folder" to browse
105-
3. Click "Start Sharing"
106-
4. Copy the generated ticket and share it with others
107-
5. Keep the app open while others download your files
108-
109-
### Receiving Files
110-
111-
1. Click on the "Receive Files" tab
112-
2. Paste the ticket you received from someone
113-
3. Click "Receive File"
114-
4. Files will be saved to folder of your choice
115-
116-
All connections are encrypted and verified using blake3 hashing. The application handles NAT traversal automatically and will use relay servers as a fallback when direct connections aren't possible.
117-
118106
## CLI Compatibility
119107

120-
The desktop version uses the same core networking library as the CLI version, so:
108+
The AltSendme uses the same core networking library as the [sendme](https://www.iroh.computer/sendme), so:
121109
- Tickets generated by CLI can be used in desktop
122110
- Tickets generated by desktop can be used in CLI
123111
- Both versions can send/receive to each other
@@ -150,21 +138,13 @@ If you want to contribute or run the app from source:
150138
This will start the app with hot reload enabled for both frontend and backend changes.
151139

152140

141+
### Building Locally
153142

154-
## Architecture
155-
156-
- **Backend**: Rust with Tauri framework
157-
- **Frontend**: React + TypeScript + Tailwind CSS
158-
- **Core Logic**: Shared library between CLI and desktop versions
159-
- **File System**: Uses Tauri's secure file system APIs
160-
- **Networking**: Same Iroh P2P networking as CLI version
161-
162-
## Troubleshooting
143+
```bash
144+
cd src-tauri
145+
cargo tauri build --no-bundle
146+
```
163147

164-
- **App won't start**: Make sure you have Rust and Node.js installed
165-
- **File selection doesn't work**: Check that the app has file system permissions
166-
- **Network issues**: Same troubleshooting as CLI version (firewall, NAT, etc.)
167-
- **Build errors**: Try `cargo clean` and rebuild
168148

169149
## License
170150

@@ -175,7 +155,6 @@ AGPL-3.0
175155
See [PRIVACY.md](PRIVACY.md) for information about how AltSendme handles your data and privacy.
176156

177157

178-
179158
# Acknowledgements
180159

181160
Built on the shoulders of giants:

package-lock.json

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"@tauri-apps/plugin-opener": "^2.5.2"
4+
}
5+
}

web-app/src/App.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { VERSION_DISPLAY } from './lib/version'
77
import { TranslationProvider } from './i18n'
88
import { useTranslation } from './i18n/react-i18next-compat'
99
import { LanguageSwitcher } from './components/LanguageSwitcher'
10+
import { openUrl } from '@tauri-apps/plugin-opener'
1011

1112
function AppContent() {
1213
const [activeTab, setActiveTab] = useState<'send' | 'receive'>('send')
@@ -126,6 +127,25 @@ function AppContent() {
126127
</div>
127128
<div className="w-full h-10 text-center text-xs flex items-center justify-center relative">
128129
<span>{VERSION_DISPLAY}</span>
130+
<button
131+
onClick={async () => {
132+
try {
133+
await openUrl('https://github.com/tonyantony300/alt-sendme/issues/new')
134+
} catch (error) {
135+
console.error('Failed to open URL:', error)
136+
}
137+
}}
138+
className="absolute left-6 bottom-2 px-2 py-1 text-xs transition-colors hover:opacity-80"
139+
style={{
140+
color: 'var(--app-main-view-fg)',
141+
textDecoration: 'underline',
142+
backgroundColor: 'transparent',
143+
border: 'none',
144+
cursor: 'pointer',
145+
}}
146+
>
147+
{t('reportIssue')}
148+
</button>
129149
<div className="absolute right-4 bottom-2">
130150
<LanguageSwitcher />
131151
</div>

web-app/src/locales/de/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ok": "OK",
66
"loading": "Wird geladen...",
77
"browse": "Durchsuchen",
8+
"reportIssue": "Problem melden",
89
"sender": {
910
"title": "Senden",
1011
"subtitle": "Dateien oder Ordner über verschlüsselte Peer-to-Peer-Verbindungen teilen.",

web-app/src/locales/en/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ok": "OK",
66
"loading": "Loading...",
77
"browse": "Browse",
8+
"reportIssue": "Report Issue",
89
"sender": {
910
"title": "Send",
1011
"subtitle": "Share files or folders via encrypted peer-to-peer connections.",

web-app/src/locales/fr/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ok": "OK",
66
"loading": "Chargement...",
77
"browse": "Parcourir",
8+
"reportIssue": "Signaler un problème",
89
"sender": {
910
"title": "Envoyer",
1011
"subtitle": "Partagez des fichiers ou dossiers via des connexions pair-à-pair chiffrées.",

web-app/src/locales/ja/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ok": "OK",
66
"loading": "読み込み中...",
77
"browse": "参照",
8+
"reportIssue": "問題を報告",
89
"sender": {
910
"title": "送信",
1011
"subtitle": "暗号化されたピアツーピア接続でファイルまたはフォルダを共有します。",

web-app/src/locales/th/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ok": "ตกลง",
66
"loading": "กำลังโหลด...",
77
"browse": "เลือก",
8+
"reportIssue": "รายงานปัญหา",
89
"sender": {
910
"title": "ส่ง",
1011
"subtitle": "แชร์ไฟล์หรือโฟลเดอร์ผ่านการเชื่อมต่อแบบ peer-to-peer ที่เข้ารหัส",

web-app/src/locales/zh-CN/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ok": "确定",
66
"loading": "加载中...",
77
"browse": "浏览",
8+
"reportIssue": "报告问题",
89
"sender": {
910
"title": "发送",
1011
"subtitle": "通过加密的点对点连接共享文件或文件夹。",

0 commit comments

Comments
 (0)