Content-addressed version deploy system for Diffuse elements.diffuse.sh
JavaScript 97.2%
CSS 1.6%
HTML 0.7%
TypeScript 0.1%
Other 0.4%
30 1 0

Clone this repository

https://tangled.org/tokono.ma/diffuse-artifacts
git@tangled.org:tokono.ma/diffuse-artifacts

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Content-addressed version deploy system for Diffuse. Allows the user to pick a deployed version of Diffuse.

How to use#

  1. Install deno and fclones
  2. Build:
    • deno run build:with-symlink-redirects
    • deno run build:without-symlink-redirects
    • Or, a deploy command as shown below.

Deploying#

Depending on the targetted platform, a different strategy might be applied. For example, we don't need to redirect rules for symlinks on IPFS because de-duplication is part of the protocol.

All the following commands perform a build automatically.

# IPFS
deno run deploy:ipfs

# Netlify
deno run deploy:netlify

To do#

  • Generate rules for symlinks
  • Index page listing all versions
  • Support version ranges (eg. "4.0.x" for latest patch release)