gonews icon indicating copy to clipboard operation
gonews copied to clipboard

A clone of Hacker News forum written in Go

Gonews

Build Status

Go Report Card

codecov

author: mparaiso [email protected]

Demonstration

gonews.herokuapp.com

license: GNU AGPLv3

Gonews, a hacker news clone written in Go

This is a work in progress

Gonews is a hacker news like forum application where users can share links and comment on these links

[news.ycombinator.com](Hacker news)

Roadmap

  • [ ] Documentation
  • [x] Newest stories
  • [x] Stories pagination
  • [ ] Comments pagination
  • [x] Most upvoted stories
  • [x] New Comments
  • [x] Creating Accounts
  • [x] User profile
  • [x] Signing in
  • [x] Signing out
  • [x] Replying to Comments
  • [ ] Updating comments
  • [ ] Upvoting comments
  • [x] Submitting Stories
  • [ ] Upvoting stories
  • [ ] Administration
  • [x] YAML configuration
  • [x] sqlite support
  • [ ] mysql support
  • [ ] postgresql support

Getting Started

Installation

requirements:

-	go 1.6
- 	sqlite3

in the command line :

go get github.com/mparaiso/gonews

navigate to $GOPATH/src/github.com/mparaiso/gonews directory

go build

Launch the server with the following commands:

./gonews start -migrate -loadfixtures -port=8080

It will create the database, load some sample data and start the server on port 8080

To get some help on available options :

./gonews help