Skip to content

CLI Commands

Authenticate with LinkedIn. Opens a headed Chromium browser.

Terminal window
allman login
allman login --account your-account
allman login --proxy host:port
allman login --proxy host:port:username:password

On success, writes AUTH.json and COOKIES.json to the store.

FlagDescription
--account <slug>Account name to create or re-authenticate
--proxy <host:port[:user:pass]>HTTP proxy for this account

Clear session cookies for an account. Does not delete message history.

Terminal window
allman logout
allman logout --account your-account

Show authentication status for one or all accounts.

Terminal window
allman status
allman status --json

Verify auth (login if needed), sync, then run listen indefinitely. Designed as a single entrypoint.

Terminal window
allman start

Pull conversation history from LinkedIn into the local store.

Terminal window
allman sync # since last sync
allman sync --since 3mo # from 3 months ago
allman sync --since 2025-01-01 # from a specific date
allman sync jamie-rivera # sync one conversation
allman sync --resync # full re-sync (upserts all messages)
FlagDescription
[conversation]Sync a single conversation (slug, profileId, or convId)
--since <duration|date>Duration (1h, 3d, 1w, 3mo, 1y) or ISO date
--resyncFull re-sync: upsert all fetched messages

Stream real-time LinkedIn events to stdout as NDJSON.

Terminal window
allman listen
allman listen | while read -r event; do echo "$event"; done

Event types:

EventDescription
connectedSSE connection established
heartbeatKeep-alive (every 60s)
message.receivedInbound message
message.sentOutbound message echo
typingContact is typing
read_receiptContact read a message
reactionReaction added or removed

List conversations from the local store, sorted by most recent activity. Alias: convs.

Terminal window
allman conversations
allman conversations --limit 20
allman conversations --json
FlagDefaultDescription
-n, --limit <n>50Max conversations

Show messages for a conversation. Auto-syncs if stale. Alias: msgs.

Terminal window
allman messages jamie-rivera
allman messages jamie-rivera --limit 100
allman messages jamie-rivera --since 2025-01-01
allman messages "https://www.linkedin.com/in/jamie-rivera"
allman messages jamie-rivera --no-sync

The <conversation> argument accepts a LinkedIn slug, profile URL, or conversation URN.

FlagDefaultDescription
-n, --limit <n>50Max messages
--since <date>ISO date filter
--no-syncSkip auto-sync

Send a message to a LinkedIn contact.

Terminal window
allman send jamie-rivera "Hey, how are you?"
allman send "https://www.linkedin.com/in/jamie-rivera" "Hello!"

Behavior:

  • Pre-send sync: aborts if new inbound messages arrived since your last reply
  • New conversations: starts a new thread if no existing one is found
  • Rate limiting: minimum 3000ms between sends (configurable)

Search contacts by name, slug, or profile ID. Fuzzy matching with confidence scores.

Terminal window
allman search "jamie"
allman search "jen moo" # matches "Jennifer Moore"
allman search --json "jamie"
ScoreMatch type
100Exact slug or profile ID
95Exact name (case-insensitive)
80Name starts with query
70Word-start match ("jen moo""Jennifer Moore")
60Substring match

Show new messages since the last time inbox was run (watermark-based).

Terminal window
allman inbox
allman inbox --since 1h
allman inbox --no-mark # don't advance the watermark
allman inbox --json
FlagDescription
--since <duration|date>Override watermark
--no-markDon’t advance the watermark
-n, --limit <n>Max conversations

Full-text search across all locally stored message bodies.

Terminal window
allman grep "project proposal"
allman grep "contract" --since 3mo
allman grep "invoice" --json
FlagDefaultDescription
--since <duration|date>Date filter
-n, --limit <n>50Max results

Manage the local file store.

Terminal window
allman store path # print the store path
allman store status # show account and conversation counts
allman store commit "message" # manual git commit

Install Playwright’s Chromium browser (required for allman login).

Terminal window
allman install-browsers