Merge branch 'master' into 'master'

New app:  lightweight Web Server (lWS) and lightweight Web Server QR code  plugin (lWS QR)

See merge request fdroid/fdroiddata!2801
This commit is contained in:
Pierre Rudloff 2018-10-21 15:08:53 +00:00
commit 8117376981
12 changed files with 154 additions and 0 deletions

View file

@ -0,0 +1,80 @@
Categories:Connectivity
License:GPL-3.0-only
Web Site:https://github.com/mvbasov/lWS
Source Code:https://github.com/mvbasov/lWS
Issue Tracker:https://github.com/mvbasov/lWS/issues
Changelog:https://github.com/mvbasov/lWS/releases
Auto Name:lWS
Summary:lightweight Web Server (lWS)
Description:
'''It is ...'''
* ... Web Server for static content.
* ... lightweight. APK size less then 100 Kb.
* ... as simple as possible. Only essential features implemented.
* ... open. [Source code](https://github.com/mvbasov/lWS") released under GPL-3.0.
* ... personal solution. It is not optimized/tested for many parallel connections and large file transfer.
* ... network state responsive. Require WiFi connected or tethering enabled. Service stop automatically if network disconnected.
'''Based on'''
This application is continue of development [Webserver for
Android](https://play.google.com/store/apps/details?id=com.bolutions.webserver)
which is [open source](https://github.com/bodeme/androidwebserver) and released
under GPL-3.0.
'''What is configurable'''
* Document root. Path may be entered as text or optional select using OI File Manager. If it is not installed offer to install it.
* Port. May be from 1024 to 65535. Default is 8080
In attempt to set wrong value parameter automatically set to default.
'''Document root'''
Document root by default set to application private directory. Example index
file automatically created. It is safe configuration. You can place your pages
in this directory. But be carefully! If you use Android 5.0 or above and
deinstall the application this directory and it's content will be removed.
'''Security warning'''
You can change document root to any readable point of file system, but you need
to understand what are you doing. __Be careful: you could (suddenly?) create the
configuration so way, than anyone on the same WiFi network could access to the
data on your device either you don't like it.__ All files from document root and
below available for reading without any restrictions to anyone who connected to
network and known URL of the server.
'''"Send", "QR code" and "Browser"'''
After server starts you can press:
* "Browser" button for check server operation in local browser.
* "QR code" to call [lWS QR plugin](https://f-droid.org/app/net.basov.lws.qr.fdroid) or [Barcode Scanner (by ZXing Team)](https://play.google.com/store/apps/details?id=com.google.zxing.client.android) to share URL by QR code. If nothing of both installed offer to install lWS QR plugin
* "Send" to share working server URL to another device by Bluetooth, Android Beam, E-Mail and other way available on your device.
'''On screen log'''
The application has no permanent logging. I treat this as redundant
functionality. I doing my best to make notification actual all time. On screen
log actual only then application visible. Log screen may be cleared after
returning from background.
.
Repo Type:git
Repo:https://github.com/mvbasov/lWS
Build:03.00.01,30001
commit=v03.00.01f
subdir=app
patch=gradle_pkgid.patch,strings_lws_qr_package_name.patch
gradle=yes
prebuild=sed -i -e '/applicationIdSuffix/d' -e '/versionNameSuffix/d' build.gradle
Auto Update Mode:Version v%v
Update Check Mode:Tags v\d+\.00(\.\d+)?f
Update Check Name:net.basov.lws
Current Version:03.00.01
Current Version Code:30001

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View file

@ -0,0 +1,14 @@
diff --git a/app/build.gradle b/app/build.gradle
index 67eeccf..b491dda 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -23,7 +23,7 @@ android {
// Keep two lines arround applicationId unchanged to allow use patch for F-Droid build
- applicationId "net.basov.lws"
+ applicationId "net.basov.lws.fdroid"
// End of strings reserved for F-Droid patch

View file

@ -0,0 +1,15 @@
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index b91b7ad..b8937a4 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -105,7 +105,7 @@ h5.top {
<!-- place holder for fdroid patch -->
- <string name="qrPluginPackage">net.basov.lws.qr.gpm</string>
+ <string name="qrPluginPackage">net.basov.lws.qr.fdroid</string>
<!-- end of place holder for fdroid patch -->

View file

@ -0,0 +1,31 @@
Categories:Connectivity
License:MIT
Web Site:https://github.com/mvbasov/lWS.QR
Source Code:https://github.com/mvbasov/lWS.QR
Issue Tracker:https://github.com/mvbasov/lWS.QR/issues
Changelog:https://github.com/mvbasov/lWS.QR/releases
Auto Name:lWS QR (plugin)
Summary:lightweight Web Server QR code generator plugin (lWS QR)
Description:
This programm designed as QR Code plugin for [lightweight Web Server
(lWS)](https://github.com/mvbasov/lWS). It can be used standalone as small and
simple QR code generator also. lWS QR can be easyly integrated with your
application. See [Web site](https://github.com/mvbasov/lWS.QR) for details.
.
Repo Type:git
Repo:https://github.com/mvbasov/lWS.QR.git
Build:01.00.00,10000
commit=v01.00.00f
subdir=app
patch=gradle_pkgid.patch
gradle=yes
prebuild=sed -i -e '/applicationIdSuffix/d' -e '/versionNameSuffix/d' build.gradle
Auto Update Mode:Version v%v
Update Check Mode:Tags v\d+\.00(\.\d+)?f
Update Check Name:net.basov.lws.qr
Current Version:01.00.00
Current Version Code:10000

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View file

@ -0,0 +1,14 @@
t a/app/build.gradle b/app/build.gradle
index b5f2e2c..5f61b87 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -50,7 +50,7 @@ android {
// Keep two lines arround applicationId unchanged to allow use patch for F-Droid build
- applicationId "net.basov.lws.qr"
+ applicationId "net.basov.lws.qr.fdroid"
// End of strings reserved for F-Droid patch