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
|
2019-07-02 01:14:01 +03:00
|
|
|
like `Shake` and `Reflex`. See `./example` to see how the library can be used;
|
|
|
|
it contains the author's actual website. It is still a work in progress but will
|
|
|
|
soon be ready for general use.
|
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-02 01:14:01 +03:00
|
|
|
nix-shell -A shells.ghc --run "ghcid -c 'cabal new-repl rib-example' -T 'System.Directory.withCurrentDirectory \"example\" \$ 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-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
|