___ ___ _ ___ ___ ___
/ _ \ | _ \ | | |_ _| | _ \ | __|
| (_) | | _/ | |__ | | | / | _|
\___/ _|_|_ |____| |___| |_|_\ |___|
_|"""""|_| """ |_|"""""|_|"""""|_|"""""|_|"""""|
"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'
OpenCode Limit Reset Tool
by Berke Oruc
oplire resets your OpenCode session rate limit by managing Cloudflare WARP tunnel connections.
OpenCode tracks users by their IP address. When you hit the rate limit, the tool:
- Stops the current WARP tunnel
- Clears the cached session data
- Creates a new tunnel registration (new IP)
- Restarts WARP with a fresh IP address
This gives you a new IP address, resetting your rate limit instantly.
OpenCode (opencode.com) is an AI coding assistant with generous limits. However, sometimes users hit the rate limit due to:
- Long conversations
- Multiple files edits
- Complex prompts
oplire solves this by rotating your IP via Cloudflare WARP - no waiting required!
yay -S oplirewinget install BerkeOruc.oplirebrew install berkeoruc/oplire/opliregit clone https://github.com/BerkeOruc/oplire.git
cd oplire
cargo build --release
sudo cp target/release/oplire /usr/bin/oplireoplire resetoplire stopoplire statusoplire aboutoplire install--verbose- Detailed output--dry-run- Preview changes without executing--json- JSON output (status command)
Version: 1.0.5
Language: Rust
Purpose: OpenCode rate limit reset
Infrastructure: Cloudflare WARP
Author: Berke Oruc
GitHub: https://github.com/BerkeOruc/oplire
MIT License. See LICENSE for details.
Made by Berke Oruc