Use hcknws
to view and open links/comments of Hacker News stories.
- nodejs & npm
- Lumo
- Pkg (For building binaries)
# Install deps
$ npm install
# Run with Lumo in hcknws repo
$ lumo -c src src/hcknws/core.cljs
# Ensure deps are installed
$ npm install
# Build with Lumo
$ lumo -c src build.cljs
# Install globally with npm (within root of hcknws)
$ npm install -g
- Download release (only mac at the moment)
- Unzip & place it on your
$PATH
where your shell can find it (eg.~/bin
) - Set it to be executable (
chmod a+x ~/bin/hcknws
)
# In any dir
$ hcknws
Install Pkg, or similar.
# Example of building node 6 on mac.
$ pkg -t node6-macos-x64 -o builds/macos/hcknws package.json
# Zip for distribution
$ cd builds/macos
$ zip macos.zip hcknws