qubyte-codes
discount
qubyte-codes | discount | |
---|---|---|
3 | 1 | |
8 | 843 | |
- | - | |
9.8 | 6.7 | |
5 days ago | about 2 months ago | |
JavaScript | C | |
GNU Affero General Public License v3.0 | GNU General Public License v3.0 or later |
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.
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
discount
-
Ask HN: Share Your Personal Site
I have a blog[0], I write stuff. I don't have a job yet but I blog about my personal life and on technical problems, feelings, and stuff.
I also have a website with other things here and there [5].
The blog itself is literally a git repository, browsable here[1]. Whenever I push, it runs a git hook that executes build commands. The blog is composed of markdown files.
All the blog can be rebuilt by following the instructions and is meant to be as platform-agnostic as possible, meaning you could host it under any webserver under any path, links are relative, etc.
The blog system I use is blogit [2]; originally created by Pedantic software but has been heavily modified by yours truly[4]. Under the hood it's literally a makefile, unix `sed,grep,etc` to make tagging and other static stuff. It uses the markdown parser discount[3] to parse markdown into html. It is fully static and you can deploy it and just put a simple python http server on it. I use lighttpd, because I have some services set up.
[0] https://blog.thetrevor.tech/
[1] https://git-trevcan.duckdns.org/trevcan.github.io.git/
[2] https://pedantic.software/git/blogit
[3] https://github.com/Orc/discount
[4] I have this repo: https://git.trevcan.duckdns.org/blogit.git/ but it's not updated, check out the blog repo, the blogit makefile is there.
[5] https://thetrevor.tech/
What are some alternatives?
top-bun - 🍞 Flour Water Salt Yeast HTML CSS JS
rk-minimal - Personal site and experiment playground
slightknack.dev - Source code for my website/blog. Custom Zola theme over GH Pages.
comic-mono-font - A legible monospace font... the very typeface you’ve been trained to recognize since childhood
2022-portfolio
hn-search - Hacker News Search
xenodium - Config files for my GitHub profile.
daedalOS - Desktop environment in the browser
ethanmick.com - Personal website, portfolio, and teaching area to help anyone become a better software engineer.
jetson-nano-image - Create minimalist, Ubuntu based images for the Nvidia jetson boards [Moved to: https://github.com/pythops/jetson-image]
latex2mathml - Pure Python library for LaTeX to MathML conversion
webamp - Winamp 2 reimplemented for the browser