by lordleft · 7y ago · 0 comments
I think this is true in some cases, but the sorts of folk who run rsync may be more interested in performant hardware that can run on older machines than average. Then again, they'd probably opt for sticking to the command-line tool. Still a very cool project!
I would use apps built more like electron if they simply removed the electron part and replaced the app with a name for a namespace and simply shipped tht js/html/images along with a api service.
Installing would be binding tht app to tht name space and using the browser of choose and navigating to namespace.localhost. In this case rsync.localhost.
The system would be a bit more complex for handling auth and a few things but let's not get bogged down in solvable details.
Then I could access my apps from my phone. Another system (if I chose to expose them publicly).
The concept would be very simple to build. I might start a github project.
- Global daemon to register apps with. Apps could be installed system wide or per use.
Think plopping a zip/tar/ or directory structure in something like /usr/local/webap.d/(namespace) -- might be abetter directory. Then a manifest file that describes some things about the service, such as how to start the API service, and the default entry point (index.html).
- The global service is responsible for bringing apps on line by way of instance activation on say visiting a name space, or just keep them running.
- Services once launched pick random port from range to bind to and system service acts as a reverse proxy and common auth for validating the local user. Maybe even ensure each of the API services are run per user and jailed to the home directory
IDK, just thinking off the top of my head, I have written bits and pieces of this for various work projects, but never glued the idea into one single system.
You have it scan a directory structure and auto generate a path that you can use in a browser, any browser, to view your newly install app.
You can do this with APIs too so you can have internal tools with APIs via a Node server that do all kinds of things.
Some simple port forwarding rules (ymmv) make this available to your LAN or to the WWW. Add a DNS layer on top and you have something really cool.
I do this for all kinds of stuff, mostly PWAs, but it lets me have my own notes, todo, systems management and more.
Is there something that does this already, by any chance? (I might not have come across that!)
Someone in the tree of replies for your parent explained and was contemplating actually going through with it.
While that may be true, I think:
"The sort of folk who would benefit from being able to run rsync" is a much, much broader group.
(And even the existing group of rsync users can benefit from a tool to help construct a command line, that they then copy out and use. Usability matters!)
Ashley's target market are Archivists. They may or may not use rsync already, but you can see why they'd all benefit from it.