LeetRefresh is a browser-based terminal-style interface for browsing and practicing LeetCode problems. It allows users to load their LeetCode problem data from the API and interactively fetch problems by type and difficulty, all within a retro CLI aesthetic.
- Terminal-style interface with green-on-black CLI look.
- Upload your LeetCode
problems.jsonto start. - Fetch problems based on:
- Mode:
random(unsolved) orreview(solved) - Difficulty:
easy,medium,hard
- Mode:
- Display clickable problem links directly in the terminal.
- Step-by-step instructions on uploading JSON from LeetCode API.
- Works entirely in the browser; no backend required for basic usage.
- Go to LeetCode Problems API (Make sure you are logged in to leetcode on your browser!).
- Copy all text from the page.
- Paste it into Notepad or other text editor of choice.
- Save as
problems.json.
- Open
https://leetrefresh.onrender.comin your browser. - Click Choose File and select your saved
problems.json. - The CLI will display a welcome message with your username.
- Commands:
random– fetch a new unsolved problemreview– fetch a previously solved problemstatus– see loaded JSON infohelp– view available commands
- After selecting a command, you will be prompted for difficulty (optional).
- Problem title and a clickable link will be displayed in the terminal.
> Welcome, SebaCape
> Type "random" for a new problem or "review" to review a solved problem.
> random
> Choose difficulty (easy/medium/hard) or press Enter to skip:
> easy
> Problem: Two Sum → https://leetcode.com/problems/two-sum/
Usable under MIT License
