Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wei2912/wei2912.github.io

Personal blog.
https://github.com/wei2912/wei2912.github.io

blog cryptography functional-programming haskell ml utterances website

Last synced: 17 days ago
JSON representation

Personal blog.

Awesome Lists containing this project

README

        

# wei2912.github.io ![Build and Deploy](https://github.com/wei2912/blog-src/workflows/Build%20and%20Deploy/badge.svg) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/wei2912/wei2912.github.io/master.svg)](https://results.pre-commit.ci/latest/github/wei2912/wei2912.github.io/master)

This is the source of my personal blog and is where I keep my articles as well
as the code of my static site generator, which is based upon
[Hakyll](https://jaspervdj.be/hakyll/).

# Installation

To build the source, you need [Stack](https://www.haskellstack.org/). The whole
source is in Haskell and the package can be reproducibly built with Stack.

```bash
$ stack setup # if you need to set up a GHC environment that is separate from your system
$ stack build
```

# Running

You can use the executable file generated by Stack to perform a wide variety of
tasks. For more information, run this command:

```bash
$ stack exec blog-src -h
```

To build the `.sass` files, you will need to install the
[Sass executable](https://sass-lang.com/install).

# Development

This repository uses [pre-commit](https://pre-commit.com/) which will
automatically format the codebase.

To set up the Git hooks, run the following command:

```bash
$ pre-commit install
```