// example {name:'hmdlink', desc:'share URL between local devices', protocol:'http', port:8082, path: '/hmdlink', url:'http://192.168.4.3:8082/hmdlink'},
// example {name:'hmdlink', desc:'share URL between local devices', protocol:'http', port:8082, path: '/hmdlink', url:'http://192.168.4.3:8082/hmdlink'},
})
})
app.get('/updates',(req,res)=>{
// could rely on a git reachable by all peers
// this might be feasible from this very https server as read-only
res.json({msg:'not yet implemented'})
})
app.get('/recentfiles',(req,res)=>{
// e.g lsof | grep home | grep vim | grep -v firefox
// or history | grep vi
// should be available after (ideally local) conversion if needed, e.g rm -> .svg on reMarkable
res.json({msg:'not yet implemented'})
})
app.get('/services',(req,res)=>{
app.get('/services',(req,res)=>{
// could be probbed first to check for availability
// could be probbed first to check for availability