Unref – A Python dead code finder built on Ruff's parser
I wanted a good Python dead code finder that just works, with minimal config, until Ruff adds support for that (https://github.com/astral-sh/ruff/issues/872).None of the newer alternatives to Vulture worked out of the box on my codebases, so I decided to build one.The first version was in Python, then I switched to Rust for speed and to reuse Ruff's parser. It checks all of CPython in under a second.It found lots of interesting dead code in my team's codebases, and it's the first time in years we've had a Python dead code finder in our CI.Feedback is very welcome, especially dead code it misses.
FL score
out of 100
Verdict
medium confidence
Competition
No competitor data yet
Trend
No signal yet
A fast Rust dead code finder for Python that works with minimal config and reuses Ruff's parser.
The pain
The gap
Build angle
Strengths
- Very fast, scanning all of CPython in under a second
- Minimal config, which is the main complaint about existing tools
- Already used in a real team's CI with real findings
- Reusing Ruff's parser keeps the build small for one person
Risks
- Ruff may add the feature natively and make this redundant
- Python is dynamic, so false positives and missed dead code will limit trust
- Developers rarely pay for linters, so monetization is weak
- Depends on Ruff's parser internals, which can change without notice
Fly Labs Method
Is the pain real, is there a gap, is it the right time, can one person build it.
- Problem clarity
- 70
- Solution gap
- 45
- Willingness to pay
- 25
- Buildability
- 85
Dead code in Python is a real and common pain and one person already built it, but developers expect this kind of tool to be free and Ruff may add it.
Value Equation
Dream outcome and how likely it feels, against the time and effort it costs.
The outcome is clear (less dead code, cleaner CI), but the tool is a free open source utility with no obvious paid offer and a small perceived value gap over Vulture.
One-Person Business
Curiosity pull, identity fit, and a path from free value to paid for a solo creator.
Setup is fast and the speed is a real draw, but there is no revenue model and the audience of Python teams that care about dead code is narrow.
Viral Frameworks
Hook strength, shareability, and how cheaply it can be tested.
One person can build and maintain it by reusing Ruff's parser, and the author already has it working, though long-term upkeep depends on tracking Ruff changes.
Builder Lens
Evidence the problem exists, timing, defensibility, and a model that fits on a napkin.
A good developer tool, but the market is small, willingness to pay is low, and Astral could ship the same feature inside Ruff and remove the need for it.
Five lenses, one composite. How scoring works
The angle
No market research recorded for this idea yet.
Excessive CAPTCHA challenges degrading GitHub login UX for enterprise users
GitHub's anti-bot protection forces users, especially those with organizational emails, to solve 10 blurry puzzles multiple times, creating an extremely painful and frustrating user experience.
Dev
GTA modders tediously manually edit assembly files for modpacks
Creating .oiv modpacks for GTA is tedious and error-prone due to buggy project manager software, forcing manual editing of assembly files.
Dev
BreezePDF – Free, in-browser PDF editor
BreezePDF lets you edit, sign, merge, compress, redact, OCR, fill forms, extract tables, and use 30+ more PDF tools — all in the browser, no sign-up. Files never leave your computer.I built it because when people search Google for common PDF tasks, many of the tools they find upload documents to a server. I wanted an option that keeps files local instead.I posted an earlier version on HN last spring: https://news.ycombinator.com/item?id=43880962At the time it only supported a small set of features. Over the last 10 months I rebuilt large parts of it and expanded it to nearly 40 tools, including several ideas that came from comments in that earlier thread.There is also now a desktop app for macOS, Windows, and Linux, plus a CLI/SDK for developers.
Dev
Questions about this idea?
FlyBot reads the scoring and gives you a second opinion on “Unref – A Python dead code finder built on Ruff's parser”.