After tons of css pain and an issue with no cors header I’ve finally made something to make xkcd printable. Also I solved the cors issue with a cors anywhere proxy, so if you spam requests you will only stub your toe on a rate limit. Inspiration: https://stephencharlesweiss.com/blog/2020-01-25/building-xkcd-daily-digest/ I found this after googling about xkcd cors
What is this?
This fetches comics from XKCD(google it) and puts them in a printer/binge ready form. Making the comics show up in a grid proved to be quite weird to do in css since the term grid is a bit confusing
TODO:
Add a gui for url parameters
Save paper space
~~ 3. Add responseiveness for tiny screens ~~ done!
Next static site project hint(encrypted): VDNBZ2JIUnhZaUJoZG5KeWVIWWdZWEYyZGlCdVoyaHliV1ZySUhWNFpYUWdhbWNnY2lCeGRHdGtiWFJqWTJoc0lHdHBjbXR6WjNnZ1luQm5JSGRxY0hvZ2IybHZkaTRnUldSb2IzUm5JSHB5SUhoNUlHZDNkeUIxYldNbmJTQnpkbkZ1SUhWM2RHSWdhM1ozY1NCd2EyMHVJQT09
there was a way to make automatic grids using floats but I dumped that because it was too incompatible with other stuff. In the end I just did flex with media queries, the float method is still used on my massive minecraft screenshot galleries though. CSS grid generator is a nice tool I don’t see why people go through the trouble to make the grids by typing stuff out
The only reason I used it was because I was writing a 5 minute script and needed a really quick css grid for up to 10 images a row. I had a better method but it was left on my other computer because I forgot to transfer it.
Sorry I had to break things, I wanted to integerate something that doesn’t use cors anywhere, but the vercel/now for it was done. Tommrow I’ll make my own copy of it for everyone to use
to whoever thought the comics are a bit inappriate, I suggest you not like at the first 500 comics. The author has also written a few books 3 of which I have which are quite funny
well the first few comics were from his science notebooks, which may have been apporiate for the class at that time but not for people viewing his website now. I think the latest few are approiate though