nhp
qubyte-codes
nhp | qubyte-codes | |
---|---|---|
2 | 3 | |
1 | 9 | |
- | - | |
7.1 | 9.8 | |
3 months ago | 3 days ago | |
JavaScript | JavaScript | |
- | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nhp
- Ask HN: Share Your Personal Site
-
Why I built my own static site generator
I built mine too, for similar reasons: it felt easier to write from scratch, so that my site looked the way I wanted it, than customize some of the existing solutions (Jekyll, Hugo, etc).
Sure it’s not customizable at all: it can only generate my site. And that’s fine. I like it that way.
For example: I sometimes translate poetry, and I have a bunch of code that renders individual poems from plaintext (not Markdown, because newlines and whitespace _are_ significant): https://github.com/nathell/nhp/blob/master/src/nhp/poems.clj
qubyte-codes
-
Ask HN: Share Your Personal Site
https://qubyte.codes
I blog about things which interest me (mostly JS and creative code related), but also take Japanese language notes as I learn. Also part of the 250KB club!
It's built with my own hand-rolled static site generator, and I'm pretty proud of it's capabilities now. I've got a bunch of indieweb features integrated into it. I have no sense of style though!
Source: https://github.com/qubyte/qubyte-codes
-
Math Rendering Is Wrong
I use server rendered SVG with mathjax as part of my static site generator. To try to make it as accessible as possible I add a title element with an ID to each SVG and use an aria-labelledby attribute to connect the two [1] (a sample for the interested, scroll about half way down [2]). The title content is the unrendered LaTeX source.
I'm very interested in the notion of using HTML and CSS rendering though! Many thanks to the author for pointing out this functionality.
[1]: https://github.com/qubyte/qubyte-codes/blob/main/lib/render....
-
Using ES Modules (ESM) in Node.js: A Practical Guide (Part 1)
Another static site builder author here. I found some of the same awkwardness in recreating __dirname, but after some massaging found it only remains when path.join is also used (which can't work with a file URL and can't be simply replaced with URL construction because the existing path is lost). I went the whole hog and completely replaced all CJS in my own code, and it's working well. Luckily I avoided issues with third party modules breaking.
PR with the changes: https://github.com/qubyte/qubyte-codes/pull/323
What are some alternatives?
pico - Minimal CSS Framework for semantic HTML
top-bun - 🍞 Flour Water Salt Yeast HTML CSS JS
front-matter - Extract YAML front matter from strings
slightknack.dev - Source code for my website/blog. Custom Zola theme over GH Pages.
Hugo - The world’s fastest framework for building websites.
2022-portfolio
Metalsmith - An extremely simple, pluggable static site generator for Node.js
xenodium - Config files for my GitHub profile.
ethanmick.com - Personal website, portfolio, and teaching area to help anyone become a better software engineer.
latex2mathml - Pure Python library for LaTeX to MathML conversion
react-simple-terminal - A very simplistic react terminal
bret.io - 🤦🏼♂️ Professional website