Commit cb86d2d7 authored by Sylvain Kerkour's avatar Sylvain Kerkour

osw 12

parent 94f5e035
Pipeline #147978562 passed with stages
in 58 seconds
......@@ -33,51 +33,17 @@ Just use old and boring technology: a static site generator with HTML, CSS and J
While rebuilding my website I learned a few things:
* My budget for a page is 30KB for HTML + CSS + JS, almost half of the custom font I previously sent.
* My budget for a page is 30KB for HTML + CSS + JS, almost half the size of the custom font I previously used.
* Don't worry about supporting Internet Explorer.
* Use the default system fonts.
* HTML, CSS and JS takes time to parse. Experiment between adding the assets as external resources (thus requiring additional requests) and inlining them (thus they are loaded for each page).
* There are lightweight alternatives to JQuery which provide the same ease of development. I choose cash (see below).
* There are lightweight alternatives to JQuery which provide the same ease of development. I chose cash (see below).
* The fastest code is the one that does not exist. Instead of adding, remove, remove remove. Remove useless libraries, remove useless images, remove useless top bars.
* It took me less time to build it from scratch rather than integrating Bootstrap.
* Text compresses well (due to the low entropy) and images & fonts don’t (due to high entropy).
<br />
## Projects
[hugo](https://github.com/gohugoio/hugo) (Apache 2.0)<br />
A simple and fast static site generator with a huge community who builds a lot of themes. <br />
It’s my weapon of choice to build my website.
<br />
[hugonews](https://github.com/spaghettiwews/hugonews) (GPL 2.0)<br />
A lightweight Hugo theme that mimics Hacker News ([demo](https://themes.gohugo.io/theme/hugonews/)).
<br />
[zola](https://github.com/getzola/zola) (MIT)<br />
*A fast static site generator in a single binary with everything built-in.*
<br />
[Publii](https://github.com/GetPublii/Publii) (GPL 3.0)<br />
*Publii is a desktop-based CMS for Windows, Mac and Linux that makes creating static websites fast and hassle-free, even for beginners.*
<br />
[Cash](https://github.com/fabiospampinato/cash) (MIT)<br />
*An absurdly small jQuery alternative for modern browsers.*
<br />
[Susty](https://github.com/jacklenox/susty) (GPL 2.0)<br />
*A tiny WordPress theme focused on being as sustainable as possible. Just 6KB of data transfer, or 7 with Yoast!*
<br />
## Articles
......@@ -122,8 +88,43 @@ These adventurers are living on a boat with constrained resources by choice. If
How to build a JSON API with a static site generator 😅
<br/>
## Projects
[hugo](https://github.com/gohugoio/hugo) (Apache 2.0)<br />
A simple and fast static site generator with a huge community who builds a lot of themes. <br />
It’s my weapon of choice to build my website.
<br />
[hugonews](https://github.com/spaghettiwews/hugonews) (GPL 2.0)<br />
A lightweight Hugo theme that mimics Hacker News ([demo](https://themes.gohugo.io/theme/hugonews/)).
<br />
[zola](https://github.com/getzola/zola) (MIT)<br />
*A fast static site generator in a single binary with everything built-in.*
<br />
[Publii](https://github.com/GetPublii/Publii) (GPL 3.0)<br />
*Publii is a desktop-based CMS for Windows, Mac and Linux that makes creating static websites fast and hassle-free, even for beginners.*
<br />
[Cash](https://github.com/fabiospampinato/cash) (MIT)<br />
*An absurdly small jQuery alternative for modern browsers.*
<br />
[Susty](https://github.com/jacklenox/susty) (GPL 2.0)<br />
*A tiny WordPress theme focused on being as sustainable as possible. Just 6KB of data transfer, or 7 with Yoast!*
<br />
## Security
A new attack against the Bluetooth specification itself was found, affecting Samsung, Apple, Qualcomm devices and much more.<br />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment