d6e17ff58c5dbf6234b4814563a6a06f61a6f558
* feat: Added Port Forwarding Functionality Implemented port forwarding functionality, including the following major changes: - Added a port forwarding configuration model and related state management - Added a port forwarding page and interaction logic - Implemented forwarding connections between local and remote ports - Integrated into the server features menu - Added necessary Hive adapters and storage support - Updated plugin configurations across all platforms to support the new feature * feat (Port Forwarding): Added multilingual support and optimized implementation Added multilingual support for the port forwarding feature, including Chinese, English, and other languages Optimized the port forwarding implementation by adding connection management and error handling Fixed an issue with state persistence when updating port forwarding configurations Updated related dependencies and submodules * fix(port_forward): Fixed port forwarding error handling and redesigned the configuration dialog Handled uncaught errors when port forwarding is disabled or during connection attempts Extracted the configuration dialog into a standalone component and added port range validation * fix(port_forward): Fixed issues with port forwarding connection management and UI layout Fixed an issue where port forwarding connections were not closed properly; now uses `clientGetter` to delay the retrieval of `SSHClient` Added cleanup logic when connections are closed to prevent memory leaks Added a `mounted` check in `PortForwardPage` to prevent operations from executing after the component is unmounted Wrapped the configuration dialog content in a `SingleChildScrollView` to prevent content overflow * fix(port_forward): Fixed a concurrent modification exception that occurred when closing a port forwarding connection Fixed a concurrent modification exception that could occur when closing a local forwarding entry by copying the connection list to prevent modifications to the collection during iteration. Also improved the UI by using theme colors and added error handling for configuration saving. * fix(port_forward_provider): Fixed an issue where entries were not properly removed when port forwarding was stopped When port forwarding is stopped, ensure that the corresponding entries are removed from the _forwards map. Additionally, before adding a new forwarding rule, check for and close any existing forwarding rules with the same ID to prevent resource leaks. * refactor(l1n): Remove unused localization and remote host port translations * fix(port_forward_provider): Handle errors when closing port forwarding Add error handling to prevent the program from crashing due to exceptions when closing port forwarding * refactor(port_forward): Refactor port forwarding state management to use serverId Directly link port forwarding state management to the server ID to simplify parameter passing Remove direct dependencies on Spi and use serverId as the core identifier instead Update relevant providers and page logic to accommodate the new state structure * fix(port_forward): Fixed a race condition issue in port forwarding operations Added an _inFlight collection to prevent duplicate operations Added a _saving state when saving configurations to prevent duplicate submissions Automatically cleans up forwarding when changes in server connection status are detected * refactor(port_forward_provider): Remove unnecessary concurrency control logic Simplify the `toggleForward` method by removing concurrency control for the `_inFlight` collection, as it is not required in the current scenario
English | 简体中文
Flutter Server Box
A Flutter project which provides charts to display Linux, Unix and Windows server status and tools to manage servers.
Especially thanks to dartssh2 & xterm.dart.
🏙️ Screenshots
![]() |
![]() |
![]() |
![]() |
📥 Installation
| Platform | From |
|---|---|
| iOS / macOS | AppStore |
| Android | GitHub / CDN / F-Droid / OpenAPK |
| Linux / Windows | GitHub / CDN |
Please only download pkgs from the source that you trust!
🔖 Features
Status chart(CPU, Sensors, GPU...),SSHTerm,SFTP,Docker & Process & Systemd,S.M.A.R.T...- Platform specific:
Bio auth、Msg push、Home widget、watchOS App... - English, 简体中文; Deutsch @its-tom, 繁體中文 @kalashnikov, Indonesian @azkadev, Français @FrancXPT, Dutch @QazCetelic, Türkçe @mikropsoft, Українська мова @CakesTwix; Español, Русский язык, Português, 日本語 (Generated by GPT)
🆘 Help
- In order to push server status to your portable device without opening ServerBox app (Such as message push and home widget), you need to install ServerBoxMonitor on your servers, and config it correctly. See wiki for more details.
- Common issues can be found in app wiki.
Before you open an issue, please read the following:
- Paste the entire log (click the top right of the home page) in the issue template.
- Make sure whether the issue is caused by ServerBox app.
- Welcome all valid and positive feedback, subjective feedback (such as you think other UI is better) may not be accepted.
After you read the above, you can open an issue.
🧱 Contributions
Any positive contribution is welcome.
If I forgot to add your name to the contributors list, please add a comment in the issue or PR you opened to let me know, I will add it as soon as possible.
Development
- Setup Flutter environment.
- Clone this repo, run
flutter runto start the app. - Run
dart run fl_build -p PLATFORMto build the app.
Translation
- Guide can be found in my blog.
- We need your help! Just feel free to open a PR.
💡 My other apps
📝 License
AGPL v3 lollipopkit & all contributors
Languages
Dart
91.5%
Swift
3.5%
Kotlin
1.9%
C++
1.3%
CMake
1%
Other
0.7%



