圖標

lWS

lightweight Web Server (lWS)
It is ...

* ... a Web Server for static content.
* ... lightweight. APK size less then 100 Kb.
* ... as simple as possible. Only essential features implemented.
* ... open. Source code released under GPL-3.0.
* ... a personal solution. It is not optimized/tested for many parallel connections and large file transfer.
* ... network state responsive. Requires Wi-Fi connected or tethering enabled. Service will stop automatically if network is disconnected.

Based on

This application continues the development of
Webserver for Android.

What is configurable

* Document root. Path may be entered as text or optionally selected using org.openintents.filemanager. If it is not installed it will offered for install.
* Port. May be between 1024 and 65535. Default is 8080

Any wrong values in parameters will automatically be set back to their defaults.

Document root

Document root by default is set to application private directory, example index
file automatically created. It is a safe configuration. You can place your pages
in this directory. But be careful! If you use Android 5.0 or above and uninstall
the application this directory and its content will be removed.

Security warning

You can change document root to any readable path on file system, but you need
to understand what are you doing. __Be careful: you could (suddenly?) create the
configuration so than anyone on the same Wi-Fi network could access the data on
your device whether you like it or not.__ All files from document root and below
are available for reading without any restrictions to anyone who's connected to
the network and knows the URL of the server.

"Send", "QR code" and "Browser"

After server starts you can press:

* "Browser" button for check server operation in your local browser
* "QR code" to call net.basov.lws.qr.fdroid or com.google.zxing.client.android to share URL by QR code. If no app is installed it offers to install lWS QR plugin
* "Send" to share the working server URL to another device via Bluetooth, Android Beam, E-Mail and any other way available on your device.

On screen log

The application has no permanent logging. This was treated this as redundant
functionality. The app tries to have the notification up to date. The on screen
log works only when the application is visible. Log screen may be cleared after
returning from background.

版本

雖然在下方可選擇下載 APK 檔案,但要留意這樣的安裝方式將不會收到更新通知,是一種較不安全的下載方法。建議您先安裝 F-Droid 用戶端使用。

下載 F-Droid
  • 版本 07.00.00 (70000) 建議 於 2019 年 5 月 21 日新增

    此版本需要 Android 2.3.3 或更高的版本。

    此套件包由 F-Droid 構建和簽署,並保證與此原始碼 Tarball 保持一致。

    權限
    • 查看 Wi-Fi 連線
      允許應用程式查看 Wi-Fi 網路相關資訊,例如是否已啟用 Wi-Fi,以及所連上 Wi-Fi 裝置的名稱。
    • 執行前景服務
      允許應用程式使用前景服務。
    • 擁有完整的網路存取權
      允許應用程式建立網路通訊端及使用自訂網路通訊協定。瀏覽器和其他應用程式會提供將資料傳輸到網際網路的方法,因此不需要這項權限也能將資料傳輸到網際網路。
    • 讀取共用儲存空間中的內容
      允許這個應用程式讀取共用儲存空間中的內容。
    • 修改或刪除你的共用儲存空間中的內容
      允許這個應用程式寫入共用儲存空間中的內容。

    下載 APK 52 KiB PGP 簽章 | 構建日誌

  • 版本 06.00.00 (60000) - 於 2018 年 10 月 28 日新增

    此版本需要 Android 4.1 或更高的版本。

    此套件包由 F-Droid 構建和簽署,並保證與此原始碼 Tarball 保持一致。

    權限
    • 查看 Wi-Fi 連線
      允許應用程式查看 Wi-Fi 網路相關資訊,例如是否已啟用 Wi-Fi,以及所連上 Wi-Fi 裝置的名稱。
    • 擁有完整的網路存取權
      允許應用程式建立網路通訊端及使用自訂網路通訊協定。瀏覽器和其他應用程式會提供將資料傳輸到網際網路的方法,因此不需要這項權限也能將資料傳輸到網際網路。
    • 讀取共用儲存空間中的內容
      允許這個應用程式讀取共用儲存空間中的內容。
    • 修改或刪除你的共用儲存空間中的內容
      允許這個應用程式寫入共用儲存空間中的內容。

    下載 APK 50 KiB PGP 簽章 | 構建日誌

  • 版本 05.00.00 (50000) - 於 2018 年 10 月 30 日新增

    此版本需要 Android 4.1 或更高的版本。

    此套件包由 F-Droid 構建和簽署,並保證與此原始碼 Tarball 保持一致。

    權限
    • 查看 Wi-Fi 連線
      允許應用程式查看 Wi-Fi 網路相關資訊,例如是否已啟用 Wi-Fi,以及所連上 Wi-Fi 裝置的名稱。
    • 擁有完整的網路存取權
      允許應用程式建立網路通訊端及使用自訂網路通訊協定。瀏覽器和其他應用程式會提供將資料傳輸到網際網路的方法,因此不需要這項權限也能將資料傳輸到網際網路。
    • 讀取共用儲存空間中的內容
      允許這個應用程式讀取共用儲存空間中的內容。
    • 修改或刪除你的共用儲存空間中的內容
      允許這個應用程式寫入共用儲存空間中的內容。

    下載 APK 50 KiB PGP 簽章 | 構建日誌