Show HN: Francisco.io – my new developer website
francisco.io
francisco.io
I took a look at the https://serverjs.io/ page. The only text is "server.js for Node" which literally just tells you the package name and the product it's for (which I could've guessed from the .js).
Below this, there are some features:
* 'Everything you need is loaded by default' (everything I need for what?! :P) * 'Realtime channels in a couple of lines' (okay, so it's for realtime communication - websockets? RTC? something else?) * 'Use async/await and forget Callback Hell' cool * etc..
I scroll down even more still not quite knowing what the package is for and read "Powerful server for Node.js that just works so you can focus on your awesome project". Okay ... what sort of server is it? An SMTP server? A web server? There was something about websockets earlier, so is it a websocket server?
It's not until I read through the code and see function calls to things like "get" and "post" that I guess it's _probably_ a web server.. but I'm still not entirely sure.
It is a web server AND a websocket server in its core, and I'm working hard now to try to make it extensible by plugins to be able to become a SMTP, RTC, torrent, etc. server if you want to.
For instance, I want to be able to do:
const server = require('server');
const { email } = server.plugins;
server(
email('fake@francisco.io', ctx => {
// ctx.data => the body/text of the email
// ctx.files => any attached files
// ctx.params.to => array of "to"
// ...
})
);
But I am having some problems conceptually as to try to standardize the way we deal with any kind of requests since different servers will work in very different ways.But still your feedback is totally valid, I'll fix it, thank you.
It has two main goals: for showing my open source in case anyone wants to donate and for future possible jobs (either full-time or freelancing). The design is a bit torn apart trying to achieve both goals at the same time, but still pretty decent IMHO. The Open Source goal is long-term while the other is short term and I don't need that one right now, so things like a CV link are ignored so far.
Still love the look :)
It is mostly maintenance-only, which is a pity because I use it daily but the cost to improve it is quite high and I have some other priorities both at work and personal. The good thing is, it is stable enough that I can use it daily without worrying about breaking stuff for the most of it :)