爱意满满的作品展示区。
lznwpu

做了个 macOS 菜单栏小工具,在同时使用多个 Codex 账号或者多个 Team 的场景能够丝滑切换

  •  
  •   lznwpu · Mar 24 · 1016 views
    This topic created in 49 days ago, the information mentioned may be changed or developed.
    最近 Codex 用得有点多,最烦的不是写代码,是看额度和切账号。
    不光是多个账号来回切,同一个账号下面如果挂了多个 Team / workspace ,也得反复进去看现在到底在哪个环境、还剩多少、什么时候重置。

    所以我顺手做了个 Codex Switcher ,一个 macOS 菜单栏小工具,主要就是把这件事弄简单点。 仅 1.5M ,纯原生实现。

    现在它能做的事大概是:

    同时管理多个 Codex 账号
    支持同一个账号下切不同 Team / workspace
    菜单栏直接看 5 小时 / 日 / 周窗口用量
    看当前 workspace 、套餐和下次重置时间
    支持后台自动刷新
    数据都只存在本机
    如果你平时也会在多个账号、多个 Team 之间来回切,这个东西应该能省点事。

    项目开源了,也放了可直接安装的 DMG:

    GitHub: https://github.com/znary/codex-switcher
    Releases: https://github.com/znary/codex-switcher/releases

    欢迎试试。
    hsuvee
        1
    hsuvee  
       Apr 28
    Refresh failed: env: node: No such file or directory

    我要改 codex 里面 node 的地址才能用
    REAL_CODEX=$(python3 -c 'import os; print(os.path.realpath("/usr/local/bin/codex"))')
    sudo sed -i '' '1s|.*|#!/usr/local/bin/node|' "$REAL_CODEX"

    有什么解决办法么
    lznwpu
        2
    lznwpu  
    OP
       5 days ago
    @hsuvee 感谢反馈,我研究一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1250 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 17:26 · PVG 01:26 · LAX 10:26 · JFK 13:26
    ♥ Do have faith in what you're doing.