Skip to content

small-tech/sitejs.org

Repository files navigation

Site.js web site

Source code for the Site.js web site.

Clone

⚠️ Do not clone this repository from GitHub.

The GitHub version is a mirror and does not contain the Git LFS objects. Feel free to report issues here, etc., but do not clone from here if you’re going to deploy the site.

  1. Make sure you have the Git LFS git extension installed (e.g., for Ubuntu):

    sudo apt install git-lfs
    git lfs install
  2. Clone the repository via the links on the canonical repository at https://source.small-tech.org/site.js/site

Install

./install

Build

./build

The following features require Site.js:

Test locally

Test the source:

site

Test the distribution build:

site dist

Stage

Stage the source:

site @hostname

Stage the distribution build:

site dist @hostname

Deploy

If you have SSH access to the Site.js web site:

./deploy

Note: The scripts use the latest Site.js syntax.

Useful components

You might find these components useful in your own projects:

  • Inline CSS and JS: script that inlines CSS and JS into the HTML during the build process.

  • Inline SVG: script that inlines SVG into the HTML during the build process.

Like this? Fund us!

Small Technology Foundation is a tiny, independent not-for-profit.

We exist in part thanks to patronage by people like you. If you share our vision and want to support our work, please become a patron or donate to us today and help us continue to exist.

Copyright

© 2019-present Aral Balkan, Small Technology Foundation.

License

AGPL version 3.0

Site.js logo: a small sprouting plant with a green leaf on either side of a brown stem