mysketches/llmstxt
0
Documentation Registry Gradio App
This Gradio application provides a simple interface to browse and retrieve documentation entries from a registry defined in a local JSON file (llms.json). The app offers two main features:
- Load Registry: View the entire contents of the documentation registry in a formatted JSON view. This helps users see all available documentation entries, including their IDs, descriptions, and URLs.
- Search Documentation by ID: Enter a specific registry ID to fetch and display the corresponding documentation content. The app retrieves the documentation from the URL associated with the provided ID.
Features
- User-friendly web interface built with Gradio.
- Registry entries are loaded from a local
llms.jsonfile. - Documentation content is fetched live from the URLs specified in the registry.
- Error handling for missing files, invalid JSON, and network issues.
- Custom styling for search results.
How to Use
After the MCP server is loaded inside of your IDE, just ask it for some documentation, using prompts like this one:
I need documentation about Langgraph. In particular, I need to understand how to use cron jobs with the LangGraph PlatformRunning the App
To launch the app, run:
python app.pyThe app will be available on port 7860.
