https://github.com/jollheef/henhouse
Scoreboard for jeopardy-style CTFs
https://github.com/jollheef/henhouse
ctf ctf-scoreboard go golang hacktoberfest jeopardy up-for-grabs
Last synced: 3 months ago
JSON representation
Scoreboard for jeopardy-style CTFs
- Host: GitHub
- URL: https://github.com/jollheef/henhouse
- Owner: jollheef
- License: agpl-3.0
- Created: 2015-12-19T17:41:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-24T14:27:37.000Z (over 6 years ago)
- Last Synced: 2025-03-22T07:43:37.975Z (3 months ago)
- Topics: ctf, ctf-scoreboard, go, golang, hacktoberfest, jeopardy, up-for-grabs
- Language: Go
- Size: 1.82 MB
- Stars: 10
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/jollheef/henhouse)
[](https://packagecloud.io/jollheef/henhouse)
[](http://godoc.org/github.com/jollheef/henhouse)
[](https://coveralls.io/github/jollheef/henhouse?branch=master)
[](http://goreportcard.com/report/jollheef/henhouse)# Henhouse
Scoreboard for jeopardy-style CTFs.
Fundamental principle: if henhouse is not helping you make jeopardy-style CTF easily, then there is a bug in henhouse.

## Install
### Packagecloud
Built for Ubuntu 16.04.
$ curl -s https://packagecloud.io/install/repositories/jollheef/henhouse/script.deb.sh | sudo bash
$ sudo apt install henhouse### Build deb package from source
$ apt install golang build-essential binutils upx-ucl
$ export GOPATH=$(realpath ./) && go get github.com/jollheef/henhouse/...
$ cd ${GOPATH}/src/github.com/jollheef/henhouse
$ ./package.sh## Development
### Depends
#### Gentoo
$ sudo emerge dev-lang/go dev-db/postgresql
#### Ubuntu
$ sudo apt install golang postgresql
### Build
First you need set GOPATH environment variable.
$ export GOPATH=$(realpath ./)
After you need download and build henhouse with depends.
$ go get github.com/jollheef/henhouse
### Run
$ sudo psql -U postgres
postgres=# CREATE DATABASE henhouse;
postgres=# CREATE USER henhouse WITH password 'STRENGTH_PASSWORD';
postgres=# GRANT ALL privileges ON DATABASE henhouse TO henhouse;After that you need to fix 'connection' parameter in configuration file.
(And other parameters, of course)Now, run it!
$ ${GOPATH}/bin/henhouse ${GOPATH}/src/github.com/jollheef/henhouse/config/henhouse.toml --reinit