Skip to content

Commit 2769da1

Browse files
committed
๐Ÿ—ƒ๏ธ Committing everything that changed ๐Ÿ—ƒ๏ธ
assets/js/main.js _docs/features.md _docs/getting-started.md _docs/index.md
1 parent b52ee12 commit 2769da1

File tree

4 files changed

+27
-217
lines changed

4 files changed

+27
-217
lines changed

โ€Ž_docs/features.mdโ€Ž

Lines changed: 2 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ The signature feature that gives TabSSH its name - manage multiple SSH sessions
2323
- **Session Persistence**: Reconnect to previous sessions on app restart
2424
- **Tab Shortcuts**: Quick access to frequently used connections
2525

26-
[Learn more about the tabbed interface โ†’](/docs/features/tabs/)
27-
2826
## ๐Ÿ“ SFTP File Manager
2927

3028
Built-in file transfer capabilities without leaving the app.
@@ -41,14 +39,6 @@ Built-in file transfer capabilities without leaving the app.
4139
- **Resume Support**: Resume interrupted transfers
4240
- **Batch Operations**: Select and transfer multiple files at once
4341

44-
### Advanced Features
45-
- **Permissions**: View and modify file permissions
46-
- **Symbolic Links**: Handle symlinks correctly
47-
- **Hidden Files**: Toggle visibility of hidden files
48-
- **Path Bookmarks**: Save frequently accessed directories
49-
50-
[Explore SFTP capabilities โ†’](/docs/features/sftp/)
51-
5242
## ๐Ÿ” SSH Key Management
5343

5444
Comprehensive key management with security best practices.
@@ -61,18 +51,9 @@ Comprehensive key management with security best practices.
6151

6252
### Key Import/Export
6353
- **OpenSSH Format**: Import existing OpenSSH keys
64-
- **PuTTY Format**: Convert and import PuTTY keys
6554
- **Secure Storage**: Keys stored in Android Keystore
6655
- **Public Key Sharing**: Easy export for server configuration
6756

68-
### Key Usage
69-
- **Per-Connection**: Assign different keys to different servers
70-
- **Agent Support**: SSH agent functionality for key forwarding
71-
- **Automatic Selection**: Smart key selection based on server configuration
72-
- **Fingerprint Verification**: Verify server host keys
73-
74-
[Master SSH key management โ†’](/docs/features/key-management/)
75-
7657
## ๐ŸŒ Port Forwarding
7758

7859
Secure tunneling for accessing internal services and resources.
@@ -89,14 +70,6 @@ Secure tunneling for accessing internal services and resources.
8970
- **Secure Exposure**: Expose services without opening firewalls
9071
- **Dynamic Configuration**: Add/remove forwards without reconnecting
9172

92-
### SOCKS Proxy
93-
- **System-Wide Proxy**: Route all traffic through SSH
94-
- **Application Proxy**: Configure per-app proxy settings
95-
- **DNS Resolution**: Secure DNS queries through tunnel
96-
- **Auto-Configuration**: Easy proxy setup with one tap
97-
98-
[Configure port forwarding โ†’](/docs/features/port-forwarding/)
99-
10073
## โšก Performance & Optimization
10174

10275
Built for mobile devices with performance in mind.
@@ -113,19 +86,13 @@ Built for mobile devices with performance in mind.
11386
- **Hardware Keyboard**: Full support for external keyboards
11487
- **Responsive UI**: Adapts to different screen sizes and orientations
11588

116-
### Connection Management
117-
- **Auto-Reconnect**: Intelligent reconnection on network changes
118-
- **Connection Pooling**: Efficient handling of multiple connections
119-
- **Timeout Handling**: Configurable timeout settings
120-
- **Keep-Alive**: Prevent connections from timing out
121-
12289
## ๐ŸŽจ Customization & Themes
12390

12491
Make TabSSH feel like home with extensive customization options.
12592

12693
### Visual Themes
12794
- **Light Theme**: Clean, professional appearance
128-
- **Dark Theme**: Easy on the eyes for low-light usage
95+
- **Dark Theme**: Beautiful Dracula-inspired dark theme
12996
- **System Theme**: Automatically follows Android settings
13097
- **High Contrast**: Accessibility-focused themes
13198

@@ -135,14 +102,6 @@ Make TabSSH feel like home with extensive customization options.
135102
- **Color Schemes**: Multiple terminal color schemes
136103
- **Cursor Style**: Customizable cursor appearance
137104

138-
### Interface Options
139-
- **Toolbar Customization**: Show/hide toolbar buttons
140-
- **Tab Position**: Top or bottom tab placement
141-
- **Gesture Controls**: Configurable touch gestures
142-
- **Sound Effects**: Optional audio feedback
143-
144-
[Customize your experience โ†’](/docs/customization/)
145-
146105
## ๐Ÿ›ก๏ธ Security & Privacy
147106

148107
Security-first design with privacy protection.
@@ -159,49 +118,10 @@ Security-first design with privacy protection.
159118
- **Local Storage**: All data stays on your device
160119
- **Open Source**: Full transparency with public source code
161120

162-
### Security Features
163-
- **Biometric Auth**: Use fingerprint/face unlock for app access
164-
- **Session Locking**: Automatic screen lock on app switch
165-
- **Audit Logging**: Optional connection and command logging
166-
- **Secure Deletion**: Proper cleanup of sensitive data
167-
168-
[Learn about security โ†’](/docs/security/)
169-
170-
## ๐Ÿ”ง Advanced Features
171-
172-
Power-user features for advanced SSH workflows.
173-
174-
### SSH Configuration
175-
- **Config File Import**: Import existing SSH client configurations
176-
- **Per-Host Settings**: Detailed configuration per connection
177-
- **ProxyCommand**: Support for SSH proxy commands
178-
- **Advanced Options**: Access to all SSH client options
179-
180-
### Terminal Features
181-
- **Multi-Session**: Multiple terminal sessions per connection
182-
- **Session Recording**: Record and replay terminal sessions
183-
- **Command History**: Persistent command history across sessions
184-
- **Tab Completion**: Intelligent command and filename completion
185-
186-
### Integration Features
187-
- **Intent Handling**: Open SSH URLs from other apps
188-
- **Shortcuts**: Android app shortcuts for quick connections
189-
- **Tile Support**: Quick Settings tile for connection management
190-
- **Backup/Restore**: Export and import all settings and connections
191-
192-
## ๐Ÿš€ What's Next?
193-
194-
TabSSH is under active development. Upcoming features include:
195-
196-
- **Mosh Support**: Mobile shell for better connectivity
197-
- **Script Automation**: Automated command execution
198-
- **Cloud Sync**: Secure synchronization of connections across devices
199-
- **Enterprise Features**: Advanced features for business users
200-
201121
## Feature Requests
202122

203123
Have an idea for a new feature? We'd love to hear from you:
204124

205125
- **[GitHub Discussions](https://github.com/TabSSH/android/discussions)** - Discuss ideas with the community
206126
- **[Feature Requests](https://github.com/TabSSH/android/issues/new?template=feature_request.md)** - Submit detailed feature requests
207-
- **[Contributing Guide](/contributing/)** - Help build the features you want to see
127+
- **[Contributing Guide]({{ '/contributing/' | relative_url }})** - Help build the features you want to see

โ€Ž_docs/getting-started.mdโ€Ž

Lines changed: 2 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ F-Droid provides verified, open-source builds with automatic updates:
2222

2323
Download the APK directly for manual installation:
2424

25-
1. **Download the latest APK** from our [download page](/download/)
25+
1. **Download the latest APK** from our [download page]({{ '/download/' | relative_url }})
2626
2. **Enable "Install from unknown sources"** in Android settings
2727
3. **Install the APK** by tapping on the downloaded file
2828
4. **Launch TabSSH** from your app drawer
@@ -98,131 +98,10 @@ To save connection details for future use:
9898
- **Keep Alive**: Prevent connection timeouts
9999
5. **Save the connection**
100100

101-
### SSH Key Authentication (Recommended)
102-
103-
For better security, use SSH key authentication:
104-
105-
#### Generate a New Key
106-
107-
1. **Open Settings** โ†’ **SSH Keys**
108-
2. **Tap "Generate Key"**
109-
3. **Choose key type** (Ed25519 recommended)
110-
4. **Set a passphrase** (optional but recommended)
111-
5. **Save the key pair**
112-
6. **Copy the public key** to your server's `~/.ssh/authorized_keys`
113-
114-
#### Import Existing Key
115-
116-
1. **Open Settings** โ†’ **SSH Keys**
117-
2. **Tap "Import Key"**
118-
3. **Select your private key file**
119-
4. **Enter the passphrase** if required
120-
5. **Save the imported key**
121-
122-
## Using the Tabbed Interface
123-
124-
TabSSH's main feature is its tabbed interface:
125-
126-
### Opening Multiple Sessions
127-
128-
- **New Tab**: Tap the "+" button next to existing tabs
129-
- **Switch Tabs**: Tap on any tab to switch sessions
130-
- **Close Tab**: Long-press a tab and select "Close"
131-
132-
### Tab Management
133-
134-
- **Rename Tab**: Long-press and select "Rename"
135-
- **Reorder Tabs**: Drag tabs to rearrange them
136-
- **Tab Shortcuts**: Use gestures to quickly switch between tabs
137-
138-
## Basic Terminal Usage
139-
140-
### Essential Commands
141-
142-
Get familiar with common terminal operations:
143-
144-
```bash
145-
# Navigate directories
146-
ls # List files
147-
cd /path # Change directory
148-
pwd # Show current directory
149-
150-
# File operations
151-
cat file.txt # View file contents
152-
nano file.txt # Edit with nano
153-
mkdir folder # Create directory
154-
cp source dest # Copy files
155-
```
156-
157-
### Copy and Paste
158-
159-
- **Copy Text**: Long-press and select text, then tap "Copy"
160-
- **Paste Text**: Long-press in terminal and select "Paste"
161-
- **Select All**: Long-press and choose "Select All"
162-
163-
### Keyboard Shortcuts
164-
165-
TabSSH supports hardware keyboards:
166-
167-
- **Ctrl+C**: Send interrupt signal
168-
- **Ctrl+D**: Send EOF (logout)
169-
- **Tab**: Auto-complete commands
170-
- **Arrow Keys**: Navigate command history
171-
172-
## SFTP File Manager
173-
174-
Access the built-in file manager for easy file transfers:
175-
176-
1. **Connect to a server** via SSH
177-
2. **Tap the folder icon** in the toolbar
178-
3. **Browse both local and remote files**
179-
4. **Drag and drop** files between panels
180-
5. **Use context menus** for file operations
181-
182-
## Troubleshooting
183-
184-
### Connection Issues
185-
186-
**Can't connect to server:**
187-
- Verify host address and port
188-
- Check your network connection
189-
- Ensure SSH service is running on the server
190-
191-
**Authentication failed:**
192-
- Double-check username and password
193-
- Verify SSH key is correctly added to server
194-
- Check if account is locked or disabled
195-
196-
**Connection drops frequently:**
197-
- Enable "Keep Alive" in connection settings
198-
- Check network stability
199-
- Increase keep-alive interval
200-
201-
### App Issues
202-
203-
**App crashes or freezes:**
204-
- Clear app cache in Android settings
205-
- Restart the app
206-
- Check available storage space
207-
208-
**Cannot import SSH keys:**
209-
- Ensure key file is in OpenSSH format
210-
- Check file permissions
211-
- Try copying key content manually
212-
213-
## Next Steps
214-
215-
Now that you're connected, explore more features:
216-
217-
- **[Learn about tabbed sessions](/docs/features/tabs/)**
218-
- **[Master SFTP file transfers](/docs/features/sftp/)**
219-
- **[Set up port forwarding](/docs/features/port-forwarding/)**
220-
- **[Import your SSH config](/docs/ssh-config/)**
221-
222101
## Getting Help
223102

224103
Need more assistance?
225104

226-
- **[Browse FAQs](/docs/troubleshooting/)**
105+
- **[Browse FAQs]({{ '/docs/troubleshooting/' | relative_url }})**
227106
- **[Join community discussions](https://github.com/TabSSH/android/discussions)**
228107
- **[Report issues](https://github.com/TabSSH/android/issues)**

โ€Ž_docs/index.mdโ€Ž

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ TabSSH is a modern, open-source SSH client for Android that brings desktop-class
1111

1212
New to TabSSH? Start here to get up and running quickly:
1313

14-
- **[Installation Guide](/docs/getting-started/)** - Download and install TabSSH
15-
- **[First Connection](/docs/first-connection/)** - Connect to your first server
16-
- **[Basic Usage](/docs/basic-usage/)** - Learn the fundamentals
14+
- **[Installation Guide]({{ '/docs/getting-started/' | relative_url }})** - Download and install TabSSH
15+
- **[First Connection]({{ '/docs/first-connection/' | relative_url }})** - Connect to your first server
16+
- **[Basic Usage]({{ '/docs/basic-usage/' | relative_url }})** - Learn the fundamentals
1717

1818
## Core Features
1919

2020
Explore TabSSH's key capabilities:
2121

22-
### [Tabbed Interface](/docs/features/tabs/)
22+
### [Tabbed Interface]({{ '/docs/features/tabs/' | relative_url }})
2323
Manage multiple SSH sessions with browser-style tabs. Switch between connections instantly without losing context.
2424

25-
### [SFTP File Transfer](/docs/features/sftp/)
25+
### [SFTP File Transfer]({{ '/docs/features/sftp/' | relative_url }})
2626
Built-in file manager with drag-and-drop support for seamless file transfers between your device and servers.
2727

28-
### [SSH Key Management](/docs/features/key-management/)
28+
### [SSH Key Management]({{ '/docs/features/key-management/' | relative_url }})
2929
Generate, import, and manage SSH keys securely. Support for RSA, ECDSA, and Ed25519 key types.
3030

31-
### [Port Forwarding](/docs/features/port-forwarding/)
31+
### [Port Forwarding]({{ '/docs/features/port-forwarding/' | relative_url }})
3232
Set up local and remote port forwarding to access internal services through secure SSH tunnels.
3333

3434
## Advanced Topics
3535

3636
Take your SSH workflow to the next level:
3737

38-
- **[SSH Config Import](/docs/ssh-config/)** - Import your existing SSH configuration
39-
- **[Security Best Practices](/docs/security/)** - Keep your connections secure
40-
- **[Troubleshooting](/docs/troubleshooting/)** - Solve common issues
38+
- **[SSH Config Import]({{ '/docs/ssh-config/' | relative_url }})** - Import your existing SSH configuration
39+
- **[Security Best Practices]({{ '/docs/security/' | relative_url }})** - Keep your connections secure
40+
- **[Troubleshooting]({{ '/docs/troubleshooting/' | relative_url }})** - Solve common issues
4141

4242
## Getting Help
4343

@@ -54,7 +54,7 @@ TabSSH is fully open-source and welcomes contributions:
5454

5555
- **Source Code**: [github.com/TabSSH/android](https://github.com/TabSSH/android)
5656
- **License**: MIT License
57-
- **Contributing**: See our [contribution guidelines](/contributing/)
57+
- **Contributing**: See our [contribution guidelines]({{ '/contributing/' | relative_url }})
5858

5959
---
6060

โ€Žassets/js/main.jsโ€Ž

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,24 @@ class ThemeToggle {
77
}
88

99
init() {
10-
if (!this.button) return;
10+
if (!this.button) {
11+
console.warn('Theme toggle button not found');
12+
return;
13+
}
14+
15+
if (!this.icon) {
16+
console.warn('Theme toggle icon not found');
17+
return;
18+
}
1119

20+
console.log('Theme toggle initialized');
1221
this.button.addEventListener('click', () => this.toggle());
1322
this.updateButton();
1423
}
1524

1625
toggle() {
1726
const isDark = document.documentElement.classList.contains('dark');
27+
console.log('Toggling theme. Currently dark:', isDark);
1828

1929
if (isDark) {
2030
document.documentElement.classList.remove('dark');
@@ -33,6 +43,7 @@ class ThemeToggle {
3343
const isDark = document.documentElement.classList.contains('dark');
3444
this.icon.textContent = isDark ? 'โ˜€๏ธ' : '๐ŸŒ™';
3545
this.button.setAttribute('aria-label', isDark ? 'Switch to light theme' : 'Switch to dark theme');
46+
console.log('Updated button for dark mode:', isDark);
3647
}
3748
}
3849

0 commit comments

Comments
ย (0)