Droidbottle
Running the bottle web framework on android. Just a demo. Use AirDroid or anything else for real production usage.
Install / Use
/learn @schlamar/DroidbottleREADME
About
This project tries to port some functionality from the PAW Server (http://paw-android.fun2code.de/) to the bottle webframework.
Current functionality:
- SMS threads
- Send SMS
It works via WLAN or USB connection. When in WLAN mode, the ip to point your browser at will be shown in the notification area. With USB you have to forward the port 8080 with adb and use localhost (see related topic.)
Installation
- Install the Android SDK (http://developer.android.com/sdk/)
and make sure that the folder platform-tools is in your
PATH (for
adb) - Install SL4A (http://code.google.com/p/android-scripting/) on your phone
- Install Py4A (http://code.google.com/p/python-for-android/) on your phone
- Start Python for Android on your phone and press "Install"
- Get the current files of droidbottle
- Run
./install.sh
Start service
Start script run_droidbootle.py in SL4A or use ./droidbottle-l for
a local USB connection.
Forward port on USB connection
::
adb forward tcp:8080 tcp:8080
Remote debugging
Start a server in SL4A/Interpreters/Menu, look up the port in SL4A notifications and forward the port::
adb shell am start -a com.googlecode.android_scripting.action.LAUNCH_SERVER -n com.googlecode.android_scripting/.activity.ScriptingLayerServiceLauncher
adb forward tcp:51943 tcp:51943
export AP_PORT=51943
python run_droidbottle.py
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
