{"data":{"slug":"fast-editor-lynkr","name":"Lynkr","tagline":"Streamline your workflow with Lynkr, a CLI tool for efficient code interactions using Claude Code CLI.","github_url":"https://github.com/Fast-Editor/Lynkr","owner":"Fast-Editor","repo":"Lynkr","owner_avatar_url":"https://avatars.githubusercontent.com/u/249706325?v=4","primary_language":"JavaScript","stars":542,"forks":59,"topics":["agents","ai","ai-gateway","claude","claudecode","code-assistant","code-generation","cursor","databricks","developer-tools","llamacpp","llm","llm-gateway","llm-proxy","llm-router","llmops","mcp","ollama","prompt-caching","self-hosted"],"archived":false,"github_pushed_at":"2026-08-20T07:15:28+00:00","maintenance_label":"Very active","stars_delta_30d":9,"url":"https://www.graphcanon.com/tools/fast-editor-lynkr","markdown_url":"https://www.graphcanon.com/tools/fast-editor-lynkr.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/fast-editor-lynkr","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=fast-editor-lynkr","description":"Streamline your workflow with Lynkr, a CLI tool that acts as an HTTP proxy for efficient code interactions using Claude Code CLI.","homepage_url":"https://fast-editor.github.io/Lynkr/","license":"Apache-2.0","open_issues":2,"watchers":4,"ai_summary":"Lynkr is a command-line interface (CLI) tool that acts as an HTTP proxy designed to facilitate more efficient interactions between developers and AI-driven coding tools, specifically the Claude Code CLI. It caters to developers looking to integrate AI-driven functionalities into their development workflow in a self-hosted manner.","readme_excerpt":"### 1. Install Lynkr\n\n```bash\nnpm install -g lynkr\n```\n\n---\n\n# Install Ollama first: https://ollama.com\nollama pull qwen2.5-coder:latest\n```\n\n\nThen start Lynkr:\n\n```bash\nlynkr start\n```\n\n---\n\n### Cost tracking & model pricing\nPer-request cost is computed from a model-pricing registry (LiteLLM → models.dev,\ncached 24h) and recorded in telemetry. Models the registry doesn't know record\n`cost_usd=null` (logged once) rather than a fabricated price. Pin prices for\nunknown models:\n```bash\n\n---\n\n# Install Rust if not already installed\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\nsource $HOME/.cargo/env\n\n---\n\n# Build and install graphify\ngit clone https://github.com/safishamsi/graphify\ncd graphify\ncargo build --release\nsudo cp target/release/graphify /usr/local/bin/\n\n---\n\n# Verify installation\ngraphify --version\n```\n\n**Enable in `.env`:**\n```bash\nCODE_GRAPH_ENABLED=true\nCODE_GRAPH_WORKSPACE=/path/to/your/project  # Optional, defaults to cwd\n```\n\n**Features:**\n- AST-based complexity scoring\n- Structural code analysis (19 languages supported)\n- Enhanced routing decisions based on code structure\n\n**Note:** Graphify is completely optional. If not installed, Lynkr falls back to simpler complexity analysis.\n\n---\n\n---\n\n## Installation Methods\n\n**NPM (recommended)**\n```bash\nnpm install -g lynkr\n```\n\n**One-line installer**\n```bash\ncurl -fsSL https://raw.githubusercontent.com/Fast-Editor/Lynkr/main/install.sh | bash\n```\n\n**Homebrew** (macOS / Linux)\n```bash\nbrew tap fast-editor/lynkr\nbrew install lynkr\nlynkr --version\n```\nUpgrade later with `brew update && brew upgrade lynkr`. The formula tracks the latest [`lynkr` npm release](https://www.npmjs.com/package/lynkr) automatically.\n\n**Docker**\n```bash\ngit clone https://github.com/Fast-Editor/Lynkr.git\ncd Lynkr\ndocker-compose up -d\n```\n\n**From source**\n```bash\ngit clone https://github.com/Fast-Editor/Lynkr.git\ncd Lynkr\nnpm install\ncp .env.example .env\nnpm start\n```\n\n---\n\n---\n\n### Cost projection (100,000 requests/month, same backend)\n\n**Direct cost (raw meter):**\n\n| | Monthly cost | vs LiteLLM |\n|---|---|---|\n| LiteLLM (TOON tool-heavy scenario) | ~$818 | baseline |\n| **Lynkr (TOON tool-heavy)** | **~$409** | **~50% cheaper** via token optimization |\n\n**Effective cost per correct-tier answer** (July 19 head-to-head, all 11 routing scenarios):\n\n| | Direct $/mo | Effective $/mo if you re-issue misroutes at correct tier |\n|---|---|---|\n| **Lynkr** | ~$5.50 (spends where it should, doesn't where it shouldn't) | ~$5.50 |\n| LiteLLM v2 heuristic | $0 (under-routes everything to ollama) | ~$89 (7 misroutes need re-issue on Moonshot/COMPLEX) |\n\nThe story isn't \"Lynkr always spends less.\" It's **Lynkr spends where it should and doesn't where it shouldn't**. LiteLLM's zero-dollar cost on complex prompts is bought with wrong-tier answers to hard work — a 7B model answering \"prove this rate limiter is fair under concurrent refill\" is silent quality collapse, not a savings.\n\n→ [Full benchmark report with methodology](BENCHMARK_REPORT.md)\n\n---\n\n---\n\n## Cost Comparison\n\n| Scenario | Direct Anthropic | Lynkr + Ollama | Lynkr + OpenRouter |\n|----------|-----------------|----------------|-------------------|\n| Daily coding (8h) | $10-30/day | **$0 (free)** | $2-8/day |\n| Monthly (heavy use) | $300-900 | **$0** | $60-240 |\n\nWith tier routing + token optimization: **additional 50-87% savings** on cloud providers depending on workload.\n\n---\n\n---\n\n## License\n\nApache 2.0 — See [LICENSE](LICENSE).\n\n---\n\n**Built by [Vishal Veera Reddy](https://github.com/vishalveerareddy123) for developers who want control over their AI tools.**","github_created_at":"2025-12-03T22:50:02+00:00","created_at":"2026-07-07T17:43:28.629573+00:00","updated_at":"2026-08-21T00:01:32.983025+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"agents","name":"agents"},{"slug":"ai-gateway","name":"ai-gateway"},{"slug":"claudecode","name":"claudecode"},{"slug":"code-assistant","name":"code-assistant"},{"slug":"llm-proxy","name":"llm-proxy"},{"slug":"llm-router","name":"llm-router"},{"slug":"self-hosted","name":"self-hosted"}],"trust":{"provenance":{"is_fork":false,"github_id":1109510791,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-21T00:01:31.871Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":1,"days_since_push":0,"last_release_at":"2026-06-23T08:52:38Z","stars_delta_30d":9,"open_issues_delta_30d":0},"security_summary":{"status":"no_manifest","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:23:41.379Z","medium_count":0,"scan_profile":"mcp_manifest","critical_count":0}},"capability_facts":{"mcp":{"source":"repo_scan","observed_at":"2026-08-21T00:01:32.350Z","server_manifest":false},"scan":{"source":"repo_scan","observed_at":"2026-08-21T00:01:32.350Z"},"deploy":{"source":"dockerfile:Dockerfile","self_host":true,"observed_at":"2026-08-21T00:01:32.350Z","managed_saas":false},"has_cli":{"value":true,"source":"package.json:bin|scripts","observed_at":"2026-08-21T00:01:32.350Z"},"languages":{"value":["javascript"],"source":"github.language+package.json","observed_at":"2026-08-21T00:01:32.350Z"},"has_docker":{"value":true,"source":"dockerfile:Dockerfile","observed_at":"2026-08-21T00:01:32.350Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-21T00:01:32.350Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["- Use Lynkr when you need to enhance your interaction efficiency with the Claude Code CLI in a self-hosted environment.","- Opt for Lynkr if integrating AI-driven coding functionalities requires direct, managed connections through an HTTP proxy."],"when_not_to_use":["- Avoid using Lynkr if you are looking for a generalized solution that supports multiple AI coding tools besides Claude Code CLI.","- Do not use Lynkr when your workflow does not require or benefit from having an intermediary HTTP proxy to manage communications."],"source":"enrich:decision_facts","observed_at":"2026-07-12T01:16:20.534Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"Lynkr is a CLI tool that serves as an HTTP proxy to streamline code interactions with Claude Code CLI specifically."}]}}