2 ms·
Cobalt: static blogging on iPhone and iPad via iSH, with Rust Liquid templates
- transpute 10mo agoCobalt + Liquid-Rust + iSH enables offline writing with iPad portability, lockdown mode security and battery life, retaining interoperability with Linux static publishing toolchains. No jailbreaks or sideloading required. Due to lack of JIT on iOS, Jekyll is too slow to run on iSH. Liquid-Rust (https://github.com/cobalt-org/liquid-rust https://github.com/cobalt-org/liquid-rust) templates, even with partial compatibility for the Ruby-based Liquid template engine, reduce the cost of migrating from the Jekyll Ruby static site generator used by Github Pages. On Debian x86, build a cobalt static binary for use on iSH (Alpine Linux /w musl libc) on iPadOS: sudo apt install rustup build-essential rustup target add i586-unknown-linux-musl git clone https://github.com/cobalt-org/cobalt.rs cd cobalt.rs cargo build --release --target i586-unknown-linux-musl cp target/i586-unknown-linux-musl/release/cobalt /mnt/usb Copy cobalt static binary to iSH filesystem via iOS Files app, execute and view http://localhost:NNNN with a web browser: ./cobalt --no-watch --host 0.0.0.0 --port NNNN