Giter Site home page Giter Site logo

readeef's Introduction

readeef

readeef is a self-hosted feed aggregator. Similar to Google Reader, but on your own server.

For a less brief description, click here. Some screenshots may also be had on this page

Quick start

readeef is written in Go, and as of September 2014, requires at least version 1.3 of the language. It also uses build tags to specify which database support is to be built in. The currently supported databases are PostgreSQL ('postgres' tag), and SQLite ('sqlite3' tag). The later is not recommended, as locking problems will occur. Two binaries may be built from the sources. The first is a user administration script, which has to be used to add the first user to the system. It may be built using the following command:

go build -tags postgres github.com/urandom/readeef/bin/readeef-user-admin

The second binary is the standalone server. Unless readeef is being added to an existing golang server setup, it should be built as well.

go build -tags postgres github.com/urandom/readeef/bin/readeef-server

Unless you are using SQLite, readeef will need to be configured as well. A minimal configuration file might be something like this:

[db]
    driver = postgres
    connect = host=/var/run/postgresql user=postgresuser dbname=readeefdbname
[timeout]
    connect = 1s
    read-write = 2s
[auth]
    secret = someverylongsecretstring

You are now ready to add the first user to the system. Turn the user into an administrator to be able to add more users via the web interface.

./readeef-user-admin -config $CONFIG_FILE add $USER_LOGIN $USER_PASS

./readeef-user-admin -config $CONFIG_FILE set $USER_LOGIN admin true

The standalone server may take two config files. The first is the readeef configuration file, and the other is the server configuration. The later one is optional. The default server configuration may be seen in the source code of this file: webfw/config.go. The server will need to be started in the same directory that contains the 'static' and 'templates' directories, typically the checkout itself.

./readeef-server -server-config $SERVER_CONFIG_FILE -readeef-config $CONFIG_FILE 2> error.log > access.log

In order for the web interface to actually work, the client-side libraries will need to be fetched. This is best done with bower. Make sure the .bowerrc file, provided with the sources, is in the same directory that contains the 'static' directory. In there, just run the following:

bower update

readeef's People

Contributors

urandom avatar

Watchers

bussiere avatar James Cloos 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.