Skip to content

Instantly share code, notes, and snippets.

@upsided
upsided / lpack.fish
Created March 20, 2019 00:33
Create a LBRY-compatible website archive out of a folder
#!/usr/bin/env fish
# pack up a folder in the x-lbry format so it can be hosted on LBRY as a web page.
#
# this requires
# - the fish shell (just get it already)
# - zstd compression tool ( https://github.com/facebook/zstd )
# - an index.html file in your folder (duh)
#
# usage:
# lpack YourSiteFolder YourFilename.lbry