arussellsaw
Joined 10 years ago
Joined 10 years ago
It's worth saying that this setup is double handy when you add in our local environment tracing setup we talked about here: https://incident.io/blog/tracing
I'd love any feedback, i've addressed a lot of the issues people had when this was posted ~7 months ago, and added dark mode as well.
The CSS framework i use is https://bulma.io and the server side rendering is all done with Go’s html/template library.
I’m definitely going to open source it but I’m too ashamed of the code right now, this evening is going to be cleaning and ‘production using’ the code
This is also running in a semi-serverless container in Google Cloud Run (only costs me £1 a month!) so fetching and re-caching all of that when a new container is scheduled is painful, however it seems like state in the container is persisted longer than i initially thought, so it's good enough for now.
* i absolutely built this for fun, it's an idea i had late at night and needed to scratch that itch
* the scolling sucks, laying out arbitrarily sized articles into a given layout is a challenge, and the scrolling hides a lot of the sins. I'm going to switch to truncating articles this evening, and linking to a single article page.
* thanks for the suggestions on hyphenation, i've been playing with a few different approaches but none have worked with all the browsers i tried, i'll give a few suggestions a go this evening!
Still do the NYT every day though.