{"id":50430483,"url":"https://github.com/officecli/officecli-npm","last_synced_at":"2026-05-31T14:01:20.893Z","repository":{"id":351279358,"uuid":"1210264373","full_name":"officecli/officecli-npm","owner":"officecli","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-23T07:56:48.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T09:28:40.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/officecli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-14T08:38:42.000Z","updated_at":"2026-05-23T07:56:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/officecli/officecli-npm","commit_stats":null,"previous_names":["officecli/officecli-npm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/officecli/officecli-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officecli%2Fofficecli-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officecli%2Fofficecli-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officecli%2Fofficecli-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officecli%2Fofficecli-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/officecli","download_url":"https://codeload.github.com/officecli/officecli-npm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/officecli%2Fofficecli-npm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33733754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-31T14:01:20.141Z","updated_at":"2026-05-31T14:01:20.838Z","avatar_url":"https://github.com/officecli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# officecli\n\n[Website](https://officecli.io/) · [Discord](https://discord.gg/ezAHMkdG) · [X](https://x.com/officecli) · [GitHub](https://github.com/officecli/officecli)\n\n`officecli` is an npm wrapper package for the OfficeCLI binary.\n\nIt does not reimplement the CLI in JavaScript. During `npm install`, it downloads the matching prebuilt binary from `officecli/officecli-dist`, verifies `checksums.txt`, and exposes the `officecli` command on your `PATH`.\n\n## Install\n\nInstall OfficeCLI through one channel only. If you previously installed OfficeCLI with Homebrew, keep using Homebrew and do not install the npm wrapper on top of it. To intentionally switch from Homebrew to npm, uninstall the Homebrew formula first:\n\n```bash\nbrew uninstall officecli/homebrew-officecli/officecli\n# If your Homebrew install uses the short formula name:\nbrew uninstall officecli\n```\n\nThen install through npm:\n\n```bash\nnpm install -g officecli\n```\n\nRun it after install:\n\n```bash\nofficecli --version\nofficecli\nofficecli --no-alt-screen\nofficecli \"Create a Q3 business review deck\"\n```\n\nThe default command opens a persistent Codex-style TUI with the latest conversation and generation progress near the bottom input box. Use `--no-alt-screen` to keep terminal scrollback visible.\n\nFor scripts and automation, use `officecli new ...`.\n\nThe installed binary is usable without a local model endpoint or an API key. By default it uses OfficeCLI hosted anonymous trial access on `https://platform.officecli.io`; the one-time free quota is tied to this machine.\n\nCheck access at any time:\n\n```bash\nofficecli auth status\n```\n\nWhen the free quota is used up, run `officecli login`, then purchase hosted credits from https://officecli.io/pricing. Login prints a browser URL and short code, so it works even when the CLI cannot open a browser automatically. For scripts and CI, use `officecli set-key \u003capi-key\u003e` with an account API key.\n\nTo use your own model endpoint instead, switch to External Mode:\n\n```bash\nofficecli config set-runtime external\nofficecli config set-generation\n```\n\n## Version Mapping\n\n- npm package version `0.2.57` downloads OfficeCLI release `v0.2.57`\n- the wrapper installs only the current stable binary that matches the package version\n\n## Supported Platforms\n\n- macOS `x64`\n- macOS `arm64`\n- Linux `x64`\n- Linux `arm64`\n- Windows `x64`\n- Windows `arm64`\n\n## Environment Overrides\n\n- `OFFICECLI_NPM_DIST_REPO`: override the GitHub release repository, default `officecli/officecli-dist`\n- `OFFICECLI_NPM_SKIP_DOWNLOAD=1`: skip the postinstall download step\n\nLegacy environment variables `OFFICECLI_NPM_VERSION` and `OFFICECLI_NPM_LATEST_TAG` are no longer supported because public distribution now keeps only the current stable release.\n\n## Local Validation\n\nFrom this repository:\n\n```bash\ncd packages/npm/officecli\nnpm pack --dry-run\nnpm install\nnpm run smoke:version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofficecli%2Fofficecli-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofficecli%2Fofficecli-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofficecli%2Fofficecli-npm/lists"}