TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: 1Kb Webspace

88 pointsby Visuroxover 2 years ago
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&#x27;m trying to make it smaller. 1Kb would be my goal.

14 comments

ktpsnsover 2 years ago
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:&#x2F;&#x2F;uberspace.de&#x2F;en&#x2F;" rel="nofollow">https:&#x2F;&#x2F;uberspace.de&#x2F;en&#x2F;</a> it is pay-what-you-want and truly into Unix philosophy and modern linux userspace at ssh access level.
评论 #34531344 未加载
bbbbbenjiover 2 years ago
I think I broke it by creating the username `index.html`. Sorry, I wasn&#x27;t expecting it to do anything.
评论 #34531628 未加载
评论 #34531391 未加载
评论 #34539799 未加载
评论 #34531444 未加载
评论 #34531427 未加载
shawabawa3over 2 years ago
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
评论 #34533816 未加载
评论 #34531714 未加载
评论 #34536582 未加载
M4v3Rover 2 years ago
Maybe it&#x27;s just me, but I have no idea what this is (I never saw onekb.net) and how to use it.
评论 #34531378 未加载
评论 #34531204 未加载
andrewmcwattersover 2 years ago
&gt; Visurox 3 hours ago [flagged] [dead] | parent | next [–]<p>&gt; 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.
评论 #34538522 未加载
评论 #34555880 未加载
bradley_tauntover 2 years ago
Shameless plug - but feel free to add to the 1kB Club [0] once it hits the 1kB mark :)<p>0: <a href="https:&#x2F;&#x2F;1kB.club" rel="nofollow">https:&#x2F;&#x2F;1kB.club</a>
评论 #34531357 未加载
评论 #34533664 未加载
bArrayover 2 years ago
@Visurox Didn&#x27;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&#x27;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&#x27;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&#x27;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.
评论 #34555861 未加载
illysover 2 years ago
Nice.<p>But please, if you are in IT, don&#x27;t mix up kb and kB. There is a x8 size factor from the bit to the byte!<p>[Edit: and &quot;kilo&quot; is a lowercase k]
评论 #34555782 未加载
Visuroxover 2 years ago
The site is going into maintenance again overnight. Many many folders consisting of only a &quot;hi&quot; or similar make me doubt if too many on HN don&#x27;t know what is meant by &quot;code&quot;. ;)<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&#x27;ve been pointed to many things that I didn&#x27;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&#x27;t look like it will be profitable.
评论 #34536379 未加载
评论 #34536752 未加载
Visuroxover 2 years ago
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.
评论 #34533344 未加载
评论 #34533305 未加载
thisisbriansover 2 years ago
It looks like it&#x27;s down for the &quot;night&quot;.<p>OP: I like the idea. How can we keep up with what you&#x27;re doing&#x2F;when it&#x27;s back online? I have some code to post :)
评论 #34555788 未加载
Joyfieldover 2 years ago
Kilobyte = kB.
评论 #34535108 未加载
dustedover 2 years ago
Forbidden words!<p>Okay? Which words? Fuck that. I just said Hello..
评论 #34555873 未加载
评论 #34536683 未加载
lutoover 2 years ago
haha, funny to use a 3rd-party hoster to provide web space to others! How did you end up using uberspace for this?
评论 #34531183 未加载