1
1
mirror of https://github.com/srid/rib.git synced 2024-12-04 05:43:37 +03:00
rib/README.md

37 lines
938 B
Markdown
Raw Normal View History

2019-07-01 01:06:16 +03:00
# rib
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`. 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.
## Local server when editing only content
```bash
2019-07-01 01:06:16 +03:00
nix-build -A ghc.rib
./result/bin/rib serve --watch
```
## ... when hacking on Haskell sources
```bash
nix-shell -A shells.ghc --run "ghcid -c 'cabal new-repl rib-example' -T 'System.Directory.withCurrentDirectory \"example\" \$ Main.dev'"
```
## TODO
- Use my own jsonCache' and drop dependency on Slick
### Article Ideas
- Github CI for OSS haskell projects
- Lens and friends
- mtl
- string types
- personal nix cache