Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

hamr0/bareapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bareapp

Turn an old Android phone into a sensor station using Termux. No root required.

What it does

Runs sensor tools (decibel meter, GPS, environment monitoring) on a phone via a kiosk-style web UI served from Termux. Each tool reads hardware sensors through Termux:API and displays results in a browser.

Requirements

  • Android phone (GrapheneOS, stock Android, or any ROM)
  • Termux (install from F-Droid, not Play Store)
  • Termux:API (companion app for hardware access)

Quick start

# In Termux on the phone:
pkg install git -y
git clone https://github.com/hamr0/bareapp.git
cd bareapp
bash setup.sh

Current tools

  • Decibel meter — real-time sound level monitoring via microphone

Architecture

Phone (Termux)
  └── Node.js HTTP server (server.js)
       ├── Serves kiosk web UI
       ├── Calls Termux:API for sensor data
       └── tools/
            └── decibel.js (one file per tool)

No frameworks, no build step, no Docker. Vanilla JS on both server and client.

Development

Development happens on a laptop. Deploy to phone by git pull or file sync.

See docs/prd.md for the product roadmap and docs/customer-guide.md for detailed setup instructions.

About

bareapp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors