lnkgo
v0.1.5
Published
Command-line client for Lnkgo branded tracked links, QR codes, analytics, and custom domains.
Downloads
1,134
Maintainers
Readme
lnkgo
Command-line client for Lnkgo branded tracked links.
npx lnkgo init --email [email protected]
export LNKGO_VERIFICATION_CODE="<email-code>"
export LNKGO_API_KEY="$(
npx lnkgo init --email [email protected] --code "$LNKGO_VERIFICATION_CODE" \
| jq -r '.api_key'
)"
npx lnkgo create --url https://example.com/launch
npx lnkgo create --url https://example.com/launch --expire 12h
npx lnkgo qr <link-id> --output lnkgo-qr.png
npx lnkgo analytics <link-id>
npx lnkgo analytics <link-id> --csvThe default API base is https://api.lnkgo.app; the default short-link domain
is lnkgo.app. Pass --domain links.example.com only after that custom domain
is verified.
--expire <duration> is CLI sugar for the existing API expires_at field.
Supported units are minutes, hours, and days, for example 30m, 12h, or
20d. The CLI converts the duration to an ISO timestamp before creating the
link.
lnkgo analytics --csv formats the current aggregate analytics JSON response as
CSV. It is not a raw click export and does not create a hosted report link.
Agent Skill
Install the public Lnkgo skill from GitHub:
npx --yes skills add citedy/lnkgo --skill lnkgo -a codex -g -y
npx --yes skills add citedy/lnkgo --skill lnkgo -a claude-code -g -y
npx --yes skills add citedy/lnkgo --skill lnkgo -a cursor -g -yFallback bundled with this npm package:
npx --yes lnkgo skill install --target codex
npx --yes lnkgo skill install --target claude
npx --yes lnkgo skill install --target cursor
npx --yes lnkgo skill install --target projectskills add uses the public agent id claude-code; the bundled fallback uses
the local target id claude for the same Claude Code skill destination.
project writes to .codex/skills/lnkgo/SKILL.md in the current working
directory.
Release note: 0.1.1 and 0.1.2 were public-package fixes during launch
verification; 0.1.3 restores the project-scoped skill install target; 0.1.4
adds relative expiration and aggregate CSV analytics formatting; 0.1.5
hardens CSV cells for spreadsheet tools.
Package Build
dist/cli.js is the published npm executable generated from src/cli.ts. Run
npm run build before publishing and keep the package tests green so the repo
wrapper and public package entrypoint stay aligned.
