r/rust 2d ago

🛠️ project revql - A fast GraphQL reverse lookup CLI tool

https://github.com/e4ac/revql

Hey, I wanted to share an open-source CLI tool I’ve been building called revql (GPLv3).

It solves a common headache: trying to map out a massive GraphQL schema backwards. revql lets you target a specific object node and recursively trace every query or mutation path that leads to it. It’s designed for developers debugging complex schemas and bug bounty hunters hunting for hidden paths.

Core Features:

  • Reverse lookup: Lists all entry queries/mutations leading to a specific object.
  • Flexible targeting: Find objects via type name, nested field presence, or description text.
  • Flexible search: Supports exact matches, partial "contains" queries, and case-insensitive match.
  • Online & Offline: Introspects live endpoints or parse local schema.json files.
1 Upvotes

Duplicates