pouchdb / pouchdb-server

CouchDB-compatible server built on PouchDB and Node
Apache License 2.0
956 stars 154 forks source link

pouchdb-server on Android for peer to peer sync / using Android device as server #434

Open BillMeyerRSA opened 4 years ago

BillMeyerRSA commented 4 years ago

Have tried this with AndroidJS and cannot get it working. Is there a way to run pouchdb-server on Android.

lybekk commented 4 years ago

You could try Termux

pkg install python
pkg install nodejs
npm -g install node-gyp
npm install -g pouchdb-server

Then pouchdb-server --sqlite

If that fails, try pkg install sqlite before running pouchdb-server --sqlite again

Then there's the issue of keeping Termux alive, but should be fixable with power-management etc