Skip to content

Instantly share code, notes, and snippets.

@ivan
Last active May 28, 2023 05:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivan/f8a0f4acd31fd9e55716c12a98dbc3fe to your computer and use it in GitHub Desktop.
Save ivan/f8a0f4acd31fd9e55716c12a98dbc3fe to your computer and use it in GitHub Desktop.
Using single-file-cli on NixOS without Docker
# or properly via environment.systemPackages
nix-env -iA google-chrome-dev nodePackages.pnpm nodejs_latest
(cd ~/ && git clone https://github.com/gildas-lormeau/single-file-cli)
(cd ~/single-file-cli && pnpm import && pnpm install --ignore-scripts --no-optional --prod)
~/single-file-cli/single-file --browser-executable-path google-chrome-unstable --dump-content "https://twitter.com/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment