npm.io
1.0.0-beta.2 • Published 2 years agoCLI

ypb

Licence
MIT
Version
1.0.0-beta.2
Deps
6
Size
14 kB
Vulns
0
Weekly
0
Stars
4

YearProgressBar

npm version install size license style: ts-standard

Meta's Threads bot that posts current year progress bar updates.

See it in action on @yearprogbar

Highlights

Install

npm install -g ypb

Usage

ypb [options]
Options
  • -u, --username <username>: threads username.
  • -p, --password <password>: threads password.
  • -f, --force: (optional) force post the current progress (default: false)
  • -d, --debug: (optional) run in local, console.log only mode (default: false)
  • -V, --version: output the version number
  • -h, --help: display help for command

Examples

  1. Run the program:

    ypb -u <username> -p <password>
  2. Post the current year progress when starting the program:

    ypb -u <username> -p <password> -f
  3. Post the current year progress on start while running in debug mode:

    $ ypb -u <username> -p <password> -f -d
    
    ╭────── 25.01.2024 19:01 ──────╮
    │                              │
    │   ⌚ 2024 is 6% complete    │
    │   ā–“ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ā–‘   │
    │                              │
    ╰──────────────────────────────╯
Toolchain

Others

Keywords