aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 9587eeacfdb1eee10dfc7620f4bde25708064671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Note

This is no longer under maintenance, since its goal has been achieved but I
still use hugo[^1] as it is simpler and easier to write and deploy.

# A single binary blog

After reading [this
article](https://www.andreinc.net/2022/04/10/a-blog-that-is-a-single-executable-binary)
by Andrei Ciobanu it sparkled in me to do the same thing but with rust.
It is going to be a bit bigger than micro ;)

To achieve that I'll be using the following:

- Sailfish for templating
- hyper for http server
- rust-embed for adding the files into the binary.


## Goals

* the whole blog should be a single binary
* keep everything in one request
* try to keep it under 50kB and a hard set at 100kB before any kind of
compression or minification.

[^1]: https://gohugo.io/