Hatebu-bot
Sample hatena-bookmark-bot using Flask and Line bot sdk
Getting started
$ export LINE_CHANNEL_SECRET=YOUR_LINE_CHANNEL_SECRET
$ export LINE_CHANNEL_ACCESS_TOKEN=YOUR_LINE_CHANNEL_ACCESS_TOKEN
$ pip install -r requirements.txt
Usage
All popular entries
To see all category, sent "all"
Category view
To see by category sent text as follows
- social … 世の中
- economics … 政治と経済
- life … 暮らし
- knowledge … 学び
- it … テクノロジー
- fun … おもしろ
- entertainment … エンタメ
- game … アニメとゲーム
Search by keywords
In case you sent the text except for above, you can search hot entries by using that word.