I've been doing the "big ass text file" approach forever. This is a nice alternative that doesn't try to do too much. Enjoying it so far! Going to give this a real go to use it to plan out my next project.
This is great! Pretty similar to what I did in that you have actual links to the articles and even images. If you had a cron script that auto-generated new content every day, I think that would be the only thing that I'm doing that crackernews doesn't yet.
Another interesting choice is you are generating the article content itself. It is wild how you can get it to generate markup on the fly for different styles of posts.
For my project, I'm generating structured JSON with an [OpenAI Function](https://platform.openai.com/docs/api-reference/chat/create#c...) as I found even if you tell it the format you want in the prompt, it sometimes ignores it or doesn't match exactly. Then I'm uploading the JSON and images to S3.
I didn't realize you could get a DALLE image and drop it in your own directory with a oneliner like you have. Very nice!
> If you had a cron script that auto-generated new content every day
Thank you for the feedback! I thought about that initially, but turned out that generated jokes become a bit repetitive after a while and the project actually requires manual curation (for which I don't have the time). Or, it needs some source of "external entropy" which I haven't figured yet.
What is also interesting is the exact ways in which LLM humor becomes repetitive. I believe it could be a subject of study on its own, as it reveals something interesting about how human humor is structured.
P.S. For example, for some reason LLM really love all kinds of jokes about pirates, pizza, cheese and lost socks.
I created this as a tool for playing around with different font and color combinations then generating a theme object that meets the System UI Theme Specification for creating interoperable UI components (see system-ui.com). The idea is that you can quickly experiment, and then if you come up with something you like, you can take those style properties and use them to make your component libraries or with popular projects like Theme UI, Rebass, Primer, Chakra UI, etc.