This go project aim to parse a til repository* in order to generate a static website.
*til repository is a collection of "Today I Found" posts, usually written in markdown format.
Requirements:
- Go 1.16 or higher
- Air (for live reloading during development)
- Need to set a GITHUB_TOKEN environment variable for accessing GitHub API. More info here.
To install the project, you need to have Go installed on your machine. Then you can run the following command to download the dependencies:
go mod tidyTo install Air for live reloading, you can use the following command:
go install github.com/air-verse/air@latestTo set the GITHUB_TOKEN environment variable, you can use the following command in your terminal:
export GITHUB_TOKEN=your_github_token_hereTo run the project, you can use the following command:
air