Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.88 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.88 KB

Digestw - Twitter's Timeline Digest

A simple web application powerd by golang and mongodb and twitter's API. I am a new golanger and this is my first go project. The main purpose of this project is to understand and exercise and evaluate golang. So there may be irrelevant or not idiomatic codes, However I hope this project helps beginners learn golang and give a chance to have an interest in golang!

Dependencies

Patch

While developing this project, I discovered some bugs of go http package. Since those bugs can cause dead locked my go programs, To keep my programs stable on production env need to apply the following patches.

Dependencies of goinstallable packages

Install

cd batch && make
cd web && make

Run

batch

need to execute at fixed intervals. (ex. 5min by cron)

./digestw_crawler -consumerkey "yourconsumerkey" -consumersecret "yourconsumersecret" >> digestw.log 2>&1

web

run on 8080 port

./digestw_web -consumerkey "yourconsumerkey" -consumersecret "yourconsumersecret" -cookiesecret "yourcookiese" -mongourl "yourhost" &

Site

http://digestw.stoic.co.jp/web

About

digestw was written by Yoshiyuki Kanno