Git Product home page Git Product logo

fofou's Introduction

Get the code

git clone --recursive https://github.com/kjk/fofou.git

Overview

For more info: http://blog.kowalczyk.info/software/fofou/

Fofou (Forums For You) is a simple forum software inspired by Joel On Software forum software (http://discuss.joelonsoftware.com/?joel).

It's mostly a port of FruitShow PHP forum (http://sourceforge.net/projects/fruitshow).

This is a version written in Go. There's also a version in Python for App Engine: https://github.com/kjk/fofou_appengine

Where can I see it in action?

Forums for my Sumatra PDF reader are powered by Fofou: http://forums.fofou.org/sumatrapdf/

Installation

You probably want to run it on a server (I use Ubuntu) but when testing you can run it on Mac.

You need to create config.json (see sample_config.json for example).

Since login system uses Twitter OAuth, you need to get token and secret from https://dev.twitter.com/ and set AdminTwitterUser to your Twitter handle (this is the user who is the admin of the forum).

To ensure encryption of cookies, you need to set random CookieAuthKeyHexStr and CookieEncrKeyHexStr. The easies way is to leave them blank and new random values will be printed to stdout.

Look at scripts/run.sh to see how to compile and run the forum.

Deployment

When you want to run the code in production, you probably want to deploy it to a server.

You can take a look at fabfile.py (Fabric deployment script) for an example on how to do automate deployments.

Design philosophy

You'll quickly see that Fofou differs in many ways from most common forum software. There are good reasons for the differences and Joel Spolsky describes those reason in great detail: http://www.joelonsoftware.com/articles/BuildingCommunitieswithSo.html

License

The Go code is written completely by me and is in Public Domain.

Html/css/js files are mostly lifted from FuitShow, so they fall under FruitShow's BSD license.

fofou's People

Contributors

coyove avatar kjk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.