GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sferik/x-cli: A command-line power tool for Twitter.

BranchesTags
Open more actions menu

Latest commit

 

History

1,168 Commits
1,168 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo
.cargo
 
 
.github
.github
 
 
etc
etc
 
 
legacy
legacy
 
 
man
man
 
 
src
src
 
 
tests
tests
 
 
tmp
tmp
 
 
x-api
x-api
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

x

A command-line interface for the X API.

Features

  • Full command tree with aliases and options
  • X API client library (x-api) for HTTP, auth, and retry primitives
  • OAuth 1.0a and OAuth 2.0 authentication
  • Automatic retry with backoff for transient API errors
  • V1.1 and V2 API support with automatic fallback
  • Streaming support for filtered and sampled streams
  • Column-aligned output formatting
  • YAML configuration file support
  • Bash completion support

Status

  • Command families: cli, delete, list, search, set, stream
  • Local account/profile commands: accounts, set active, delete account, version, ruler
  • Stream commands use persistent HTTP streaming:
    • stream all and stream matrix use OAuth2 sample stream
    • stream search, stream users, stream list, and stream timeline use v2 filtered stream rules + stream
  • X_STREAM_MAX_EVENTS can be set to limit emitted events (useful for tests/automation)
  • Default profile config is ~/.xrc. If ~/.xrc is missing, ~/.trc is used as a read fallback and migrated on write.

Development

cargo test
cargo run -- version
cargo run -- accounts --profile /path/to/.xrc

Releasing

Tagging a new v* release triggers GitHub Actions to build and publish binaries for:

  • Linux (x86_64-unknown-linux-gnu)
  • Linux ARM64 (aarch64-unknown-linux-gnu)
  • macOS Intel (x86_64-apple-darwin)
  • macOS Apple Silicon (aarch64-apple-darwin)
  • Windows (x86_64-pc-windows-msvc)
  • Windows ARM64 (aarch64-pc-windows-msvc)

Install cargo-release:

cargo install cargo-release --locked

Then tag and push the current Cargo.toml version:

cargo release-tag

Tag messages come from Cargo.toml release metadata (tag-message).

About

A command-line power tool for Twitter.

sferik.github.io/t

Resources

Readme
MIT license
Activity

Stars

5.6k stars

Watchers

106 watching

Forks

399 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.