The static site generator for creative coders.
- Demo page: https://yacho-demo.netlify.app/
- Repository: https://github.com/eqs/yacho-example
- Python 3.7+
pip install yacho
.
β avatar.png
β custom.css
β yacho.sketchbook.toml <----------- Put PROJECT config file
β
ββsketch_210401a
β β sketch_210401a.pde
β β yacho.sketch.toml <----------- Put sketch config file
β β
β ββcover
β β cover_image.png
β β
β ββimages
β img1.png
β img2.png
β img3.png
β ...
β
ββsketch_210402a
β sketch_210402a.pde
β yacho.sketch.toml <----------- Put sketch config file
β
ββcover
β cover_image.png
β
ββimages
img1.png
img2.png
img3.png
...
# v0.0.2+
yacho build
# v0.0.1
# yacho yacho.sketchbook.toml
Push dist
to your gh-pages.
Processing sketch
yacho create
p5.js sketch
yacho create -t p5js
sketchbook_root = '.'
base_url = 'https://yacho-demo.netlify.app/'
# Page title
title = 'My Sketchbook'
# Profile information
author = 'eqs'
avatar = 'chi.png' # relative path from sketchbook_root
bio = """
Creative Coder
"""
# Your custom css (relative path from sketchbook_root)
custom_css = 'custom.css'
[social]
home = "https://www.eqseqs.work"
twitter = "eqs_work"
github = "eqs"
instagram = ""
youtube = ""
facebook = ""
# If title is empty, sketch dir name will be used as title.
title = "Flowers"
# Default to false
draft = false
comment = "An example comment."
# Files listed in this value will be public.
# Default to:
public = ['*.pde', 'sketch.js', '*.py']
# video embedding will be available v0.0.2
[video]
# Please set 'none', 'youtube', 'vimeo', 'neort' or 'gif'
type = 'none'
# If you use 'gif', id will be interpreted as file path of gif animation.
id = ''