yacho
The static site generator for creative coders.
Demo page
- Demo page: https://yacho-demo.netlify.app/
- Repository: https://github.com/eqs/yacho-example
Requirements
- Python 3.7+
Installation
pip install yacho
Usage
Directory Structure
.
│ 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
...
Build site
# v0.0.2+
yacho build
# v0.0.1
# yacho yacho.sketchbook.toml
Push dist to your gh-pages.
Sketch generator
Processing sketch
yacho create
p5.js sketch
yacho create -t p5js
Example yacho.sketchbook.toml
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 = ""
Example yacho.sketch.toml
# 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 = ''
Metadata
Release files for yacho 0.0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yacho-0.0.2.1.tar.gz | 7.5 kB | Without provenance | Details for yacho-0.0.2.1.tar.gz |
Release files / yacho-0.0.2.1.tar.gz
| Download URL | yacho-0.0.2.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7ce76e6219c333be856d7ffdda2a1de4e235005de56c0002603f0df7086aed8
|
|
BLAKE2b-256 checksum How to use checksums |
ddaeafc94370f6173226e84d3147a47aea04931aebcee1e79196e78bbe56cc57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/0.19 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
|
Security for yacho 0.0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.