<commit_before>![](img/logo.jpg)

# Hugoku
Hugoku is an open and automated PAAS solution to host Hugo static websites.

## Description
The name of hugoku came from the fusion of [hugo](https://gohugo.io/) and [heroku](https://www.heroku.com/) and some power of Goku.

Hugo try to be a service like Heroku for automate the generation of static websites on the top of Hugo.

In the market there is other solution for doing that like [netlify](https://www.netlify.com), but no as open source, and not created in the Gopher Gala.

## Configuration
Define the `HUGOKU_OAUTH2_CLIENT_ID` and `HUGOKU_OAUTH2_CLIENT_SECRET`  environment variables with your Github App credentials.

You can also set the `HUGOKU_OAUTH2_CALLBACK_URL` environment variable to point to the url for the callback auth call usually `https://yourdomain.com/auth/callback` for example:

    https://example.com/auth/callback

Or you can also set the callback when you [register the application on Github](https://github.com/settings/applications/new) using the field *Authorization callback URL*

## Install

```sh
go get github.com/gophergala2016/hugoku
```

## Launch
Just run it:

```sh
./hugoku
```
<commit_msg>Added license badge<commit_after>![](img/logo.jpg)

[![License][License-Image]][License-Url] 

# Hugoku
Hugoku is an open and automated PAAS solution to host Hugo static websites.

## Description
The name of hugoku came from the fusion of [hugo](https://gohugo.io/) and [heroku](https://www.heroku.com/) and some power of Goku.

Hugo try to be a service like Heroku for automate the generation of static websites on the top of Hugo.

In the market there is other solution for doing that like [netlify](https://www.netlify.com), but no as open source, and not created in the Gopher Gala.

## Configuration
Define the `HUGOKU_OAUTH2_CLIENT_ID` and `HUGOKU_OAUTH2_CLIENT_SECRET`  environment variables with your Github App credentials.

You can also set the `HUGOKU_OAUTH2_CALLBACK_URL` environment variable to point to the url for the callback auth call usually `https://yourdomain.com/auth/callback` for example:

    https://example.com/auth/callback

Or you can also set the callback when you [register the application on Github](https://github.com/settings/applications/new) using the field *Authorization callback URL*

## Install

```sh
go get github.com/gophergala2016/hugoku
```

## Launch
Just run it:

```sh
./hugoku
```

[License-Url]: http://opensource.org/licenses/MIT
[License-Image]: https://img.shields.io/npm/l/express.svg

{'fraction_non_alphanumeric': 0.0976965845909452, 'fraction_numerical': 0.005559968228752979, 'mean_word_length': 4.647982062780269, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3122653', 'n_tokens_mistral': 797, 'n_tokens_neox': 768, 'n_words': 295}