https://github.com/srid/iiview
HTML viewer for the suckless ii IRC client
https://github.com/srid/iiview
haskell irc logging static-site
Last synced: about 1 year ago
JSON representation
HTML viewer for the suckless ii IRC client
- Host: GitHub
- URL: https://github.com/srid/iiview
- Owner: srid
- Created: 2020-01-23T18:01:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T00:49:30.000Z (over 6 years ago)
- Last Synced: 2024-12-27T01:08:21.444Z (over 1 year ago)
- Topics: haskell, irc, logging, static-site
- Language: Haskell
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iiview
HTML viewer for the suckless [ii](https://tools.suckless.org/ii/) IRC client.
## Prerequisites
First, install the [Nix package manager](https://nixos.org/nix/):
``` bash
bash <(curl https://nixos.org/nix/install)
```
Optionally, enable the [Nix cache](https://srid.cachix.org/) if you would like to speed up local builds:
``` bash
# If you do not already have cachix, install it:
nix-env -iA cachix -f https://cachix.org/api/v1/install
# Enable nix cache for rib
cachix use srid
```
## Running
To build and run the site:
```bash
nix-shell --run 'ghcid -T main' # or, ./scripts/ghcid
```
This launches a web server at http://localhost:8080 serving the statically
generated content. It auto-reloads as the IRC logs are updated, or when the Haskell source is modified.