• This repository has been archived on 24/Apr/2018
  • Stars
    star
    132
  • Rank 273,378 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created about 12 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[DEPRECATED] a static site generator written in Go based on Jekyll

jkl is a static site generator written in Go, based on Jekyll

Build Status

Notable similarities between jkl and Jekyll:

  • Directory structure
  • Use of YAML front matter in Pages and Posts
  • Availability of site, content, page and posts variables in templates
  • Copies all static files into destination directory

Notable differences between jkl and Jekyll:

  • Uses Go templates
  • Only supports YAML front matter in markup files
  • No plugin support

Additional features:

  • Deploy to S3

Sites built with jkl:


Installation

In order to compile with go build you will first need to download the following dependencies:

go get github.com/russross/blackfriday
go get launchpad.net/goyaml
go get launchpad.net/goamz/aws
go get launchpad.net/goamz/s3
go get github.com/howeyc/fsnotify

Once you have compiled jkl you can install with the following command:

sudo install -t /usr/local/bin jkl

If you are running x64 linux you can download and install the pre-compiled binary:

wget https://github.com/downloads/bradrydzewski/jkl/jkl
sudo install -t /usr/local/bin jkl

Usage

Usage: jkl [OPTION]... [SOURCE]

      --auto           re-generates the site when files are modified
      --base-url       serve website from a given base URL
      --source         changes the dir where Jekyll will look to transform files
      --destination    changes the dir where Jekyll will write files to
      --server         starts a server that will host your _site directory
      --server-port    changes the port that the Jekyll server will run on
      --s3             copies the _site directory to s3
  -v, --verbose        runs Jekyll with verbose output
  -h, --help           display this help and exit

Examples:
  jkl                  generates site from current working dir
  jkl --server         generates site and serves at localhost:4000
  jkl /path/to/site    generates site from source dir /path/to/site

Auto Generation

If you are running the website in server mode, with the --server flag, you can also instruct jkl to auto-recompile you website by adding the --auto flag.

NOTE: this feature is only available on Linux

Deployment

In order to deploy to S3 you must include a _jekyll_s3.yml file in your site's root directory that specifies your AWS key, secret and bucket:

s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
s3_bucket: your.blog.bucket.com

Run jkl --s3

Documentation

See the official Jekyll wiki ... just remember that you are using Go templates instead of Liquid templates.

More Repositories

1

drone-ui

Front-end for the Drone continuous integration server
JavaScript
470
star
2

routes

[DEPRECATED] routing API for Go web applications
Go
340
star
3

envsubst

Go package emulates bash environment variable substitution
Go
270
star
4

drone-go

Go client for the Drone API
Go
262
star
5

drone-wall

Dashboard for the Drone CI server
JavaScript
260
star
6

go.stripe

a simple Credit Card processing library for Go using the Stripe API
Go
260
star
7

autoscaler

Automatically adds or removes instances based on build volume
Go
194
star
8

sqlgen

Go tool for generating sql scanners, sql statements and other helper functions
Go
183
star
9

go-scm

Package scm provides a unified interface to multiple source code management systems.
Go
172
star
10

charts

Helm charts for the Drone platform on Kubernetes
Go
165
star
11

docs

Documentation for the Drone Continuous Integration project
SCSS
114
star
12

awesome-drone

A curated list of awesome Drone resources.
104
star
13

drone-gc

Garbage collection of unused docker resources
Go
73
star
14

drone-plugin-index

Public index of Drone plugins
JavaScript
71
star
15

drone-node

Node client for the Drone API
JavaScript
62
star
16

drone-runtime

[DEPRECATED] migrated to https://github.com/drone-runners
Go
62
star
17

drone-vault

Drone plugin for integrating with the Vault secrets manager
Go
62
star
18

drone-kaniko

Drone plugin for building and publishing Docker images
Go
56
star
19

drone-git

Drone plugin for cloning Git repositories
Go
53
star
20

drone-kubernetes-runtime

Goto drone/drone-runtime
Go
47
star
21

mq

a lightweight STOMP message broker
Go
42
star
22

drone-yaml

Go package for parsing and compiling the drone yaml file
Go
41
star
23

runner-go

Go helper package to extend Drone with customer runners.
Go
39
star
24

ca-certs

Docker image from scratch with root certificates
37
star
25

drone-plugin-starter

Starter project for creating Drone plugins
Go
34
star
26

drone-migrate

Migration utility from Drone 0.8.x to 1.0.x
Go
33
star
27

go-bitbucket

[DEPRECATED] Go bindings for the Bitbucket API
Go
28
star
28

go-login

Package login provides login handlers for multiple Source Control Management systems.
Go
28
star
29

drone-js

Javascript client for the Drone API
JavaScript
23
star
30

tutorials

Hugo project for the Drone tutorials website
CSS
20
star
31

homebrew-drone

Homebrew repository to install the Drone command line utility
Ruby
19
star
32

drone-convert-starlark

DEPRECATED: native Starlark support was added to Drone core. This extension is no longer required and has been deprecated.
Go
16
star
33

boilr-config

boilr template for creating Drone configuration extensions
Go
13
star
34

proposal

Drone Project Design Documents
13
star
35

drone-template-lib

library for generating templates in notification plugins
Go
13
star
36

hello-world

simple repository with CI enabled
Dockerfile
12
star
37

drone-registry-plugin

Registry extension for backward compatibility with 0.8 global registry credentials.
Go
12
star
38

docs.drone.io

[DEPRECATED] Documentation for Drone.io continuous integration service
CSS
12
star
39

drone-jsonnet-config

Drone extensions to support Jsonnet configuration files
Go
12
star
40

boilr-plugin

boilr template for creating Drone plugins
Go
11
star
41

drone-plugin-go

[DEPRECATED] use drone-go instead
Go
11
star
42

go-convert

Package convert provides tools for converting pipeline configuration files to the Drone format.
Go
11
star
43

drone-docker

Drone plugin for building and publishing Docker images
Go
9
star
44

boilr-metrics

boilr template for creating custom Drone metrics providers
Go
8
star
45

drone-cache-lib

library for building cache plugins
Go
8
star
46

brand

Logos and branding
8
star
47

drone-amazon-secrets

Drone plugin for integrating with the AWS Secrets Manager
Go
7
star
48

signal

Go package implements Context for os/signal
Go
7
star
49

drone-jira

Drone plugin for sending build and deployment status updates to Jira
Go
7
star
50

autoscaler-docs

Documentation for the Drone Autoscaler
6
star
51

drone-hugo-theme

Hugo theme for Drone documentation
CSS
6
star
52

boilr-convert

boilr template for creating Drone conversion extensions
Go
5
star
53

ui-template

Harness micro-frontend template
TypeScript
5
star
54

go-license

Package license provides software license management utilities
Go
5
star
55

boilr-webhook

boilr template for creating Drone webhook extensions
Go
4
star
56

spec

JavaScript
4
star
57

ui-core

Experimental React component library for Drone.
TypeScript
4
star
58

boilr-runner

boilr template for creating custom pipeline runners
Go
4
star
59

funcmap

Template functions for Go templates
Go
3
star
60

plugin

Tool to execute plugins
Go
3
star
61

drone-gitleaks

Drone Plugin for detecting credentials or other sensitive data in your repository
Go
3
star
62

blog

static website for blog.drone.io
HTML
3
star
63

boilr-admission

boilr template for creating Drone admission extensions
Go
3
star
64

ff-test-cases

Test cases for FF SDKs evaluator tests
Go
2
star
65

go-generate

Package generate provides tools for generating pipeline configuration files in the Drone format.
Go
2
star
66

boilr-secret

boilr template for creating Drone secret extensions
Go
2
star
67

boilr-environ

boilr template for creating Drone environment variable extensions
Go
2
star
68

ff-nodejs-server-sample

ff-nodejs-server-sample
JavaScript
2
star
69

drone-admit-members

Drone extension to restrict access based on organization membership
Go
2
star
70

go-task

Go
2
star
71

ff-ios-client-sample

Swift
2
star
72

drone-yaml-v1

moved to https://github.com/drone/drone-yaml
Go
1
star
73

drone.js

[MOVED] Javascript client for the Drone API
JavaScript
1
star
74

drone-secret-plugin

Secrets extension for backward compatibility with 0.8 global secrets files.
Go
1
star
75

ff-java-server-sample

Sample application using Java Server SDK
Java
1
star
76

ff-dotnetcore-server-sample

C#
1
star
77

ff-javascript-client-sample

JavaScript
1
star
78

hubot-drone

1
star
79

expr

Go package evaluates SQL expressions
Go
1
star
80

ff-dotnet-server-sample

C#
1
star
81

ff-golang-server-sample

Go
1
star
82

ff-flutter-client-sample

Dart
1
star