Live data from Hacker News

Tiny websites are great

tinyprojects.dev

91–100 of 227 posts

Re: Tiny websites are great

#92

Most of the "small" designs and frameworks I've seen are quite large, in my mind. I just finished building a minimalist html/css template for some of my own projects. I'm starting to feel like this is some lost art form. https://neat.joeldare.com

Your `pre` elements are set to `overflow: scroll;`. You pretty much never really want that. (And it looks terrible on platforms that still have real scrollbars instead of the iOS-style overlay indicators that fade away. It should be `auto`.

See https://www.w3.org/TR/CSS21/visufx.html#propdef-overflow

Re: Tiny websites are great

#93
post #90
post #55

Mine[1] is rather tiny and simple. It is actually generated by the tree command in about a second. It's a port from the gopher protocol and is hosted by the venerable sdf.org[2]. I decided to pay an exorbitant $60 a year for an enhanced membership simply to have an https address and some other assorted goodies[3]... [1] https://every.sdf.org/ [2] https://sdf.org/ [3] https://sdf.org/?tutorials/metaarray

I was considering joining SDF, but I'm confused about the membership levels. What's the minimum level needed for static html hosting with a domain I already own?

This may be what you are looking for. An ARPA membership with a small annual fee...

https://sdf.org/?faq?VHOST?01

Re: Tiny websites are great

#95
post #7

Tiny websites are great! It's interesting to note that the website content itself for this article is 5,045 bytes (HTML + CSS), but the analytics code (firebase-analytics.js) is 26,458 bytes, and firebase-app.js (whatever this is?) is 19,865 bytes. Not a criticism; analytics is important & maybe the app JS is too. Just think it's worth bearing in mind that it's really easy to blow out your website's total delivery im…

There are also "tiny" solutions for analytics.

I'm working on Plausible Analytics which is only 1.4 KB right now and provides a modern dashboard. It also doesn't use cookies and doesn't collect personal data so you're not required to show the cookie/GDPR prompts which would make tiny websites much less tiny.

See https://plausible.io/

There's an issue on our Github which will help us perhaps reduce it to under 1 KB too. We're working on that https://github.com/plausible-insights/plausible/issues

Re: Tiny websites are great

#96
Ugh, how I loathe the term "full stack". Many who claim this have attended a 12 week crash course where they're armed with the programming equivalent of heavy weaponry and then turned out onto the world to "engineer" websites that are bloated, slow me-too creations with background video, fly-in scroller elements, and everything else that bogs down even the most powerful PC.

"Many were increasingly of the opinion that they'd all made a big mistake coming down from the trees in the first place, and some said that even the trees had been a bad move, and that no-one should ever have left the oceans." - Adams

Re: Tiny websites are great

#97

Yeah! I am with you on this. I've used nothing but HTML/CSS for all of my side projects for years. I manually create, update, and publish each page. Hell, I still drag and drop via FTP. It is indeed very fun. Here's a screenshot of my latest project, nothing fancy, just starting to tinker with Tufte CSS and typography (Lyon Text and Concourse): https://cln.sh/BzBD

Looks great! Why not a link to the actual website?

Re: Tiny websites are great

#100
I eventually added an editor that displays the html source in a textarea. Above it is a field with the file name, below is the submit button and a password field. (There also is a cookie req that I make manually and it does some IP checks when trying to save.)

After submitting it checks if there are links pointing at the (new) page. If those are missing the "success!" page gets a link pointing back at the editor with the index appended to it as the query string, the url that must be added and the page title. (the substring between and )

When clicked it loads the index into the editor and inserts a link into the html (so that I can move it around or type text around it)

That same functionality is reused by a bookmarklet to insert www links into pages. (it also inserts highlighted text from pages)

Except the save page everything is still static html.

Post reply on HN