A Hacker News client written in Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
.firebaserc
.gitignore
CONTRIBUTING.md
LICENSE
README.md
app.go
commentCard.go
firebase.json
header.go
main.go
package-lock.json
package.json
pageNav.go
story.go
storyCard.go
storyList.go
user.go
workbox-config.js

README.md

Go Hacker News

A Hacker News client written in Go

PRs Welcome

What is this?

A Hacker News client (yes, another one) written in Go using GopherJS.

What is this built with?

Additional

Setup

  1. Fork/clone the repo
  2. Install packages:
go get -u github.com/gopherjs/gopherjs	
go get -u myitcv.io/react myitcv.io/react/cmd/reactGen	
go get -u honnef.co/go/js/xhr github.com/go-humble/router	
  1. Add GopherJS and ReactGen to PATH:
export PATH="$(dirname $(go list -f '{{.Target}}' myitcv.io/react/cmd/reactGen)):$PATH"
  1. Create generated files for each component:
go generate
  1. Build the application:
gopherjs build --output build/script.min.js --minify

This will save create script.min.js in the build/ folder. You can use any local testing server in build/ to boot up the application (for example: python -m SimpleHTTPServer if you have Python installed).

Can I contribute?

Of course you can! Please take a look at the contributing documentation for more info.

License

Apache 2.0

This is not an official Google product.