Hey guys, I wanted to introduce you my hacknight project.<p>It is a tribute to onekb.net which has stopped its service a few years ago. Currently it is still a beta where external resources are also possible (but not the point ;) ) to get your opinions.<p>When it is finished, the source code will be open source. The secret word is therefore also hackernews.<p>P.S.: The source code is currently 2.4Kb I'm trying to make it smaller. 1Kb would be my goal.
Having to say that here: the shared Webspace hoster used for this project is superb. the most nerdy German spaced provider i ever met. <a href="https://uberspace.de/en/" rel="nofollow">https://uberspace.de/en/</a> it is pay-what-you-want and truly into Unix philosophy and modern linux userspace at ssh access level.
You can store up to 2KB of data in the URL, so you could actually run this service with zero storage costs, just generate a URL containing the provided code, could be signed if you want the username to be the only one with control of the content
> Visurox 3 hours ago [flagged] [dead] | parent | next [–]<p>> Sorry to tell you, but this is an absolutly useless comment. Even if I would say your right, is the only point an uppercase mistake. Yay. FeelGreatMan.<p>Someone was teaching you the difference between a kilobit and a kilobyte in notation, and you responded this way? Sheesh.
Shameless plug - but feel free to add to the 1kB Club [0] once it hits the 1kB mark :)<p>0: <a href="https://1kB.club" rel="nofollow">https://1kB.club</a>
@Visurox Didn't work for me (wrong secret), but I like the idea.<p>I was thinking about a variant of this, but I am somewhat concerned about abuse of such a service. Being 1kB you aren't going to get much in the way of image media, which is a major concern. Objectionable text I care less for. The concern I have is malicious JS (but I couldn't see how you handle this).<p>A few things you would definitely need:<p>1. The ability to handle takedowns (i.e. somebody adds doxxing information, or uses it to launch some attack script).<p>2. The ability to edit content. My solution to this was that a key would be generated and this could be used to edit.<p>3. Some protection against creation abuse. You better believe somebody would create 1 billion 1kB pages, just because they can. I would maybe have it so that the user puts in an email and a page edit code is sent to that email address after some artificial delay. It's not fool-proof but might slow them down. Maybe you also do some additional checks, like keywords, entropy, etc.<p>Anyway, all of these problems are precisely why I never decided to go through with this.<p>Another idea was to provide an ultra-minimal VM web server, where you run some lightweight byte code to process requests. Maybe there are some exciting possibilities with this, but similar concerns are still there.
Nice.<p>But please, if you are in IT, don't mix up kb and kB. There is a x8 size factor from the bit to the byte!<p>[Edit: and "kilo" is a lowercase k]
The site is going into maintenance again overnight. Many many folders consisting of only a "hi" or similar make me doubt if too many on HN don't know what is meant by "code". ;)<p>Anyway, the secret word is changing and will be reset in about 15 hours. So far the beta has been quite successful though, as I've been pointed to many things that I didn't notice when I created it.<p>If I decide to use the whole thing with my own domain and webspace instead of uberspace (which were only for the beta test), you will find out here. At the moment it doesn't look like it will be profitable.
So, I will change the secret word for now (1-2 hours) to fix some stuff the user mention here (thanks!). And to the one who post the snake game, stop it, I need to code! ;)<p>After then, the word will be the same as before.
It looks like it's down for the "night".<p>OP: I like the idea. How can we keep up with what you're doing/when it's back online? I have some code to post :)