arrispwgen icon indicating copy to clipboard operation
arrispwgen copied to clipboard

Add simple local server

Open borfast opened this issue 9 years ago • 6 comments

A local server providing a web interface for generating passwords.

borfast avatar Dec 03 '16 20:12 borfast

Hi my big dog, With Electron maybe?

rucko24 avatar Apr 15 '20 01:04 rucko24

Hi. Thanks for the suggestion. Electron is meant for graphical user interface applications, not servers, though. And even for GUIs it's a humongous beast. It would take something that takes less than 500 KB and turn it into a 100 MB monster, so it's far from appropriate for this.

borfast avatar Apr 15 '20 13:04 borfast

Well, electron no, so you want to say something like this? but your own version with node.js SimpleHttpServer, and other inputs ? ? LMFAOO

http://tylerwatt12.com/potd/

and another thing I don't understand, electron weighs, but it is server/client oriented rules with Node.js

rucko24 avatar Apr 15 '20 14:04 rucko24

Yes, I mean a simple HTTP server a user can launch on his machine, maybe even have a simple API.

Basically provide something similar to what I provide on my website, and which that other website apparently copied.

Why is that funny?

It doesn't exclude the possibility of a GUI application, which would also make sense (though I would still prefer to use something else other than Electron). I just meant that for a server, Electron would not be the appropriate choice.

borfast avatar Apr 15 '20 14:04 borfast

You know that I like vaadin flow, it is a web framework for server and client, very modern, since the code with which I solved the password of the day was with the java code

https://www.borfast.com/arrispwgen/ArrisPwdGen.java

, I like java, I want to do a UI with vaadin flow for this.

So we are looking for a light web framework maybe? for your node.js code ?

_Another thing that I also see, that if the design is responsive then better,

PWA too.

rucko24 avatar Apr 15 '20 14:04 rucko24

You can create a UI for this in Java, if you want. It's the beauty of open source software, anyone can contribute :)

borfast avatar Apr 15 '20 15:04 borfast