{"_id":"@10xdevs/usage","name":"@10xdevs/usage","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@10xdevs/usage","version":"1.0.0","description":"A local dashboard for monitoring multiple Codex accounts","bin":{"usage":"server.js"},"scripts":{"start":"node server.js"},"engines":{"node":">=18"},"_id":"@10xdevs/usage@1.0.0","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-VLzo1T5icxYVyTrLs3akvCFQztsLwcaJXeRqN9fhafGYr40/3J6cA0hwNQUDUFPHvWjeLeRPK+sUn/0ovr1lzA==","shasum":"7c24b996320866d4812b90c390934a5a4c276ef7","tarball":"https://registry.npmjs.org/@10xdevs/usage/-/usage-1.0.0.tgz","fileCount":6,"unpackedSize":20713,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDQzKu+Z6Qh+/b5YB9olQVbU2cwcN1LQYxJcIbGeARtxwIhAPguHsXd3M0d8yh1pjxHMCEKjPFZrtIv7+pqBAkvNFXt"}]},"_npmUser":{"name":"10xdevs","email":"tanavposwal939@gmail.com"},"directories":{},"maintainers":[{"name":"10xdevs","email":"tanavposwal939@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/usage_1.0.0_1785421368480_0.8317036399961757"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-30T14:22:46.512Z","1.0.0":"2026-07-30T14:22:48.637Z","modified":"2026-07-30T14:22:55.434Z"},"maintainers":[{"name":"10xdevs","email":"tanavposwal939@gmail.com"}],"description":"A local dashboard for monitoring multiple Codex accounts","readme":"# Codex Usage\n\nA local dashboard for monitoring usage across multiple Codex accounts.\n\n## Run with Bun\n\nNo install is required:\n\n```sh\nbunx @10xdevs/usage\n```\n\nThe dashboard opens at http://localhost:4173. To use a different port:\n\n```sh\nPORT=5000 bunx @10xdevs/usage\n```\n\nOn Windows, use `set PORT=5000 && bunx @10xdevs/usage`.\n\n## Run from a checkout\n\nRequires Node.js 18+ or Bun:\n\n```sh\nnpm start\n```\n\nAdd each Codex home directory (normally `~/.codex`, or a custom `CODEX_HOME`). The app stores account labels and paths in your user data directory and reads `auth.json` locally. Credentials are never uploaded; only the usage request is made from the local server.\n\nUsage responses are cached for five minutes. **Reset limits** clears the local snapshot and fetches the latest values; it cannot manually reset limits on the Codex service. **Refresh** and **Refresh all** force a new request.\n\nSet `USAGE_DATA_DIR` to choose a different location for saved sessions and cache. Set `USAGE_NO_OPEN=1` to prevent opening a browser automatically.\n","readmeFilename":"README.md","_rev":"1-983a27a310279deef129180a127320d6"}