git diff,
| but humane.
A code-review tool that lives in your editor. مفتوح a PR with lt open, leave a comment with two keystrokes, approve and merge without ever loading github.com. For teams of 2–20 who got tired of the round trip.
private bucket: TokenBucket; constructor(rps: number) { constructor(opts: RLOptions) { this.bucket = new TokenBucket(rps); this.bucket = new TokenBucket(opts.rps, opts.burst ?? opts.rps); this.key = opts.keyFn ?? (req => req.ip); } // returns 429 with a Retry-After header on overflow handle = async (req, res, next) => { const k = this.key(req); if (!this.bucket.take(k)) return res.status(429).set('Retry-After', '1').end(); next(); };}Nice — way cleaner. One thought: should burst default to rps * 2 instead of rps? Otherwise the very first burst on a cold bucket is going to feel rate-limited even for well-behaved clients.
Good call. Pushed 3b9c with opts.burst ?? opts.rps * 2. Will also add a وحدة test for the cold-bucket case.
One screenfor the whole team's review backlog.
Lattice keeps a single queue of every PR, sorted by what's blocking the team. lt q in any terminal مفتوحs it. "Whose turn is it?" is answered by the row, not by Slack.
One seventy-nine.
The whole team.
مستضاف ذاتيًا. Sits next to your git server (Forgejo, Gitea, your own gitolite, doesn't matter — any SSH-reachable repo). No per-ضريبة المقاعد. One license per team. إلى الأبد.
اشترِ Lattice · $179 مرة واحدة ←