https://github.com/mattn/jedie
Static site generator written in golang
https://github.com/mattn/jedie
Last synced: 9 months ago
JSON representation
Static site generator written in golang
- Host: GitHub
- URL: https://github.com/mattn/jedie
- Owner: mattn
- License: mit
- Created: 2013-11-22T01:25:46.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T13:03:35.000Z (over 5 years ago)
- Last Synced: 2025-04-15T06:13:20.344Z (9 months ago)
- Language: Go
- Homepage: http://mattn.github.io/jedie/
- Size: 120 KB
- Stars: 127
- Watchers: 6
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jedie
[](https://godoc.org/github.com/mattn/jedie)
[](https://goreportcard.com/report/github.com/mattn/jedie)
__ ___
__ / /__ ___/ (_)__
/ // / -_) _ / / -_)
L___/`__/`_,_/_/`__/
jedie - static site generator, jekyll replacement, in golang.
## Install
### Requirements
* golang (of course!)
* git
### Install with `go get`
```
$ go get github.com/mattn/jedie
```
### Or, Build after git clone
Get dependencies at first.
```
git clone https://github.com/mattn/jedie
cd jedie
go get github.com/flosch/pongo2
go get github.com/howeyc/fsnotify
go get github.com/russross/blackfriday
go get gopkg.in/yaml.v1
go build
```
## Usage
At the first, create scaffold
```
$ mkdir /path/to/blog
$ jedie new /path/to/blog
$ cd /path/to/blog
$ vim _posts/2013-11-23-welcome-to-jedie.md
$ jedie build
```
Then, you can see your site is built in `_site` directory.
If you want to serve your site with http server:
```
$ jedie serve
```
## Configuration
```yaml
name: Your New Jedie Site
description: You love golang, I love golang
```
For example, you can do your specified conversion like below.
```yaml
conversion:
js:
ext: js
command: minifyjs -m -i {{from}} -o {{to}}
```
## Author
Yasuhiro Matsumoto (a.k.a mattn)
## License
MIT