Live data from Hacker News

Bashblog – a single bash script to create blogs

github.com

91–93 of 93 posts

Re: Bashblog – a single bash script to create blogs

#91
post #89
post #73

Earlier quoted context omitted.

I’d argue that was active aggressive, actually.

Would be interested if OP had wrote, AI built me my own blog engine. Instead of saying "I built". If person wrote 90% of code and used AI for only 10% that's only for refactoring or commenting or optimizing then it won't be wrong to say "I built". But when 90% is written by AI and user just makes minor edits its not ethical. An on the contrary AI has itself been written by other humans and Its been trained over milli…

Who cares seriously? Its obvious in the repo that claude code is a contributor.

I dont have time to play these ego games and prefix everything with "AI wrote 90% of this codebase" instead "I built". I just thought this would be useful to share. If you dont think this is useful then dont use it, it's that simple...

Re: Bashblog – a single bash script to create blogs

#92

mine is: find . -name '*.md' -type f -exec sh -c ' for file do out="docs/${file#./}" out="${out%.md}.html" mkdir -p "$(dirname "$out")" pandoc --quiet --template template.html "$file" -o "$out" done ' sh {} +

The only issue is pandoc is a pretty heavy dep. A fantastic tool, but a very heavy one.

yes true, but I already have it on all my machines, for diverse reasons...it wouldn't be hard to implement a markdown support, but it would be worse to maintain that

Re: Bashblog – a single bash script to create blogs

#93
post #35
post #3

Glorious. I used a similar system back in the day, nanoblogger: https://nanoblogger.sourceforge.net/

Awesome! I’m the author and I created that project as a way to teach myself Bash at the time. I called it NanoBlogger because it was inspired by MicroBlogger, yet another Bash blog. I still have fond memories of the open source community’s warm welcome and amazing contributions to the project.

Oh, that's amazing. Thank you so much. I still love the aesthetic of both using bash and the default template!
Post reply on HN