Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Sokrates – open-source code analysis for repos and organizations (sokrates.dev)
4 points by zeljkoobren 7 days ago | hide | past | favorite | 1 comment
 help



Sokrates (MIT-licensed, since 2019) analyzes code and Git history, generating data and static HTML reports on size, duplication, complexity, dependencies, contributors, and hotspots. It supports 40+ languages and runs locally via Docker or a Java JAR—no account or SaaS.

Recent updates add one-command analysis of a folder, Git URL, or entire GitHub/GitLab organization, plus redesigned reports and a “where to look first” hotspot list. Graphviz is no longer required.

Two experimental heuristics score ease of change for humans vs. AI agents and estimate AI token costs from Git history.

AI coding agents (Claude Code, Codex, Gemini CLI) can use Sokrates Skills to guide code-quality work. Install with `installSkills`: https://github.com/zeljkoobrenovic/sokrates-skills

Try it: docker run --rm -v "$(pwd):/code"

Code: https://github.com/zeljkoobrenovic/sokrates

Feedback is welcome.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: