Show HN: Transform and insert your README.md in your static site
cj.rs
cj.rs
So I’ve written an awk script to use HTML comments in the README you host on GitHub and insert/remove the small bits that need to differ between GitHub and your site. Why awk? It’s quite fast (see the benchmark session), ubiquitous (don’t add one more dependency in your CI) and felt like a good fit for this.
If that sounds interesting, please give it a try and let me know what you think! It’s really easy to run, you just need to download a small file.