Skip to content

A lightweight visitors log book which connects various mobile devices without internet and keeps track of the people currently boarded on a submarine.

Notifications You must be signed in to change notification settings

Harshal141/VisitorLog-for-Submarine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test15

Android Web Hosting

  • 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.

Setup Termux

NOTE Install Termux from f-droid not Google Play store

Termux Packages

Setup Package installer And Install Node.

pkg update && pkg upgrade
pkg install nodejs

Setup Project

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

Accesing Site on device.

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.


Video Sample

Host Device

screen-20221105-145730.mp4

Client Device

screen-20221105-150028.mp4

About

A lightweight visitors log book which connects various mobile devices without internet and keeps track of the people currently boarded on a submarine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published