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

@toandev95/gflow

v0.1.2

Published

Unofficial Google Flow CLI rebuilt in Node.js and TypeScript.

Readme

gflow

Unofficial command-line tool for Google Flow image workflows.

gflow opens your installed Google Chrome with a persistent local profile, uses your Google Flow session, and saves generated images to disk.

Install

npm install -g @toandev95/gflow

Requirements:

  • Node.js 22 or newer
  • Google Chrome installed
  • A Google account with access to Google Flow

Authenticate

Import cookies exported from a Chrome session:

gflow auth import-cookies ./labs.google.json

Verify the saved profile:

gflow auth verify

Generate Images

Text to image:

gflow image t2i "a cinematic product photo of a chrome robot"

Image to image:

gflow image i2i "turn this into a clean studio product render" --ref ./image.png

Useful options:

gflow image t2i "prompt" --model nano2 --aspect 1:1 -n 1 --out ./images

Supported model aliases:

  • nano2
  • nano-pro
  • imagen4

Supported aspect ratios:

  • 9:16
  • 16:9
  • 1:1
  • 4:3
  • 3:4

Output

By default, generated images are written to ./gflow-output in the directory where you run the command.

You can override the output directory with:

gflow image t2i "prompt" --out ./my-images

or:

GFLOW_OUTPUT_DIR=./my-images gflow image t2i "prompt"

Runtime Data

Browser profile data is stored in the current user's app data directory:

  • Windows: %LOCALAPPDATA%/gflow
  • macOS: ~/Library/Application Support/gflow
  • Linux: $XDG_DATA_HOME/gflow or ~/.local/share/gflow

Set GFLOW_HOME to use a different profile/config location.

Commands

gflow auth import-cookies <cookie-json>
gflow auth verify
gflow image t2i <prompt>
gflow image i2i <prompt> --ref <path...>

Notes

This is an unofficial tool and depends on the Google Flow web experience being available to your account. If Google Flow changes its UI or access rules, generation may require an update.