Skip to content

Releases: daviddanielng/xcount

v0.3.0 — New Release

Choose a tag to compare

@daviddanielng daviddanielng released this 18 Jun 16:27

This add estimated time to complete requests.

Changed

  • Error are not skipped, there is a new value bool which is either true or false
  • Bumped up to 0.3.0

Fixed

  • removed unused files
  • add tweet count to excel export
  • remove unused crates
  • Fixed excel export

Breaking changes

None

Installation

Download the binary below (Linux x64). See the README for build
instructions on other platforms.

v0.2.0 — Browser-Free Scraping

Choose a tag to compare

@daviddanielng daviddanielng released this 18 Jun 08:53

This release removes the Chromium browser dependency entirely. XCount now
fetches profile data directly via HTTP requests using reqwest, parsing the
JSON-LD embedded in the page's <script type="application/ld+json"> tag.

Changed

  • Replaced chromiumoxide-based browser automation with reqwest for HTTP
    fetching — no browser installation or setup required
  • Removed -e / --set-exe-path flag, since there is no browser executable
    to register
  • Removed the one-time setup step — XCount now works immediately after
    install with no configuration
  • Output schema updated: fields are now lowercase (username, followers,
    following), values are numbers instead of strings, and a new tweets
    field is included

Fixed

  • Follower/following counts are now exact. Previously, large counts were
    parsed from X's shortened display text (e.g. 1.2M, 418K) and only
    approximated. Counts are now read directly from the page's JSON-LD
    structured data, which stores exact integers.

Why

Running a full Chromium instance for every fetch was heavy and slow. Since
X (Twitter) embeds the same data in a JSON-LD block on the rendered page, a
plain HTTP request is enough — faster startup, no external browser
dependency, and a much smaller binary.

Breaking changes

  • xcount -e <path> no longer exists — drop it from any existing scripts
  • Output field names and types changed (see "Changed" above) — update any
    downstream parsing expecting the old Username/Follower/Following string
    fields

Installation

Download the binary below (Linux x64). See the README for build
instructions on other platforms.

v0.1.0 — Initial Release

Choose a tag to compare

@daviddanielng daviddanielng released this 14 Jun 19:23

First public beta release of XCount.

What it does

Scrapes follower and following counts for one or more X (Twitter) accounts
using a Chromium-based browser and exports the results to a file.

Features

  • Bulk input via -u (comma-separated usernames) or -i (newline-separated file)
  • Export to JSON, CSV, or Excel — output is saved as output-{timestamp}.{ext}
  • Configurable output directory with -o
  • Configurable delay between requests with -d to avoid rate limiting
  • Verbose mode with -v for progress logging
  • One-time Chromium executable registration with -e
  • Usernames that cannot be fetched are skipped silently

Known limitation

X (Twitter) displays shortened counts for large numbers (e.g. 1.2M, 418K).
XCount expands these to whole numbers, but the result is an approximation
and will not be accurate for large counts.

Installation

Download the binary below (Linux x64). See the README for build instructions
on other platforms.