ODocs

Bridging the version gap in AI code generation.

Visit Website
April 4, 2025 Making AI coding assistants generate latest, version specific compatible code

I built ODocs to solve a common frustration with AI coding assistants: they often generate broken code that doesn't work with your current framework versions.

Here's the problem: When you ask an AI assistant for help with React or Next.js, it doesn't know which version you're using. It might suggest code for React 17 when you're using React 18, or recommend outdated Next.js patterns that don't work with your version.

ODocs is an open-source solution that:

  1. Automatically detects which frameworks and versions you have in your project

  2. Gives AI assistants access to the right documentation for those specific versions

  3. Ensures the code they generate actually works with your setup

Our initial prototype is live, currently supporting Hono (a lightweight web framework) as a proof-of-concept. We're planning to expand to React, Next.js, and other popular frameworks soon.

Read the full article at https://odocs.dev/blog/introducing-odocs

Visit https://odocs.dev to learn more.

Which frameworks would you most like to see supported next?

1 Comment

  1. 1

    Do let me know your thoughts and suggestions on this.

About

I built it to solve a frustrating problem I kept encountering with AI coding assistants - they generate outdated or incompatible code because they have no idea about which framework versions your project is using or new