Live data from Hacker News

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

news.ycombinator.com

21–30 of 56 posts

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

#21
post #6

The simplest way I can think of is Netlify. You can drag and drop a folder to deploy it. You'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's not required.

I have never gotten in to the nitty-gritty of what Netlify can do but the free tier is my go-to tool for posting fun little side projects.

Buy a domain, create a new site linked to a Github repo, and write HTML and push!

(Not a paid shill, just a happy user)

But to the question asker's original point

> what's the easiest way to sync a TXT file onto the web?

For my personal website I use a custom static site generator and rsync

> rsync -a output_folder/ website_host:/var/www/website_folder --delete;

where "website_host" is an alias in my SSH config file.

> [...] all of them require multiple manual steps and feel complex

I create a bash script called "publish.sh" in every project so I don't have to remember these things.

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

#22
This is why I use shell, because it's faster, easier (once your learn it), and you're not locked in.

     $ echo 'question' > question.html
     $ scp question.html oilshell.org:oilshell.org/share
RESULT: http://www.oilshell.org/share/question.html

----

scp has worked the same way for ~20 years. It completes in ~10 ms, and there's no password prompt because I have ssh-agent set up.

I have used Dreamhost since 2009 and it works great: https://www.dreamhost.com/

i.e. It has survived every single HN front page spike with no problems. If you make reasonable web pages then they're very easy to serve.

I have multiple domains under the same hosting account for less than $10/month. I prefer to pay what the service costs to run rather than rely on free hosting subsidized in other ways.

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).

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't really learn how Unix works until over 10 years later, after my second job!

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.

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

#24
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.

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.

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

#26

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. 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.

> What were the steps 10 years ago that weren’t complex?

I would really like to hear the answer to that! And why the 10-years-ago thing can't be done today.

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

#28
If you want dead-simple and dirt-cheap, NearlyFreeSpeech.net is still there. Put 25 cents in there, upload a file, done. https://www.nearlyfreespeech.net/

Pastebin is another option for simple text.

For slightly more complex sites, check out Vercel or Cloudflare Pages. Both will host your site for free with reasonable quotas.

As for: > why isn't it easier today to put something on the internet than it was 10 years ago?

It IS. Just put it on farcebook or tweeter or medium or blogwhatever. Even easier than geocities.

People don't want to spend eons discovering and reading your poorly formatted text file or janky HTML that doesn'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.

It'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't want to spend effort sorting through your stuff and every other amateur's. It'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).

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's not really much money in making it easier to publish more junk.

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' HTML and CSS work as they always have, with no building required. Just host it somewhere.

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

#29
Two options come to mind at the moment:

1. GitHub pages or similar 2. Fastmail file hosting (or similar)

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.

Good luck finding something you like!

Post reply on HN