2019-07-01 01:06:16 +03:00
|
|
|
# rib
|
2019-06-18 02:02:02 +03:00
|
|
|
|
2019-07-01 01:06:16 +03:00
|
|
|
<!--
|
|
|
|
Credit for this image: https://www.svgrepo.com/svg/24439/ribs
|
|
|
|
-->
|
2019-07-01 01:22:50 +03:00
|
|
|
<img src="https://raw.githubusercontent.com/srid/rib/master/site/images/ribs.svg?sanitize=true" width="150" />
|
2019-07-01 01:06:16 +03:00
|
|
|
|
|
|
|
Rib is a static site generator written in Haskell using sensible technologies
|
|
|
|
like `Shake` and `Reflex`.
|
2019-06-18 02:02:02 +03:00
|
|
|
|
2019-06-30 23:36:17 +03:00
|
|
|
## Local server when editing only content
|
2019-06-29 01:06:37 +03:00
|
|
|
|
|
|
|
```bash
|
2019-07-01 01:06:16 +03:00
|
|
|
nix-build -A ghc.rib
|
|
|
|
./result/bin/rib serve --watch
|
2019-06-29 01:06:37 +03:00
|
|
|
```
|
|
|
|
|
2019-06-30 23:36:17 +03:00
|
|
|
## ... when hacking on Haskell sources
|
2019-06-29 01:06:37 +03:00
|
|
|
|
|
|
|
```bash
|
2019-07-01 00:41:00 +03:00
|
|
|
nix-shell -A shells.ghc --run "ghcid -T Main.dev"
|
2019-06-29 01:06:37 +03:00
|
|
|
```
|
|
|
|
|
2019-06-18 02:02:02 +03:00
|
|
|
## TODO
|
|
|
|
|
2019-06-30 18:50:14 +03:00
|
|
|
- Use my own jsonCache' and drop dependency on Slick
|
2019-06-29 01:06:37 +03:00
|
|
|
- Literate haskell
|
|
|
|
- Include rendered Main.lhs as a post in notes.srid.ca
|
2019-06-19 04:43:13 +03:00
|
|
|
|
2019-06-29 01:06:37 +03:00
|
|
|
### Article Ideas
|
2019-06-19 04:43:13 +03:00
|
|
|
|
|
|
|
- Github CI for OSS haskell projects
|
2019-06-22 17:34:03 +03:00
|
|
|
- Lens and friends
|
|
|
|
- mtl
|
|
|
|
- string types
|
|
|
|
- personal nix cache
|