npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

playstore-review-responder

v0.1.0

Published

Open-source Google Play review responder with OpenAI-compatible AI endpoints

Readme

playstore-review-responder

Open-source CLI to auto-reply to Google Play reviews using any OpenAI-compatible AI endpoint.

What it does

  • Fetches unreplied Google Play reviews
  • Generates concise replies with your AI endpoint
  • Uses the review text language directly (no metadata-based language guessing)
  • Optionally posts replies to Google Play (DRY_RUN=false)
  • Stores state and run reports in data/

Quick start (automatic setup)

npx playstore-review-responder setup

Interactive setup asks for:

  • AI provider (OpenAI / OpenRouter / Custom)
  • OpenAI-compatible base_url, api_key, model
  • Google Play service account JSON path
  • Support email
  • Daily run hours + timezone
  • Auto-fetch accessible apps from your Play account

Then it creates:

  • .env (fully populated)
  • config/apps.json (auto-fetched apps or manual package)
  • data/
  • .install-cron.sh (optional cron installer)

Validate integration:

npx playstore-review-responder validate

Preview unreplied reviews:

npx playstore-review-responder preview

Run once:

npx playstore-review-responder run

Run as daemon (startup + CRON_SCHEDULES):

npx playstore-review-responder daemon

Install system cron from generated script (optional):

bash ./.install-cron.sh

Manual env example

If you prefer editing manually:

GOOGLE_PLAY_SERVICE_ACCOUNT_JSON=/absolute/path/to/google-play-service-account.json
OPENAI_API_KEY=your-key
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-4o-mini
AI_PROVIDER=openai
DRY_RUN=true
CRON_SCHEDULES=0 09 * * *|0 21 * * *
TIMEZONE=Europe/Istanbul
RUN_ON_START=true

When you are ready for live replies, set DRY_RUN=false.

Local development

npm install
npm run setup
npm run validate
npm run run:once

Commands

  • setup: interactive auto setup
  • init: create starter files only
  • validate: check AI endpoint and Google Play API access
  • preview: fetch unreplied reviews only
  • run: generate and send replies (or dry-run)
  • daemon: run continuously with schedule

Google Play API setup

  1. In Google Cloud Console, enable Google Play Android Developer API.
  2. Create a service account and download JSON key.
  3. In Play Console:
    • Go to Users and permissions
    • Invite the service account email
    • Grant permissions for reviews/replies for target apps
  4. Put JSON path into .env as GOOGLE_PLAY_SERVICE_ACCOUNT_JSON.

AI endpoint compatibility

Any endpoint that supports these OpenAI routes should work:

  • GET /models (validation)
  • POST /chat/completions (reply generation)

Data files

  • data/reply-state.json: tracks replied review IDs
  • data/reports/YYYY-MM-DD.jsonl: per-run report records

License

MIT