Giter Site home page Giter Site logo

interstellar's Introduction

Interstellar

Small ruby app to get reviews for you Google Play Store-released application to a Slack channel or by email.

slack

Why do we need it

Monitoring Google Play reviews is a must for a responsible Android developer.

Going every morning to the webpage, finding what's the last you've already answered does not sound like a 2015-thing.

Users treat Google Play reviews as a way to seek for support.

Remember, you have only one hit. Only your first reply is being emailed to the user. Consecutive edits of your reply won’t be emailed to the user as the first one.

Replies help a lot in troubleshooting, especially given the range of different devices and OS versions on the market.

Plus, you want a good rating in the Google Play Store, right?

How it works

Google Play exports all your app reviews once a day to the Google Cloud Storage bucket.

Interstellar downloads reviews via google-provided gsutil tool then sends you and emain and/or triggers Slack incoming webhook for all new or updated reviews.

It is intended to be fired once a day via cron.

Configuration

  1. create a file secrets/secrets.yml. There is an example in secrets/secrets.yml.example.

You will need to provide:

  • report bucket id. Found in the Reviews page of Google Play Developer console, e.g. pubsite_prod_rev_01234567890987654321
  • package name, eg com.example.reader, found in the Google Play Developer console
  • slack incoming webhook url, create new one via direct link once you've logged in to the slack
  • SMTP configuration
  • Number of days to gather in the report
  1. configure gsutil. It’s a python app from Google, instructions provided below.

  2. gem install rest-client

Gsutil configuration

  1. Run gsutil/gsutil config and follow the steps.
  2. Once done, there will be a .boto file in your home dir.
  3. Copy this file to the ./secrets folder and you are good to go.

You can always get the latest gsutil(https://cloud.google.com/storage/docs/gsutil_install) and change this line system “BOTO_PATH=./secrets/.boto gsutil/gsutil cp -r gs://#{CONFIG[“app_repo”]}/reviews/#{csv_file_name} .” to point it to whatever place you like. Keep in mind though, that the sender.rb script expects that the csv file is in the same folder.

Usage

Once configured - run ruby sender.rb If you leave slack_url empty in secrets/secrets.yml, Slack won't be used to send the reviews. If you leave smtp_address empty in secrets/secrets.yml, Email won't be used to send the reviews.

License

This piece of software is distributed under 2-clause BSD license.

Well, actually, you code it yourself during the coffee-break.

interstellar's People

Contributors

gsamat avatar jesteracer avatar rboundi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ankurbits87

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.