secubox-openwrt/package/secubox/luci-app-streamlit
CyberMind-FR 0083513cdc fix(streamlit): Add chunked upload to bypass uhttpd 64KB JSON limit and support top-level .py apps
uhttpd-mod-ubus silently rejects JSON-RPC requests >64KB with "Parse error",
causing uploads of .py files >48KB to fail with "No related RPC reply".

- Add chunked upload (upload_chunk + upload_finalize) that splits base64
  content into 40KB pieces sent sequentially, then reassembles server-side
- Frontend auto-selects chunked upload when content exceeds 40KB
- Stop polling during upload to prevent RPC batch conflicts
- RPCD handlers use cat-to-tempfile instead of shell variables for stdin
  to avoid BusyBox argument size limits
- Container startup script handles top-level .py files (not just subdirs)
- streamlitctl cmd_instance_start also handles top-level .py files
- Add upload_chunk and upload_finalize to ACL

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 10:16:47 +01:00
..
htdocs/luci-static/resources fix(streamlit): Add chunked upload to bypass uhttpd 64KB JSON limit and support top-level .py apps 2026-02-04 10:16:47 +01:00
root/usr fix(streamlit): Add chunked upload to bypass uhttpd 64KB JSON limit and support top-level .py apps 2026-02-04 10:16:47 +01:00
Makefile feat(streamlit): Add instances management and Gitea integration 2026-02-01 07:27:24 +01:00
README.md docs(secubox): Add KISS README for all 46 remaining packages 2026-02-03 07:34:06 +01:00

LuCI Streamlit Dashboard

LuCI web interface for managing Streamlit application instances with Gitea integration.

Installation

opkg install luci-app-streamlit

Access

LuCI > Services > Streamlit

Tabs

  • Dashboard -- Running instances, status, and resource usage
  • Settings -- Instance configuration and Gitea repository integration

Features

  • Multi-instance Streamlit management
  • Deploy apps from Gitea repositories
  • Per-instance start/stop controls

RPCD Methods

Service: luci.streamlit

Dependencies

  • luci-base
  • secubox-app-streamlit

License

Apache-2.0