emurph-code-checker
v1.0.26-12
Published
Smart Code Checker
Downloads
76
Readme
For using with vim
Step 1: Install globally
npm install -g emurph-code-checkerStep 2: Install the whatever555/vim-code-checker plugin
Follow instructions here: https://github.com/whatever555/vim-code-checker
Step 3: Add the following to your project's .env file
" if using open-router
OPEN_ROUTER_API_KEY='YOUR_OPEN_ROUTER_API_KEY'
OPEN_ROUTER_MODEL='YOUR_SELECTED_OPEN_ROUTER_MODEL' "e.g: google/gemini-2.0-flash-001
" if using ollama
OLLAMA_MODEL='YOUR_SELECTED_OLLAMA_MODEL' "e.g: deepseek-coder-v2:16bArgs
| Arg | Values | Description | Required | |-------------|------------------------------------|-----------------------------------------------|----------| | --startLine | int | Used for querying a part of the file | No | | --endLine | int | Used for querying a part of the file | No | | --method | question, explain, check (default) | What kind of query you want to make | No | | --provider | ollama or open-router | If you want to use ollama or open-router | No | | --question | string | The question you want to ask about the code | No | | --file | filename | The file that you are performing the query on | Yes |
Example call:
emurph-code-checker --startLine 3 --endLine 3 --file test.js --method explain