Notes: This is a documentation-driven-development series I am currently experimenting. So most likely the code doesn’t exists yet before publishing this article. What I am hoping is that even if the project eventually can not be finished, the idea could still live in somewhere.🤞🏼
Static site generators are a blessing. Since Jekyll and Github pages, the world had been moving towards static sites in big strides. To say the least, personal blogs are among the majority of them.
Static site generators are great in so many ways, the best parts probably is the 1. endless customizability and 2. content first.
However, there comes a cost. Thinking about the process you writing a blog post:
cd ~/sites/orchardlabdev-site
hugo new content/posts/i-have-something-to-share.md
code .
Not to mention the specialized tools we are using here, to start writing something, we would need to do 5 steps. Of course you can have some shortcuts to streamline this process. But then in the writing mode, if you want to put a picture, you would need to drag it drop to a certain folder then grab the name and link it correctly in the markdown file. So much frictions to write!
So I am wondering, can we have a little helper doing some of these (if not all of them) for us? Something can make us writes more, think more, instead of fiddling the tools and facing 10 options. I would love to have something like this:
Can we build something like this? So that’s my plan.
For the binary I would like to use Rust, cause that’s a good one if you want your tool to show up on the HackerNews front page :-). Kidding aside, I think Rust is great at building cross-platform binary tools, and it’s fast too.
For the Web UI, I will use Svelte.
Since I am currently using Hugo, so I would like to support Hugo first and then increase the scope of the tool to others like Jekyll or 11ty etc.
Next we will be start building the core logics using Rust first. See you next post.