V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
anthonyeef

[开源]一个可以查看自己的 cursor 用量的库

  •  
  •   anthonyeef ·
    Anthonyeef · 1 月 12 日 · 1534 次点击
    这是一个创建于 99 天前的主题,其中的信息可能已经有所发展或是发生改变。

    地址在: https://github.com/Anthonyeef/cursor-usage

    也是学习的 ccusage ,看了一下好像没有人做 cursor 用量的类似的工具,就自己做了一个

    快速尝试:

    npx cursor-usage@latest daily
    

    需要是 mac 用户,需要是 cursor 用户。原理是 call 了 cursor 自己 usage 页面在用的接口

    也提供了 json 输出的 flag ,方便有需要用这个库做二次开发的人

    1 条回复    2026-01-12 00:14:18 +08:00
    timespy
        1
    timespy  
       1 月 12 日 via iPhone
    cursor 客户端也可以显示用量
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   6154 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 176ms · UTC 02:42 · PVG 10:42 · LAX 19:42 · JFK 22:42
    ♥ Do have faith in what you're doing.