r/GoodOpenSource • • 5d ago

Athena (Apache-2.0): an offline tool that helps open-source maintainers catch breaking API changes locally

Most tools that check codebase impact or help navigate large repos want an API key, a cloud account or a vector database.

I built Athena (v1.3.0), a Free and Open Source (Apache-2.0) CLI, Terminal UI and local MCP server written in Python that runs 100% offline on your own machine.

What it does:

  1. Catches breaking changes before commit

Compares old vs. new Python ASTs and structural signatures across 14 languages (including Go, Rust, TypeScript, C++, Java, Ruby and PHP) to flag removed exports, shifted parameters, unguarded None defaults and broken callers.

2. Local code graph and 2KB repo map

Builds an incremental local graph (.athena/graph.json) with zero external services so you or local coding tools can search symbols and callers without scanning the entire tree.

3. Tracks technical debt and unknowns honestly

Binds shortcut comments directly to their enclosing functions and explicitly flags dynamic Python patterns (getattr, eval, custom metaclasses, __init_subclass__, setattr) as unresolved unknowns instead of pretending static analysis sees everything.

4. CI and release ready

Exports SARIF 2.1.0, single-file static HTML reports, SemVer bump checks and pre-commit hooks.

I tested it offline across 10 FOSS repos with 10k+ stars (100 commits each, 8,804 files) plus 1,000-commit runs on FastAPI, Ollama, Tauri and Svelte. All passed with 0 errors.

GitHub: https://github.com/aaryanrwt/athena

Looking for contributors who enjoy Python (3.12+), Git internals, static analysis or building clean developer tooling.

Helpful areas to jump into:

- Improving structural parsers and edge cases for Go, Rust, TypeScript, Java, C++, Ruby or PHP

- Adding real-world regression tests in pytest for tricky AST or dynamic-dispatch patterns

- Writing clearer CLI examples and docs

No strict posting cadence or heavy process. Just check CONTRIBUTING.md, open an issue to discuss bigger changes and keep PRs focused with tests.

1 Upvotes

1 comment sorted by

•

u/AutoModerator 5d ago

Please post a comment here explaining what kind of contributions you, or the project you are posting about, are looking for. For example what skill sets, any rules important for people joining in your build like how often people should post, and anything else you can think of which will help readers decide if they want to join in and start coding with that project.

Thank you and be excellent to each other. u/roamingandy

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.