Skip to main content

Agent-native CLI for Jike (即刻) — interact with web.okjike.com from the terminal

Project description

jike

CLI for Jike (即刻) — a Chinese social networking platform.

Installation

pip install -e jike/agent-harness

For browser-based authentication:

pip install -e "jike/agent-harness[auth]"
playwright install chromium

Quick Start

# Authenticate (opens browser for SMS/WeChat login)
jike auth login

# Your following feed
jike feed following

# Create a post
jike posts create "Hello Jike"

# Create a post with an image
jike posts create "Check this out" --image ~/photo.png

# All commands support --json output
jike --json feed following --limit 5

Commands

auth

Command Description
auth login Open browser for SMS/WeChat login
auth status [--json] Check authentication state
auth logout Remove saved credentials

feed

Command Description
feed following [--limit N] [--load-more-key K] Your following feed
feed explore [--limit N] [--load-more-key K] Explore/discover feed

posts

Command Description
posts get <id> Get a post by ID
posts create <content> [--topic-id ID] [--image PATH] Create a post, optionally with an image
posts suggest <draft> Get topic suggestions for a draft

users

Command Description
users profile [username] Get your own or another user's profile
users following <username> [--limit N] List who a user follows
users followers <username> [--limit N] List a user's followers

topics

Command Description
topics get <id> Get topic/圈子 details
topics feed <id> [--limit N] Get posts from a topic

notifications

Command Description
notifications list [--limit N] List notifications
notifications unread Unread notification count

search

Command Description
search suggestions <keyword> [--limit N] Search autocomplete (topics, users, keywords)

comments

Command Description
comments list <post_id> [--limit N] List primary comments on a post

Auth

JWT token stored at ~/.config/jike/auth.json (chmod 600). For CI/CD, set the CLI_WEB_JIKE_AUTH_JSON environment variable with a JSON {"token": "..."} value.

Token expiration: tokens are short-lived. Run auth login to refresh via browser.

REPL Mode

Run jike without arguments to enter interactive REPL mode with:

  • Command history
  • Auto-completion
  • Branded banner
jike
> feed following --limit 3
> users profile
> exit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jike_web_cli-0.1.1.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jike_web_cli-0.1.1-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file jike_web_cli-0.1.1.tar.gz.

File metadata

  • Download URL: jike_web_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for jike_web_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 491cb9518a2ed0bbbab1fee85fdaf36fb114476054b9e5d6f92392352e705d50
MD5 0f33fc538fc66ecf976285b63a24b2f7
BLAKE2b-256 cd0c54b75e85dd47c9cefb2fc09206417133f7cb294eb9ad9393fe136e2dfaa0

See more details on using hashes here.

File details

Details for the file jike_web_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jike_web_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for jike_web_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 589a1d13550f1d38f882be84488b32c187cc510c14b07c06257e38c778dba5d0
MD5 e2bf01a34a8b1505d30435fe3e276231
BLAKE2b-256 2f71b678fbd55a8c63ee12908d25198a78acf1851e7c0d083319e13c2027174d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page