- A lightweight visitors log book which connects various mobile devices without internet and keeps track of the people currently boarded on a submarine.
- The major challenges included, connecting and sending data through those devices over an extended range and thick walls, creating a server light enough to be able to run on a hand held device with very limited resources and completing it within 10 days.
- Built using HTML, CSS, JS, ExpressJS and NodeJS. On the tablet, Termux Command Line Interface was setup to host the server.
NOTE Install Termux from f-droid not Google Play store
Setup Package installer And Install Node.
pkg update && pkg upgrade
pkg install nodejs
To accesing android local storage use following code in termux.
termux-setup-storage
Now download the current project code to the android device then cd storage
and navigate to the code folder.
Run npm install
to install all the dependencies of the project.
Run node index
to run the server on android device aka HOST
.
Open local webBrowser and run the site.
http://localhost:5000
Make sure Android device is connected to
HOST
hotspot.
Open device properties and find the GATEWAY IP
in wifi settings.
http://<GATEWAY_IP>:5000
This link will open the page in the client device as well.
PS: This project is complicated but only can we had no LAN or Internet availability at the site.