|
|
1 săptămână în urmă | |
|---|---|---|
| ppt_client | 1 săptămână în urmă | |
| server | 1 săptămână în urmă | |
| .gitignore | 1 săptămână în urmă | |
| README.md | 1 săptămână în urmă |
Control PowerPoint or LibreOffice Impress from your phone over Wi-Fi.
Requirements: Bun installed, PowerPoint open with a presentation.
cd server
bun install
bun start
The server listens on port 8765. Find your PC's local IP with ipconfig.
Requirements: Bun, LibreOffice, python3 (with uno module — ships with LibreOffice), xdotool.
sudo apt install xdotool # or equivalent for your distro
Start LibreOffice Impress with the UNO socket listener enabled:
libreoffice --impress --accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager" your-presentation.pptx
Then start the server:
cd server
bun install
bun start
Find your machine's local IP with ip addr or hostname -I.
Requirements: Flutter SDK.
cd ppt_client
flutter pub get
flutter run
Enter your PC's local IP and port 8765, then tap Connect.
To build a release APK:
flutter build apk --release
# output: build/app/outputs/flutter-apk/app-release.apk
Requirements: macOS with Xcode 14+, Flutter SDK, an Apple Developer account (free account works for direct device install via USB).
1. Install dependencies
cd ppt_client
flutter pub get
2. Open the iOS project in Xcode to set up signing
open ios/Runner.xcworkspace
In Xcode:
Runner target → Signing & Capabilitiescom.yourname.pptremote3. Allow plain WebSocket (ws://) traffic
iOS also blocks cleartext HTTP/WS by default. Add an exception in ios/Runner/Info.plist:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
4. Run on a connected iPhone/iPad
flutter run
Or build an IPA for distribution:
flutter build ipa
# output: build/ios/ipa/ppt_remote.ipa
To install the IPA without the App Store, use AltStore or Apple Configurator 2, or just use flutter run --release with the device connected via USB.
Note: A paid Apple Developer account ($99/year) is required to distribute via TestFlight or the App Store. A free account lets you sideload directly to your own device for 7 days at a time.
process.platform) and picks the right driver.GetActiveObject('PowerPoint.Application').xdotool key events, slide state and image export via Python UNO connected to LibreOffice's socket listener on port 2002.