-
Notifications
You must be signed in to change notification settings - Fork 1
Home
KateSawada edited this page Oct 30, 2021
·
7 revisions
Welcome to the D_2105 wiki!
〜オンリーワンな Happy Birthday to You をお届けします〜
"HAppy BIrthday For Your ..." 略してHABIFY. "..."には, アナタが誕生日を祝いたい相手を当てはめてみてください.
- コロナ禍で弱まってしまった友人や家族とのつながりを再び深めたい
- 年に一度の誕生日に新しい祝い方を提案したい
- 日本全国誰に対しても同じバースデーソングはつまらない! このような思いのもと, 誕生日を祝いたい相手に合わせたオンリーワンな "Happy Birthday to You" を作成します. 入力されたTwitterアカウントの投稿を元に, 独自のアルゴリズムにより趣味趣向や性格などに合った編曲を行います.
注意: 贈る相手のTwitterアカウントが鍵垢でない(「ツイートを非公開にする」設定をしていない)必要があります.
- http://habify.herokuapp.com にアクセスする
- 自分のメールアドレスと相手のTwitterのIDを入力して「作る」ボタンを押す
- 完成すると届くメールのURLを開く
- 再生・ダウンロード・Twitterでのシェアなどお好みで相手にお祝いを伝える
必要なもの
- Docker
- MongoDB Cloud API
- IBM Watson API
- gooラボ API
- Twitter API
- googleアカウント
手元で試したい場合は, 下のテンプレートにしたがって各種APIキーなどを記載した.envファイルを作って/docker/に配置してください.
WL_key= IBM Watson Language Translator API key
WL_url= IBM Watson Language Translator url
WN_key= IBM Watson Natural Language Understanding API key
WN_url= IBM Watson Natural Language Understanding url
G_id= gooラボ id
T_key= Twitter API consumer key
T_keys= Twitter API consumer secret
T_token= Twitter API access token
T_tokens= Twitter API access token secret
APP_SECRET_KEY= Flask app secret key
DB_user= MongoDB Cloud username
DB_pass= MongoDB Cloud password
DB_name= MongoDB Cloud database name
from_address= gmail(完成時メール送信用)
password= gmail password
email_server= mail server address
email_port= mail server port