Live News Board - news, data, info aggregator.
Goal is to create simple server with rest api that collects information from many sources and provides it via it's api. Default as a auto refreshing webpage. Could be used as a info, twitter, currency, changes in infrastructure configuration, releases announcements etc log.
This is a learning project. Don't get too serious ;) Any help and suggestions appreciated.
apt-get install python-pip python-virtualenv git redis-server
mkdir ./lnb && cd lnb
virtualenv virt
source virt/bin/activate
git clone https://github.com/mazek/LiveNewsBoard.git .
cd LiveNewsBoard
make install
Create example data with lwb --generate-fixtures
.
By default, lwb uses redis server as a backend.
To start redis, just type redis-server
on the second terminal.
Now you can just type lwb
to run app server on port 5000.
Point your browser to: http://localhost:5000/www/index.html
curl -i http://localhost:5000/api/v1.0/posts
curl -u username:pass -i http://localhost:5000/api/v1.0/tasks
curl -i -H "Content-Type: application/json" -X POST -d '{"author": "jan dlugosz", "sec_level": 0, "priority": 0, "source": "twitter", "message": "Przykladowy post mowiacy o niczym"}' http://localhost:5000/api/v1.0/posts
curl -i -H "Content-Type: application/json" -X DELETE http://localhost:5000/lwb/api/v1.0/posts/8
curl -i -H "Content-Type: application/json" -X PUT -d '{"done":true}' http://localhost:5000/lwb/api/v1.0/posts/2
curl -u username:pass -i http://localhost:5000/api/v1.0/tasks
-
Many sources of information
-
Different priorities - with influence on formating and time of exopsure on the list.
-
Different classes of security with regard to data protection (eg. no limit, internal information).
-
Aggregator gathering data into queue.
-
Data timeout from the queue, maybe archived somehow?
-
Data with high priority on top of the queue?
-
Information about releases?
-
Jira
-
Planned changes from ChM
-
Planned technical breaks.
-
News athered from people (maybe as a pull requests introduced into the queue)
-
Twitter and observed accounts.
-
RSS feeds.
-
Exchange rates?
-
Stock exchange
-
Jabber channels.
-
Hipchat rooms.