Last active
May 28, 2023 05:40
-
-
Save ivan/f8a0f4acd31fd9e55716c12a98dbc3fe to your computer and use it in GitHub Desktop.
Using single-file-cli on NixOS without Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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