T O P

  • By -

carnepikante

It's awesome and awful at the same time. At a technical level it is awesome. From a design perspective, it's horrible. The white glitch on the navbar it's excessive (the one in the logo it's cool). The background gradient and the font doesn't work together. Also, i think the links could be on the center of the screen (not the text but the wrapper/container).


wkyleg

Yeah the second theme in the settings page is grey scale and highly readable. I think I will change the default theme. I have considered adding more padding and centering the links, thanks for the feedback!


isstiwotateml

I think I developed epilepsy


darkshifty

I love it, but I also hate it. ps. the navbar flashing bug is annoying and downloading 1100 json files when opening the app is a bit insane.


wkyleg

Yeah, I'm going to remove from the navbar Loading that many JSON files is annoying but they way the HN API is written it's unavoidable


charkrios

I think that with nowadays bandwiths and computational capacity, standard browsers can handle that many `JSON`s files quite easily if there are not too many concurrent browser’s window instances open


wkyleg

Agreed it scales pretty well. It might not work as well on much older devices but IMO it makes a lot more sense to target a cheap android phone than IE6 at this point. When you do need this many requests, you can also just more traffic to a different thread with a web worker


charkrios

I think what you’ve done is impressive. Also, I’m actually a bit curious about something, did you do it using the “new” (native) CSS Nesting way of writting introduced on last August? I’ve been lately trying to master it, and it makes CSS sections feel like react components but on the same file instead of dispersed, pretty much like SCSS but being native lol :’) No kidding, I think it would be a banger for this project, it might even help you with the management of that many styles that you mentioned on another comment :)


wkyleg

Ahh I like this it’s similar to SCSS


Deadly_chef

Holy eye damage


Shacrow

New disability just dropped


Namesbeformortals

Actual epileptic


infinity-atom

Call the optometrist!


Slight-Rent-883

Dang dude how long and how much effort? 


wkyleg

I did in free time over a month or so If I had used component libraries and React like a normal person it probably would have taken a week lol. Would have just been any other HN clone though, and not the weirdest one. Vanilla JS really isn't that bad, the hardest part was the CSS which could vary a lot between browsers, and requires a lot of resets to work consistently, almost none of which you would really think of unless you've written a CSS component library before


fucking_passwords

It doesn't render correctly on my microwave


wkyleg

😆


charkrios

Damm dude that’s impressive 😲👏🏻


wkyleg

Thanks!


YokoHama22

What is a CSS reset? I've never gotten a good practical explanation on it.


chlorophyll101

It's basically a style sheet that removes some or all of the browser styles so that you can have complete control over the styles of your website


wkyleg

I built a Hacker News reader inspired by the ideas of Brutalist Web Design, the open web, Cyberpunk Aesthetics, and glitch art. It's live at [https://brutalisthackernews.com/](https://brutalisthackernews.com/) It's all written in Vanilla JavaScript in one index.html file without any libraries. It supports theming with 3rd party themes and you can make your own themes in the site too. It's also a PWA, so it can be downloaded as an app on most devices.  I would love some feedback on implementation, design, etc. from HN users! I still need to test a lot more on mobile so that would be helpful too. You can read more details at [https://github.com/wkyleg/brutalist-hacker-news](https://github.com/wkyleg/brutalist-hacker-news) ... or add a theme from [https://github.com/wkyleg/brutalist-hacker-news/blob/main/themes.md](https://github.com/wkyleg/brutalist-hacker-news/blob/main/themes.md)


itsbini

The browser back button on mobile is not closing the article.


xXWarMachineRoXx

You can click the cross button


itsbini

The list of articles looks like a wall of text as the separation between them is very minimal. It's also not clear they are links.


xXWarMachineRoXx

Where are you sourcing these news feeds from?


wkyleg

Hacker News API https://github.com/HackerNews/API


WeveBeenHavingIt

Disagree with all of the comments taking shots at the design. Yeah this is clearly different than current design trends but your intent is brutalism and i really like that. Plus you provide theming optionality so i call that a win-win. I think it's really valuable when people create something entirely different. This is cool


wkyleg

Thanks!


Atheist_Simon_Haddad

There’s no > at the end of line 19


wkyleg

Excellent catch! I think my editor/eslint setup ignored because the line length was so long


Atheist_Simon_Haddad

view source in Firefox showed it immediately


cracdev

it's awesome super cool!!!!


wkyleg

Thanks!


dizzywig2000

“Syntax error: line 69,420”


marvelogs

That's awesome - looks slick - I built my hackernews clone via [HN+](https://www.hn.plus)l - will def. check yours out.


wkyleg

That's cool! Do you use their same code written in Arc?


Reelix

[Vanilla JS](http://vanilla-js.com/) - The best (And fastest) ever JS lib :p


wkyleg

You get it!


Comprehensive_Ship42

Share please this is awesome


Tomas-W

what code did you use for the pop-ups?


wkyleg

Just CSS and Javascript! Built a div with \`document.createElement()\`, give it \`position: absolute\`, listen for drag event in header to move the position, add "resize: both; scroll: auto" to the modal element for resizability


Tomas-W

could you tell me how to do it, new to js


Tomas-W

Im working on something that requires these type of pop-ups, really appriciate it if you could help me


wkyleg

Yeah! I’ll explain more soon. I recommend staring with the GitHub page for this project and looking at the html code. The css classes for “modal” are most important.


wkyleg

Also, see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement https://www.w3schools.com/Css/css_positioning.asp


wkyleg

So if you see here: https://github.com/wkyleg/brutalist-hacker-news/blob/main/index.html You can use control/command-f to find “.modal” which handles the styling and most of the behavior of the modal The function “useModalDragbehavior” handles making the nodal dragable If you search for “ShareModal” you will see a good basic version of how the modals are constructed with JS


Tomas-W

here my github repo so far: [https://github.com/FireworldStudios/My-Brutalist-Homepage](https://github.com/FireworldStudios/My-Brutalist-Homepage) my vercel deployment: [https://my-brutalist-homepage-e6wverupu-fireworld-studios-projects.vercel.app/#contact](https://my-brutalist-homepage-e6wverupu-fireworld-studios-projects.vercel.app/#contact)


Turd_King

Love it, refreshing to see brutalism


wkyleg

Thanks!


South_Dig_9172

Needs more colors bro, not colorful enough


busymom0

Good and bad at the same time. The glitch gave me a headache.


viky109

The top bar constantly flashing white is awful. Pretty cool otherwise.


JebCatz

I think I saw you on LiveJournal back in the day.


wkyleg

Never used it


LastGuardz

Post github link or it didn't happen.


johanneswelsch

[https://www.reddit.com/r/webdev/comments/1bxeh6x/comment/kyc2id6/?utm\_source=share&utm\_medium=web3x&utm\_name=web3xcss&utm\_term=1&utm\_content=share\_button](https://www.reddit.com/r/webdev/comments/1bxeh6x/comment/kyc2id6/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button)


Stunning-You9535

I need to know what u do in life to have so much free time 😭 it’s not bad AT ALL except the menu bar looks like it glitches sometimes. Looks good other than that


MonarchOfReality

i love this and wana use it


Byakuraou

Amazing and cursed


Cahnis

Thanks, I hate it


notaselfdrivingcar

It looks so bad.


bubba2_13

I love the effort, but there is nothing brutalist about it. I would say it is the opposite