Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juntaki/bucketwiki

Amazon S3 backed wiki witten in golang
https://github.com/juntaki/bucketwiki

golang s3 wiki wiki-engine

Last synced: 6 days ago
JSON representation

Amazon S3 backed wiki witten in golang

Awesome Lists containing this project

README

        

# Bucket Wiki

A simple Wiki system written in golang.

[![Build Status](https://travis-ci.org/juntaki/bucketwiki.svg?branch=master)](https://travis-ci.org/juntaki/bucketwiki)
[![Coverage Status](https://coveralls.io/repos/github/juntaki/bucketwiki/badge.svg?branch=master)](https://coveralls.io/github/juntaki/bucketwiki?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/juntaki/bucketwiki)](https://goreportcard.com/report/github.com/juntaki/bucketwiki)

![screenshot](https://github.com/juntaki/bucketwiki/blob/master/screenshot.gif?raw=true)

* Amazon S3 back-end, No need to setup/backup database.
* Easy to share a page to the public

## Deploy to Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

## Build and run

Set your bucket name and credentials to environment variable.

~~~
AWS_BUCKET_NAME=
AWS_BUCKET_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
TWITTER_KEY=
TWITTER_SECRET=
URL=
WIKI_SECRET=
~~~

Get dependencies and build

~~~
go get -v
go build
~~~

Run and access http://localhost:8080/

## Run on Docker

~~~
docker run -d -p 8080:8080\
-e AWS_BUCKET_NAME="" \
-e AWS_BUCKET_REGION="" \
-e AWS_ACCESS_KEY_ID="" \
-e AWS_SECRET_ACCESS_KEY="" \
-e TWITTER_KEY="" \
-e TWITTER_SECRET="" \
-e URL="" \
-e WIKI_SECRET="" \
juntaki/bucketwiki
~~~