TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What's the quickest way to get something online?

45 点作者 panphora超过 3 年前
Hey HN,<p>I have this frustration with the modern web. Everything&#x27;s locked into a platform or requires a build step or CI.<p>It got me thinking the other day: what&#x27;s the easiest way to sync a TXT file onto the web?<p>I thought about FTP, scp, Dropbox, GitHub — but all of them require multiple manual steps and feel complex.<p>It got my wondering: why isn&#x27;t it easier today to put something on the internet than it was 10 years ago?

37 条评论

technobabbler超过 3 年前
If you want dead-simple and dirt-cheap, NearlyFreeSpeech.net is still there. Put 25 cents in there, upload a file, done. <a href="https:&#x2F;&#x2F;www.nearlyfreespeech.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.nearlyfreespeech.net&#x2F;</a><p>Pastebin is another option for simple text.<p>For slightly more complex sites, check out Vercel or Cloudflare Pages. Both will host your site for free with reasonable quotas.<p>As for: &gt; why isn&#x27;t it easier today to put something on the internet than it was 10 years ago?<p>It IS. Just put it on farcebook or tweeter or medium or blogwhatever. Even easier than geocities.<p>People don&#x27;t want to spend eons discovering and reading your poorly formatted text file or janky HTML that doesn&#x27;t work with phones and is vulnerable to drive-by ad injections and such. If you just have a simple message, those networks do a more effective job (for better or worse) of disseminating it. Readers flock to those networks because it makes content consumption easier.<p>It&#x27;s like asking why you have to jump through major publishing houses to get your book on the front of the store display shelves, when anyone used to be able to write and bind a book. You still can, but the world at large doesn&#x27;t want to spend effort sorting through your stuff and every other amateur&#x27;s. It&#x27;s not the ease of publication that matters to them, but the curation. The signal to noise ratio is too low otherwise (and is still very low even with curation).<p>From the hosting side, free web hosts became a victim of their own success, economonically infeasible, especially as bots and spiders took over the net. Most of the web is junk these days and there&#x27;s not really much money in making it easier to publish more junk.<p>From the dev side, the CI and build tools are only necessary if you want to heavily use Javascript for interactivity or clientside loading. Plain ol&#x27; HTML and CSS work as they always have, with no building required. Just host it somewhere.
chubot超过 3 年前
This is why I use shell, because it&#x27;s faster, easier (once your learn it), and you&#x27;re not locked in.<p><pre><code> $ echo &#x27;&lt;a href=&quot;https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29253277&quot;&gt;question&lt;&#x2F;a&gt;&#x27; &gt; question.html $ scp question.html oilshell.org:oilshell.org&#x2F;share </code></pre> <i>RESULT:</i> <a href="http:&#x2F;&#x2F;www.oilshell.org&#x2F;share&#x2F;question.html" rel="nofollow">http:&#x2F;&#x2F;www.oilshell.org&#x2F;share&#x2F;question.html</a><p>----<p>scp has worked the same way for ~20 years. It completes in ~10 ms, and there&#x27;s no password prompt because I have ssh-agent set up.<p>I have used Dreamhost since 2009 and it works great: <a href="https:&#x2F;&#x2F;www.dreamhost.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.dreamhost.com&#x2F;</a><p>i.e. It has survived every single HN front page spike with no problems. If you make reasonable web pages then they&#x27;re very easy to serve.<p>I have multiple domains under the same hosting account for less than $10&#x2F;month. I prefer to pay what the service costs to run rather than rely on free hosting subsidized in other ways.<p>Shared hosting with shell access is an underrated commodity. It seems that many people are not aware that it exists, compared to VPS or the cloud (both of which require you to become a sys admin, not just a shell user).<p>I think the main barrier is that many features are hidden behind the shell, and admittedly it took me quite awhile to learn. I started using the web in 1994 or so, and didn&#x27;t really learn how Unix works until over 10 years later, after my second job!<p>But I suggest taking the time to learn our shared language of computing and networking. It will still be around in 10 years, as opposed to all the free services of startups! They are convenient, but non-composable, which means you get hamstrung when you want to build bigger things.
qubyte超过 3 年前
The simplest way I can think of is Netlify. You can drag and drop a folder to deploy it. You&#x27;ll get a sort of random looking domain and HTTPS. From there you can configure your own domain and deploy from GitHub etc. if you choose, but it&#x27;s not required.
评论 #29254004 未加载
JacobDotVI超过 3 年前
Using s3 to host a static page?<p><a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonS3&#x2F;latest&#x2F;userguide&#x2F;HostingWebsiteOnS3Setup.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonS3&#x2F;latest&#x2F;userguide&#x2F;Hostin...</a>
foxbarrington超过 3 年前
What were the steps 10 years ago that weren’t complex? I probably would have reached for Heroku back then. Or possibly my VPS on Dreamhost where I could FTP something into a folder served by Apache.<p>Both of these are still an option. Today, I reach for Netlify which I think is easier—-just drag and drop a folder if git is too much.
评论 #29254204 未加载
thunderbong超过 3 年前
I just read this post on HN about Netlify Drop:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29254405" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29254405</a><p><a href="https:&#x2F;&#x2F;app.netlify.com&#x2F;drop" rel="nofollow">https:&#x2F;&#x2F;app.netlify.com&#x2F;drop</a>
评论 #29256523 未加载
curiousfab超过 3 年前
A 2€&#x2F;month VPS, Apache, Let&#x27;s Encrypt certificate, done. Use rsync or sshfs, or edit the file right on the VPS.<p>It is not much easier and cheaper nowadays than 10 years ago because is has always been quite easy - with the main change that a cert for https is free nowadays.
mejutoco超过 3 年前
If you mean a website, outside of managed platforms a PHP file synced with ftp on any provider will have a quick feedback look. Not that I recommend it, but to start, it is one of the quickest.If ftp or scp is too complex I recommend to use a managed website builder (wix, hosted wordpress)<p>If you literally mean a txt made public: gdrive, Dropbox, notion, s3,…<p>Maybe ngrok fits the bill, to literally share a folder on the internet.<p>I am not sure why you are in such a rush. I would argue today it is easier than ever to „put something“ on the internet. I do not think it can be simpler that the options above. Either learn (a minimum amount) or be in somebody‘s platform. IMHO none is too bad, just different tradeoffs. Good luck!
jabroni_salad超过 3 年前
&gt;sync a txt<p>how much do you care about the provenance of the file? I would just slap it into pastebin and call it a day. If that isn&#x27;t what you mean, any commodity cpanel reseller will probably do. If you want even more control, Caddy is drop dead simple.
abemassry超过 3 年前
I feel compelled to tell you about my project <a href="https:&#x2F;&#x2F;wsend.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wsend.net&#x2F;</a><p>I built a way to show a static site on there too: <a href="https:&#x2F;&#x2F;github.com&#x2F;abemassry&#x2F;wsend-static" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abemassry&#x2F;wsend-static</a><p>There are a lot of tools you can build on top of it as well because the core is simple: send a file, get a link.
评论 #29255165 未加载
评论 #29257247 未加载
MrWiffles超过 3 年前
Two options come to mind at the moment:<p>1. GitHub pages or similar 2. Fastmail file hosting (or similar)<p>The first is pretty well known so I won’t waste your time explaining that. The second is a feature of some accounts for the Fastmail service which I personally use and recommend (no affiliation, just a happy customer). They give you a limited amount of space depending on your plan and you can upload files there. I haven’t done much with it this way, but in theory you could host a small scale static website that way fairly easy. Other providers certainly offer similar alternatives as well, this is just a “works for me” thing.<p>Good luck finding something you like!
beardyw超过 3 年前
Not sure when you thought it was easier? 20 years ago you would definitely be using FTP. Get a cheap web host, FTP onto it. Job done. If you manage the domain separately that&#x27;s pretty much the same job as always too.
kwertyoowiyop超过 3 年前
A dream: if Windows&#x2F;Mac had a right-click “Publish to web” command, which for the first use would lead you through a setup that’s no more complicated than connecting to wifi.<p>I know, devil is in the details.
truckerbill超过 3 年前
That&#x27;s the tradeoff between using a platform and doing things manually. The underlying architecture that things rely on generally can&#x27;t be changed to be drastically simpler to use due to network effects. You can&#x27;t make breaking changes to TCP&#x2F;IP for example or the modern world would implode (or realistically, that new branch would be ignored). So you rely on platforms to hide this complexity.<p>Digital Ocean probably has a one-click droplet for a static server you could use.
评论 #29253897 未加载
fragmede超过 3 年前
A text file is different than <i>something</i>in the title, but excluding every platform is what&#x27;s got your hands tied behind your back as far as seeing progress. Normal people don&#x27;t want a <i>text</i> file online, they <i>want</i> their friends to know about their pictures and videos, and have them comment on them. It&#x27;s trivial to get something online these days. I open the user friendly app on my smartphone and press the + button, and my photo&#x2F;video content is online, with no manual replicating it across servers or even knowing what storage tiers even <i>are</i>. Medium.com if you want to upload long form text vs Facebook or Instagram, but without a more rigorously defined notion (notion.so is another one for text) of what your idea of a platform is, there isn&#x27;t one - Digital Ocean is certainly a platform, but uploading a text file to a VPS there isn&#x27;t the same as a uploading to pastebin.com or Instagram.
miki_tyler超过 3 年前
If you want to avoid the build step, Kit55 is great <a href="https:&#x2F;&#x2F;stack55.com" rel="nofollow">https:&#x2F;&#x2F;stack55.com</a> . We deploy our sites using firebase, so our workflow is basically writing HTML and then run firebase deploy. Disclosure - I&#x27;m part of Kit55 team.
bo1024超过 3 年前
Do you have to use WWW? How about a torrent?<p>&gt; why isn&#x27;t it easier today to put something on the internet than it was 10 years ago?<p>Interesting question. If it&#x27;s easy, then probably you&#x27;re putting your content onto someone else&#x27;s domain. This leads to two issues (which are related).<p>1. The domain that&#x27;s hosting your content can be legally responsible for it, so you have copyright and other legal issues which leads to them putting barriers in your way.<p>2. The host also might want to make money off your content, so they&#x27;re going to want to control the ecosystem via things like logins, moderation, etc.
Fire-Dragon-DoL超过 3 年前
pCloud public folder, same way as the old dropbox public folder.<p>Copy paste the file in a directory, the whole directory is visible (index) as a page on the web. At this point you can just grab the link to the file and share it
pvinis超过 3 年前
<a href="https:&#x2F;&#x2F;app.netlify.com&#x2F;drop" rel="nofollow">https:&#x2F;&#x2F;app.netlify.com&#x2F;drop</a><p>I&#x27;ve used it before. it&#x27;s great and fast and simple.
wastedhours超过 3 年前
Depends where you draw the line on &quot;platform&quot;. There&#x27;s still the old-school cPanel shared hosting types out there where you can drag and drop through a file manager. But then you usually have to pay a gatekeeper to get one, and that could be considered a platform?<p>Highly not recommended, but get a static IP address and open a port on your home network to the internet that points to a folder you drag to would be the most open?
keb_超过 3 年前
<a href="https:&#x2F;&#x2F;neocities.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;neocities.org&#x2F;</a><p>Create a new site. Create a text file. Paste in your content. Hosted!
moneywoes超过 3 年前
I’d say google drive
tealpod超过 3 年前
This is one of the easiest host a simple website<p><a href="https:&#x2F;&#x2F;tiiny.host&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tiiny.host&#x2F;</a>
tyingq超过 3 年前
&gt;Everything&#x27;s locked into a platform<p>The quick ways are generally locked into a platform. But if it&#x27;s a text file, does that matter? If you don&#x27;t want the lock in, there&#x27;s some initial setup, but after that it can be drag&#x2F;drop.<p>There&#x27;s also some middle ground, like serving from a local NAS box. Still locked-in, but more under your control.
mariusor超过 3 年前
How about <a href="http:&#x2F;&#x2F;htlm.org&#x2F;the-quickest-way-to-get-something-online" rel="nofollow">http:&#x2F;&#x2F;htlm.org&#x2F;the-quickest-way-to-get-something-online</a> ?<p>It allows anyone to generate a URL and just copy&#x2F;paste or edit HTML content using the HTML contenteditable=true attribute.
dom96超过 3 年前
&gt; It got my wondering: why isn&#x27;t it easier today to put something on the internet than it was 10 years ago?<p>What did the &quot;easy&quot; way look like 10 years ago? I don&#x27;t recall any method that wouldn&#x27;t require at least some manual steps.
评论 #29254435 未加载
osrec超过 3 年前
What was the super easy method that didn&#x27;t require FTP, SCP or a manual upload from ten years ago?<p>From what I remember, everything always had a few steps... Perhaps you&#x27;re suffering from &quot;rosy retrospection&quot;?!
kwertyoowiyop超过 3 年前
Publishing to the web should be a generic operation for most cases, just like linking a program. Just select “publish to the web” in VS Code, pick a provider if you haven’t already, and go.
milalax超过 3 年前
just connect your computer to the internet without firewall and no patches applied. will be online almost immediately ;-)
评论 #29253837 未加载
zz865超过 3 年前
A single text file? github or similar
not1ofU超过 3 年前
Tell hackers something is unhackable - they do all the work for you too ;-)
kordlessagain超过 3 年前
Typing text into this box on HN seems pretty easy.
rmellow超过 3 年前
Easiest and literally takes seconds -- surge.sh
leesalminen超过 3 年前
For the stated use case, I use IPFS. Just pin the .txt file and share the link with the Cloudflare-IPFS.com gateway.
peter-m80超过 3 年前
Use vercel
yuppie_scum超过 3 年前
Serve from S3 bucket.
moneywoes超过 3 年前
Heroku?