
 |
OctAPI – API Route Explorer for VS Code |
Effortlessly visualize and navigate your API routes – directly in VS Code.
Demo

Features
OctAPI provides a seamless way to explore and manage your API routes within Visual Studio Code. Here are its key features:
- Smart Route Detection – Scans all files within a user-defined directory to identify API routes.
- Framework Support – Works with Express, NestJS, Koa, and Flask.
- Jump to Code – Clicking a route takes you directly to the exact line where it's defined.
- Quick Copy – Hover over a route to reveal a copy button for quick copying.
- Flexible Organization – Toggle between grouping by basepath or HTTP method.
- Native Sidebar Integration – View all detected routes directly in VS Code’s sidebar.
🛠 Report Issues & Give Feedback
Have a suggestion or found a bug? Let us know!
👉 Submit feedback here
Requirements
- Visual Studio Code: Ensure you have VS Code installed.
- Supported Frameworks: Currently supports Express.js, NestJS, Koa, and Flask.
Extension Settings
This extension contributes the following settings:
octapi.path : Define custom search paths for route detection.
octapi.framework : Set the framework for route detection.
Installation
You can install OctAPI from the following sources:
Microsoft Marketplace
- Visit the OctAPI extension page on the Microsoft Marketplace.
- Click the Install button.
- Follow the prompts to install the extension in VS Code.
Open VSX
- Visit the OctAPI extension page on Open VSX.
- Click the Install button.
- Follow the prompts to install the extension.
Manual Installation
- Download the latest
.vsix package from the Releases page.
- Open VS Code and navigate to Extensions (
Ctrl+Shift+X ).
- Click the
... menu and select Install from VSIX....
- Select the downloaded file and install it.
- Reload VS Code if needed.
Known Issues
- More Python framework support is still in progress.
- Large codebases may experience slower scanning times.
Release Notes
v0.1.0
- Added Flask support for automatic route detection, including both decorator-based and class-based routes.
- The Group by Basepath button now only appears when multiple basepaths exist.
v0.0.3
- Added a copy button on hover for quick route copying.
- Added a feedback link for reporting bugs and suggestions.
- Fixed a file watching bug where route updates were triggered incorrectly outside the specified paths.
- Removed unnecessary console logs.
v0.0.2
- Removed extra files to streamline the project.
- Cleaned up heavy, unused dependencies for a lighter extension.
v0.0.1
- Initial release of OctAPI.
- Supports Express.js, NestJS, and Koa frameworks.
- Automatic route detection and clickable routes.
Contributing
Contributions are welcome! Here's how you can help:
- Fork the repo.
- Create a feature branch (
git checkout -b feature-name ).
- Commit changes (
git commit -m "Describe feature" ).
- Push to your branch (
git push origin feature-name ).
- Open a Pull Request.
License
Licensed under the Apache 2.0 License. See LICENSE for details.
- Author: Hasbi Sabah
- Email: sabahhasbi00@gmail.com
- GitHub: Hasbi-sabah
🚀 OctAPI – Stop searching, start coding.
| |