GithubHelp home page GithubHelp logo

seriwb / reviewet Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 3.0 1.72 MB

Getting App Store and Google Play's review and notify to either slack or email.

Home Page: https://hub.docker.com/r/seriwb/reviewet/

License: MIT License

JavaScript 4.41% HTML 2.59% Dockerfile 0.64% Shell 0.68% TypeScript 91.68%
nodejs slack ios-android smtp puppeteer cheerio typescript

reviewet's Introduction

Hiya Georgie! 🤡

Anurag's github stats Top Langs

reviewet's People

Contributors

dependabot[bot] avatar ottijp avatar seriwb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

reviewet's Issues

firstTimeIgnoreのデフォルトをtrueにする

レビュー通知機能としては起動後から受信するアプリレビューが通知されるのが期待通りであるはずなので、firstTimeIgnoreのデフォルト値を現在のfalseからtrueに変更する。
(falseは動作テストで利用する意味合いが強い)

Reviewet version 2対応

対応内容

以下のような課題があったので、できるだけ対応してv2にしたい!というIssue

  • DBがSQLiteだとデータを活用し辛い(MySQLにしたい
  • Dockernize対応が中途半端だったため使い辛い
  • ビルドが本番・開発で分けられていない
  • エラー原因(ログ)がよくわからない
  • configファイルの使い方がコンテナに適していない
  • 色々最新化できていない

TODO

  • 設定ファイルの環境変数化
  • DBをMySQLに変更
  • Webpackの設定を入れる
  • foreverをやめる
  • ロガーを導入する

Play Store のレビューを取得できない

いつのころからか、 play store の HTML に人間が読むことのできるクラス名やID名が入らなくなったようです。
結果、レビューを取得できなくなりました。

Androidの新規レビュー取得が動作しない

Androidのレビューデータはスクレイピングなので、日付情報までしか取れない。
そのため、現在の仕組みでは起動後に投稿されたデータを新規投稿として扱えない。

対応として、Androidのアプリレビュー結果をDBに保管する。

  • 起動時にSQLiteのDBを作成する
  • AndroidのデータをDBに保存
  • 再起動した際に、checkDateとそれ以降の日のデータはDBから削除する
  • 起動時の日付情報でDBの検索範囲を絞り込み、該当するIDのレビューがなければ通知+DB保存、あればスキップ

アプリのプロセスが落ちてしまう

起動後にpsコマンドでプロセスを確認すると、落ちてしまっているときがあるので、foreverモジュールを導入してデーモン化したい。

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.