Rust script that keeps a Grindr account always "online"
  • Rust 67.6%
  • Shell 32.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-15 18:32:03 +01:00
src Upgrade grindr to 0.32.1 and sign in with an auth token for every account type 2026-10-28 19:36:28 +01:00
stubs/macos Build reproducible release binaries for 10 platforms 2026-11-15 18:32:03 +01:00
.env.example Upgrade grindr to 0.32.1 and sign in with an auth token for every account type 2026-10-28 19:36:28 +01:00
.gitignore Update README and .gitignore 2026-06-12 20:36:20 +02:00
build.sh Build reproducible release binaries for 10 platforms 2026-11-15 18:32:03 +01:00
Cargo.lock Bump version to 1.2.0 2026-11-15 18:32:03 +01:00
Cargo.toml Bump version to 1.2.0 2026-11-15 18:32:03 +01:00
LICENSE Initial commit 2026-06-12 14:03:37 +02:00
README.md Build reproducible release binaries for 10 platforms 2026-11-15 18:32:03 +01:00

grindr-always-online

Rust script that keeps a Grindr account always "online" by sending a GET /v4/cascade request at random intervals (2–10 min apart). Automatically changes location by ~5m each request to improve grid rankings. Powered by grindr.rs.

Download

A single reproducible binary with no dependencies. Save it as grindr-always-online (.exe on Windows) and chmod +x it:

Configure

  1. Download or build the binary.
  2. Set your credentials. Every account type signs in with its Grindr authToken (the long-lived token Grindr returns at sign-in), plus the id the token belongs to:
export GRINDR_AUTH_TOKEN="0123456789abcdef…"

# Email account
export GRINDR_EMAIL="m@example.com"

# Google or Facebook account: the thirdPartyUserId Grindr returned with the token
export GRINDR_THIRD_PARTY_USER_ID=""

# https://geohash.softeng.co/, must be 12 characters
export GRINDR_GEOHASH=""

export GRINDR_DATA_DIR="/var/lib/grindr-always-online"

Email accounts can sign in with GRINDR_EMAIL and GRINDR_PASSWORD instead of GRINDR_AUTH_TOKEN, unless Grindr asks that account for a captcha. Phone number accounts are not supported.

Or put them into .env and load:

set -a; source .env; set +a

Or use systemd's EnvironmentFile=:

[Unit]
Description=Grindr Always Online
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
DynamicUser=yes
StateDirectory=grindr-always-online
WorkingDirectory=/var/lib/grindr-always-online
EnvironmentFile=/etc/grindr-always-online/.env
Environment="GRINDR_DATA_DIR=/var/lib/grindr-always-online"
ExecStart=/opt/grindr-always-online/target/release/grindr-always-online

Restart=always
RestartSec=30

NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/var/lib/grindr-always-online
ReadWritePaths=/etc/grindr-always-online
ReadWritePaths=/opt/grindr-always-online
ReadOnlyPaths=/boot
ReadOnlyPaths=/srv
ReadOnlyPaths=/usr

[Install]
WantedBy=multi-user.target

Run

./grindr-always-online       # loop forever at random intervals
./grindr-always-online once  # fire a single request and exit

From source: cargo run --release or cargo run --release -- once.

The login session and device identity are cached in session.json and device.json in the data directory, so it only needs the credentials on the first run. A refresh can return a new auth token, and session.json always holds the latest one. Delete session.json to switch accounts or when Grindr ends the session.

Building

Needs Rust 1.88+, CMake, Git, libclang and a C compiler:

git clone https://git.hloth.dev/hloth/grindr-always-online.git
cd grindr-always-online
cargo build --release

Reproducible builds

./build.sh rebuilds the release files byte for byte on macOS or Linux. It needs curl, Git, make, tar, rustup, libclang and a C compiler (Xcode Command Line Tools, or build-essential libclang-dev on Debian), and downloads the pinned rest to ~/.cache/grindr-always-online: Rust 1.99.1, zig 0.17.0, cargo-zigbuild 0.24.0, CMake 4.4.4 and NASM 3.02.

git checkout v1.2.0
./build.sh                           # every platform
./build.sh linux-x86_64 macos-arm64  # only these

Compare the printed SHA-256s with the release's SHA256SUMS. The macOS files are signed and notarized, so put the release file in downloaded/ and re-sign both with rcodesign 0.29.0 first:

rcodesign sign --code-signature-flags runtime --binary-identifier dev.hloth.grindr-always-online dist/grindr-always-online-v1.2.0-macos-arm64
rcodesign sign --code-signature-flags runtime --binary-identifier dev.hloth.grindr-always-online downloaded/grindr-always-online-v1.2.0-macos-arm64
cmp dist/grindr-always-online-v1.2.0-macos-arm64 downloaded/grindr-always-online-v1.2.0-macos-arm64

License

MIT

Donate

hloth.dev/donate