lynkr 8.0.0 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/.lynkr/telemetry.db +0 -0
  2. package/.lynkr/telemetry.db-shm +0 -0
  3. package/.lynkr/telemetry.db-wal +0 -0
  4. package/README.md +196 -322
  5. package/lynkr-skill.tar.gz +0 -0
  6. package/package.json +4 -3
  7. package/src/api/openai-router.js +64 -13
  8. package/src/api/providers-handler.js +171 -3
  9. package/src/api/router.js +9 -2
  10. package/src/clients/circuit-breaker.js +10 -247
  11. package/src/clients/codex-process.js +342 -0
  12. package/src/clients/codex-utils.js +143 -0
  13. package/src/clients/databricks.js +210 -63
  14. package/src/clients/resilience.js +540 -0
  15. package/src/clients/retry.js +22 -167
  16. package/src/clients/standard-tools.js +23 -0
  17. package/src/config/index.js +77 -0
  18. package/src/context/compression.js +42 -9
  19. package/src/context/distill.js +492 -0
  20. package/src/orchestrator/index.js +48 -8
  21. package/src/routing/complexity-analyzer.js +258 -5
  22. package/src/routing/index.js +12 -2
  23. package/src/routing/latency-tracker.js +148 -0
  24. package/src/routing/model-tiers.js +2 -0
  25. package/src/routing/quality-scorer.js +113 -0
  26. package/src/routing/telemetry.js +464 -0
  27. package/src/server.js +13 -12
  28. package/src/tools/code-graph.js +538 -0
  29. package/src/tools/code-mode.js +304 -0
  30. package/src/tools/index.js +4 -0
  31. package/src/tools/lazy-loader.js +18 -0
  32. package/src/tools/mcp-remote.js +7 -0
  33. package/src/tools/smart-selection.js +11 -0
  34. package/src/tools/tinyfish.js +358 -0
  35. package/src/tools/truncate.js +1 -0
  36. package/src/utils/payload.js +206 -0
  37. package/src/utils/perf-timer.js +80 -0
  38. package/.github/FUNDING.yml +0 -15
  39. package/.github/workflows/README.md +0 -215
  40. package/.github/workflows/ci.yml +0 -69
  41. package/.github/workflows/index.yml +0 -62
  42. package/.github/workflows/web-tools-tests.yml +0 -56
  43. package/CITATIONS.bib +0 -6
  44. package/DEPLOYMENT.md +0 -1001
  45. package/LYNKR-TUI-PLAN.md +0 -984
  46. package/PERFORMANCE-REPORT.md +0 -866
  47. package/PLAN-per-client-model-routing.md +0 -252
  48. package/docs/42642f749da6234f41b6b425c3bb07c9.txt +0 -1
  49. package/docs/BingSiteAuth.xml +0 -4
  50. package/docs/docs-style.css +0 -478
  51. package/docs/docs.html +0 -198
  52. package/docs/google5be250e608e6da39.html +0 -1
  53. package/docs/index.html +0 -577
  54. package/docs/index.md +0 -584
  55. package/docs/robots.txt +0 -4
  56. package/docs/sitemap.xml +0 -44
  57. package/docs/style.css +0 -1223
  58. package/docs/toon-integration-spec.md +0 -130
  59. package/documentation/README.md +0 -101
  60. package/documentation/api.md +0 -806
  61. package/documentation/claude-code-cli.md +0 -679
  62. package/documentation/codex-cli.md +0 -397
  63. package/documentation/contributing.md +0 -571
  64. package/documentation/cursor-integration.md +0 -734
  65. package/documentation/docker.md +0 -874
  66. package/documentation/embeddings.md +0 -762
  67. package/documentation/faq.md +0 -713
  68. package/documentation/features.md +0 -403
  69. package/documentation/headroom.md +0 -519
  70. package/documentation/installation.md +0 -758
  71. package/documentation/memory-system.md +0 -476
  72. package/documentation/production.md +0 -636
  73. package/documentation/providers.md +0 -1009
  74. package/documentation/routing.md +0 -476
  75. package/documentation/testing.md +0 -629
  76. package/documentation/token-optimization.md +0 -325
  77. package/documentation/tools.md +0 -697
  78. package/documentation/troubleshooting.md +0 -969
  79. package/final-test.js +0 -33
  80. package/headroom-sidecar/config.py +0 -93
  81. package/headroom-sidecar/requirements.txt +0 -14
  82. package/headroom-sidecar/server.py +0 -451
  83. package/monitor-agents.sh +0 -31
  84. package/scripts/audit-log-reader.js +0 -399
  85. package/scripts/compact-dictionary.js +0 -204
  86. package/scripts/test-deduplication.js +0 -448
  87. package/src/db/database.sqlite +0 -0
  88. package/te +0 -11622
  89. package/test/README.md +0 -212
  90. package/test/azure-openai-config.test.js +0 -213
  91. package/test/azure-openai-error-resilience.test.js +0 -238
  92. package/test/azure-openai-format-conversion.test.js +0 -354
  93. package/test/azure-openai-integration.test.js +0 -287
  94. package/test/azure-openai-routing.test.js +0 -175
  95. package/test/azure-openai-streaming.test.js +0 -171
  96. package/test/bedrock-integration.test.js +0 -457
  97. package/test/comprehensive-test-suite.js +0 -928
  98. package/test/config-validation.test.js +0 -207
  99. package/test/cursor-integration.test.js +0 -484
  100. package/test/format-conversion.test.js +0 -578
  101. package/test/hybrid-routing-integration.test.js +0 -269
  102. package/test/hybrid-routing-performance.test.js +0 -428
  103. package/test/llamacpp-integration.test.js +0 -882
  104. package/test/lmstudio-integration.test.js +0 -347
  105. package/test/memory/extractor.test.js +0 -398
  106. package/test/memory/retriever.test.js +0 -613
  107. package/test/memory/retriever.test.js.bak +0 -585
  108. package/test/memory/search.test.js +0 -537
  109. package/test/memory/search.test.js.bak +0 -389
  110. package/test/memory/store.test.js +0 -344
  111. package/test/memory/store.test.js.bak +0 -312
  112. package/test/memory/surprise.test.js +0 -300
  113. package/test/memory-performance.test.js +0 -472
  114. package/test/openai-integration.test.js +0 -683
  115. package/test/openrouter-error-resilience.test.js +0 -418
  116. package/test/passthrough-mode.test.js +0 -385
  117. package/test/performance-benchmark.js +0 -351
  118. package/test/performance-tests.js +0 -528
  119. package/test/routing.test.js +0 -225
  120. package/test/toon-compression.test.js +0 -131
  121. package/test/web-tools.test.js +0 -329
  122. package/test-agents-simple.js +0 -43
  123. package/test-cli-connection.sh +0 -33
  124. package/test-learning-unit.js +0 -126
  125. package/test-learning.js +0 -112
  126. package/test-parallel-agents.sh +0 -124
  127. package/test-parallel-direct.js +0 -155
  128. package/test-subagents.sh +0 -117
package/docs/index.md DELETED
@@ -1,584 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
-
7
- <!-- Primary Meta Tags -->
8
- <title>Lynkr - Universal LLM Proxy | 12+ Providers, 60-80% Cost Savings</title>
9
- <meta name="title" content="Lynkr - Universal LLM Proxy | 12+ Providers, 60-80% Cost Savings">
10
- <meta name="description" content="Self-hosted proxy server for Claude Code, Cursor, and AI coding tools. Connect to Ollama, AWS Bedrock, OpenRouter, Azure, and 12+ LLM providers with 60-80% cost reduction. 100% local option available.">
11
- <meta name="keywords" content="LLM proxy, Claude Code, Cursor IDE, Ollama, AWS Bedrock, OpenRouter, AI coding assistant, self-hosted AI, token optimization, prompt caching, MCP server, local LLM, GPT-4, Claude, Gemini">
12
- <meta name="author" content="Vishal Veera Reddy">
13
- <meta name="robots" content="index, follow">
14
- <link rel="canonical" href="https://vishalveerareddy123.github.io/Lynkr/">
15
-
16
- <!-- Theme Color -->
17
- <meta name="theme-color" content="#8b5cf6">
18
- <meta name="msapplication-TileColor" content="#09090b">
19
-
20
- <!-- Open Graph / Facebook -->
21
- <meta property="og:type" content="website">
22
- <meta property="og:url" content="https://vishalveerareddy123.github.io/Lynkr/">
23
- <meta property="og:title" content="Lynkr - Universal LLM Proxy | 12+ Providers, 60-80% Cost Savings">
24
- <meta property="og:description" content="Self-hosted proxy server for Claude Code, Cursor, and AI coding tools. Connect to 12+ LLM providers with 60-80% cost reduction. Free local options with Ollama.">
25
- <meta property="og:image" content="https://vishalveerareddy123.github.io/Lynkr/og-image.png">
26
- <meta property="og:site_name" content="Lynkr">
27
-
28
- <!-- Twitter -->
29
- <meta name="twitter:card" content="summary_large_image">
30
- <meta name="twitter:url" content="https://vishalveerareddy123.github.io/Lynkr/">
31
- <meta name="twitter:title" content="Lynkr - Universal LLM Proxy | 12+ Providers, 60-80% Cost Savings">
32
- <meta name="twitter:description" content="Self-hosted proxy server for Claude Code, Cursor, and AI coding tools. Connect to 12+ LLM providers with 60-80% cost reduction.">
33
- <meta name="twitter:image" content="https://vishalveerareddy123.github.io/Lynkr/og-image.png">
34
-
35
- <!-- Favicon -->
36
- <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%238b5cf6'/><text x='50' y='70' font-size='60' font-weight='bold' text-anchor='middle' fill='white'>L</text></svg>">
37
- <link rel="apple-touch-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%238b5cf6'/><text x='50' y='70' font-size='60' font-weight='bold' text-anchor='middle' fill='white'>L</text></svg>">
38
-
39
- <!-- Structured Data (JSON-LD) -->
40
- <script type="application/ld+json">
41
- {
42
- "@context": "https://schema.org",
43
- "@type": "SoftwareApplication",
44
- "name": "Lynkr",
45
- "applicationCategory": "DeveloperApplication",
46
- "operatingSystem": "Cross-platform",
47
- "description": "Self-hosted LLM proxy server that enables Claude Code, Cursor, and AI coding tools to work with any LLM provider with 60-80% cost reduction.",
48
- "url": "https://github.com/vishalveerareddy123/Lynkr",
49
- "downloadUrl": "https://www.npmjs.com/package/lynkr",
50
- "softwareVersion": "6.0",
51
- "author": {
52
- "@type": "Person",
53
- "name": "Vishal Veera Reddy",
54
- "url": "https://github.com/vishalveerareddy123"
55
- },
56
- "offers": {
57
- "@type": "Offer",
58
- "price": "0",
59
- "priceCurrency": "USD"
60
- },
61
- "aggregateRating": {
62
- "@type": "AggregateRating",
63
- "ratingValue": "5",
64
- "ratingCount": "50"
65
- },
66
- "keywords": "LLM proxy, Claude Code, Cursor, Ollama, AWS Bedrock, AI coding, self-hosted"
67
- }
68
- </script>
69
-
70
- <link rel="stylesheet" href="style.css">
71
- </head>
72
- <body>
73
-
74
- <div class="bg-gradient"></div>
75
- <div class="particles"></div>
76
-
77
- <!-- Navigation -->
78
- <nav class="nav">
79
- <div class="nav-inner">
80
- <a href="#" class="nav-logo">
81
- <div class="nav-logo-icon">L</div>
82
- <span class="nav-logo-text">Lynkr</span>
83
- </a>
84
- <ul class="nav-links">
85
- <li><a href="#features">Features</a></li>
86
- <li><a href="#providers">Providers</a></li>
87
- <li><a href="#clients">Clients</a></li>
88
- <li><a href="#quickstart">Quick Start</a></li>
89
- <li><a href="docs.html">Docs</a></li>
90
- </ul>
91
- <div class="nav-cta">
92
- <a href="https://github.com/vishalveerareddy123/Lynkr" class="btn btn-secondary">
93
- <svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
94
- <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
95
- </svg>
96
- GitHub
97
- </a>
98
- <a href="#quickstart" class="btn btn-primary">Get Started</a>
99
- </div>
100
- </div>
101
- </nav>
102
-
103
- <!-- Hero Section -->
104
- <section class="hero">
105
- <div class="hero-badge">
106
- <span class="hero-badge-dot"></span>
107
- <span>v6.0 — Production Ready</span>
108
- </div>
109
-
110
- <h1 class="hero-title">
111
- The Universal<br>
112
- <span class="hero-title-gradient">LLM Proxy</span>
113
- </h1>
114
-
115
- <p class="hero-subtitle">
116
- Self-hosted proxy server that enables Claude Code, Cursor, and AI coding tools
117
- to work with any LLM provider — with <strong>60-80% cost reduction</strong>.
118
- </p>
119
-
120
- <div class="hero-actions">
121
- <a href="#quickstart" class="btn btn-primary">
122
- <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
123
- <polygon points="5 3 19 12 5 21 5 3"></polygon>
124
- </svg>
125
- Get Started
126
- </a>
127
- <a href="https://github.com/vishalveerareddy123/Lynkr" class="btn btn-secondary">
128
- <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
129
- <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
130
- </svg>
131
- View on GitHub
132
- </a>
133
- <a href="https://www.npmjs.com/package/lynkr" class="btn btn-ghost">
134
- <svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
135
- <path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z"/>
136
- </svg>
137
- NPM
138
- </a>
139
- </div>
140
-
141
- <div class="hero-stats">
142
- <div class="hero-stat">
143
- <div class="hero-stat-value">12+</div>
144
- <div class="hero-stat-label">Providers</div>
145
- </div>
146
- <div class="hero-stat">
147
- <div class="hero-stat-value">60-80%</div>
148
- <div class="hero-stat-label">Cost Savings</div>
149
- </div>
150
- <div class="hero-stat">
151
- <div class="hero-stat-value">400+</div>
152
- <div class="hero-stat-label">Tests</div>
153
- </div>
154
- <div class="hero-stat">
155
- <div class="hero-stat-value">100%</div>
156
- <div class="hero-stat-label">Local Option</div>
157
- </div>
158
- </div>
159
- </section>
160
-
161
- <!-- Features Section -->
162
- <section class="section" id="features">
163
- <div class="container">
164
- <div class="section-header">
165
- <div class="section-tag">Core Capabilities</div>
166
- <h2 class="section-title">Built for Production</h2>
167
- <p class="section-description">
168
- Enterprise-grade features for teams that demand reliability, performance, and cost control.
169
- </p>
170
- </div>
171
-
172
- <div class="features-grid">
173
- <div class="feature-card">
174
- <div class="feature-icon">🔌</div>
175
- <h3 class="feature-title">Multi-Provider Support</h3>
176
- <p class="feature-description">
177
- Seamlessly switch between Ollama, AWS Bedrock, OpenRouter, Databricks, Azure, and more — without changing a single line of code.
178
- </p>
179
- </div>
180
-
181
- <div class="feature-card">
182
- <div class="feature-icon">💰</div>
183
- <h3 class="feature-title">Token Optimization</h3>
184
- <p class="feature-description">
185
- Smart tool selection, prompt caching, and memory deduplication work together to reduce your LLM costs by 60-80%.
186
- </p>
187
- </div>
188
-
189
- <div class="feature-card">
190
- <div class="feature-icon">🧠</div>
191
- <h3 class="feature-title">Long-Term Memory</h3>
192
- <p class="feature-description">
193
- Titans-inspired memory system persists context across sessions, enabling smarter and more contextual responses.
194
- </p>
195
- </div>
196
-
197
- <div class="feature-card">
198
- <div class="feature-icon">🔧</div>
199
- <h3 class="feature-title">Full MCP Integration</h3>
200
- <p class="feature-description">
201
- Complete tool calling support with Model Context Protocol for advanced agent workflows and custom integrations.
202
- </p>
203
- </div>
204
-
205
- <div class="feature-card">
206
- <div class="feature-icon">📊</div>
207
- <h3 class="feature-title">Enterprise Ready</h3>
208
- <p class="feature-description">
209
- Built-in circuit breakers, load shedding, metrics, health checks, and audit logging for production deployments.
210
- </p>
211
- </div>
212
-
213
- <div class="feature-card">
214
- <div class="feature-icon">🌐</div>
215
- <h3 class="feature-title">Remote Endpoints</h3>
216
- <p class="feature-description">
217
- Connect to models on any machine — run inference on dedicated GPU servers and share resources across your entire team.
218
- </p>
219
- </div>
220
-
221
- <div class="feature-card">
222
- <div class="feature-icon">🔀</div>
223
- <h3 class="feature-title">Hierarchical Routing</h3>
224
- <p class="feature-description">
225
- Intelligent request routing across model tiers — automatically route simple tasks to faster models and complex ones to more capable models.
226
- </p>
227
- </div>
228
- </div>
229
- </div>
230
- </section>
231
-
232
- <!-- Providers Section -->
233
- <section class="section" id="providers">
234
- <div class="container">
235
- <div class="section-header">
236
- <div class="section-tag">Integrations</div>
237
- <h2 class="section-title">12+ LLM Providers</h2>
238
- <p class="section-description">
239
- From free local models to enterprise cloud solutions — use what works best for your use case.
240
- </p>
241
- </div>
242
-
243
- <div class="providers-grid">
244
- <div class="provider-card">
245
- <span class="provider-icon">🦙</span>
246
- <div class="provider-name">Ollama</div>
247
- <div class="provider-type">Local</div>
248
- <span class="provider-badge">FREE</span>
249
- </div>
250
-
251
- <div class="provider-card">
252
- <span class="provider-icon">⚡</span>
253
- <div class="provider-name">llama.cpp</div>
254
- <div class="provider-type">Local</div>
255
- <span class="provider-badge">FREE</span>
256
- </div>
257
-
258
- <div class="provider-card">
259
- <span class="provider-icon">🎬</span>
260
- <div class="provider-name">LM Studio</div>
261
- <div class="provider-type">Local</div>
262
- <span class="provider-badge">FREE</span>
263
- </div>
264
-
265
- <div class="provider-card">
266
- <span class="provider-icon">🍎</span>
267
- <div class="provider-name">MLX Server</div>
268
- <div class="provider-type">Apple Silicon</div>
269
- <span class="provider-badge">FREE</span>
270
- </div>
271
-
272
- <div class="provider-card">
273
- <span class="provider-icon">☁️</span>
274
- <div class="provider-name">AWS Bedrock</div>
275
- <div class="provider-type">Cloud</div>
276
- <span class="provider-badge paid">100+ MODELS</span>
277
- </div>
278
-
279
- <div class="provider-card">
280
- <span class="provider-icon">🛤️</span>
281
- <div class="provider-name">OpenRouter</div>
282
- <div class="provider-type">Cloud</div>
283
- <span class="provider-badge paid">100+ MODELS</span>
284
- </div>
285
-
286
- <div class="provider-card">
287
- <span class="provider-icon">🧱</span>
288
- <div class="provider-name">Databricks</div>
289
- <div class="provider-type">Enterprise</div>
290
- <span class="provider-badge paid">CLAUDE 4.5</span>
291
- </div>
292
-
293
- <div class="provider-card">
294
- <span class="provider-icon">🔷</span>
295
- <div class="provider-name">Azure OpenAI</div>
296
- <div class="provider-type">Cloud</div>
297
- <span class="provider-badge paid">GPT-4o, o1</span>
298
- </div>
299
-
300
- <div class="provider-card">
301
- <span class="provider-icon">🟣</span>
302
- <div class="provider-name">Azure Anthropic</div>
303
- <div class="provider-type">Cloud</div>
304
- <span class="provider-badge paid">CLAUDE</span>
305
- </div>
306
-
307
- <div class="provider-card">
308
- <span class="provider-icon">🤖</span>
309
- <div class="provider-name">OpenAI</div>
310
- <div class="provider-type">Cloud</div>
311
- <span class="provider-badge paid">GPT-4o, o1</span>
312
- </div>
313
-
314
- <div class="provider-card">
315
- <span class="provider-icon">🌙</span>
316
- <div class="provider-name">Moonshot AI</div>
317
- <div class="provider-type">Cloud</div>
318
- <span class="provider-badge paid">KIMI K2</span>
319
- </div>
320
-
321
- <div class="provider-card">
322
- <span class="provider-icon" style="font-weight: 900; font-size: 28px; background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;">Z</span>
323
- <div class="provider-name">z.ai</div>
324
- <div class="provider-type">Cloud</div>
325
- <span class="provider-badge paid">GLM MODELS</span>
326
- </div>
327
-
328
- <div class="provider-card">
329
- <span class="provider-icon">💎</span>
330
- <div class="provider-name">Vertex AI</div>
331
- <div class="provider-type">Cloud</div>
332
- <span class="provider-badge paid">GEMINI</span>
333
- </div>
334
- </div>
335
- </div>
336
- </section>
337
-
338
- <!-- Clients Section -->
339
- <section class="section" id="clients">
340
- <div class="container">
341
- <div class="section-header">
342
- <div class="section-tag">Compatible Tools</div>
343
- <h2 class="section-title">Works With Your Stack</h2>
344
- <p class="section-description">
345
- Drop-in replacement for Anthropic API — no code changes required in any of your tools.
346
- </p>
347
- </div>
348
-
349
- <div class="clients-grid">
350
- <div class="client-card">
351
- <div class="client-icon">⚡</div>
352
- <div class="client-info">
353
- <div class="client-name">Claude Code CLI</div>
354
- <div class="client-desc">Official Anthropic terminal assistant</div>
355
- </div>
356
- </div>
357
-
358
- <div class="client-card">
359
- <div class="client-icon">📝</div>
360
- <div class="client-info">
361
- <div class="client-name">Cursor IDE</div>
362
- <div class="client-desc">AI-first code editor</div>
363
- </div>
364
- </div>
365
-
366
- <div class="client-card">
367
- <div class="client-icon">💻</div>
368
- <div class="client-info">
369
- <div class="client-name">Codex CLI</div>
370
- <div class="client-desc">OpenAI's terminal assistant</div>
371
- </div>
372
- </div>
373
-
374
- <div class="client-card">
375
- <div class="client-icon">🤖</div>
376
- <div class="client-info">
377
- <div class="client-name">ClawdBot</div>
378
- <div class="client-desc">GitHub Copilot alternative</div>
379
- </div>
380
- </div>
381
-
382
- <div class="client-card">
383
- <div class="client-icon">🔗</div>
384
- <div class="client-info">
385
- <div class="client-name">Cline / Continue.dev</div>
386
- <div class="client-desc">OpenAI-compatible VS Code extensions</div>
387
- </div>
388
- </div>
389
- </div>
390
- </div>
391
- </section>
392
-
393
- <!-- Quick Start Section -->
394
- <section class="section" id="quickstart">
395
- <div class="container">
396
- <div class="section-header">
397
- <div class="section-tag">Get Started</div>
398
- <h2 class="section-title">Up and Running in Minutes</h2>
399
- <p class="section-description">
400
- Three simple steps to unlock any LLM provider with your favorite coding tools.
401
- </p>
402
- </div>
403
-
404
- <div class="steps">
405
- <div class="step">
406
- <div class="step-number">1</div>
407
- <div class="step-content">
408
- <div class="step-title">Install Lynkr</div>
409
- <div class="step-description">Install globally via npm or Homebrew — your choice.</div>
410
- <div class="code-block">
411
- <div class="code-header">
412
- <div class="code-dots">
413
- <span class="code-dot red"></span>
414
- <span class="code-dot yellow"></span>
415
- <span class="code-dot green"></span>
416
- </div>
417
- <span class="code-title">Terminal</span>
418
- </div>
419
- <div class="code-content">
420
- <pre><code><span class="code-comment"># Using npm</span>
421
- npm install -g lynkr
422
-
423
- <span class="code-comment"># Or using Homebrew</span>
424
- brew tap vishalveerareddy123/lynkr && brew install lynkr</code></pre>
425
- </div>
426
- </div>
427
- </div>
428
- </div>
429
-
430
- <div class="step">
431
- <div class="step-number">2</div>
432
- <div class="step-content">
433
- <div class="step-title">Configure Your Provider</div>
434
- <div class="step-description">Set your preferred LLM provider using environment variables.</div>
435
- <div class="code-block">
436
- <div class="code-header">
437
- <div class="code-dots">
438
- <span class="code-dot red"></span>
439
- <span class="code-dot yellow"></span>
440
- <span class="code-dot green"></span>
441
- </div>
442
- <span class="code-title">Local with Ollama (FREE)</span>
443
- </div>
444
- <div class="code-content">
445
- <pre><code><span class="code-keyword">export</span> <span class="code-variable">MODEL_PROVIDER</span>=<span class="code-string">ollama</span>
446
- <span class="code-keyword">export</span> <span class="code-variable">OLLAMA_MODEL</span>=<span class="code-string">qwen2.5-coder:latest</span></code></pre>
447
- </div>
448
- </div>
449
- <div class="code-block">
450
- <div class="code-header">
451
- <div class="code-dots">
452
- <span class="code-dot red"></span>
453
- <span class="code-dot yellow"></span>
454
- <span class="code-dot green"></span>
455
- </div>
456
- <span class="code-title">Cloud with AWS Bedrock</span>
457
- </div>
458
- <div class="code-content">
459
- <pre><code><span class="code-keyword">export</span> <span class="code-variable">MODEL_PROVIDER</span>=<span class="code-string">bedrock</span>
460
- <span class="code-keyword">export</span> <span class="code-variable">AWS_BEDROCK_API_KEY</span>=<span class="code-string">your-api-key</span>
461
- <span class="code-keyword">export</span> <span class="code-variable">AWS_BEDROCK_MODEL_ID</span>=<span class="code-string">anthropic.claude-3-5-sonnet-20241022-v2:0</span></code></pre>
462
- </div>
463
- </div>
464
- </div>
465
- </div>
466
-
467
- <div class="step">
468
- <div class="step-number">3</div>
469
- <div class="step-content">
470
- <div class="step-title">Connect Your Tools</div>
471
- <div class="step-description">Point your AI coding tools to Lynkr and you're done.</div>
472
- <div class="code-block">
473
- <div class="code-header">
474
- <div class="code-dots">
475
- <span class="code-dot red"></span>
476
- <span class="code-dot yellow"></span>
477
- <span class="code-dot green"></span>
478
- </div>
479
- <span class="code-title">Start Lynkr & Connect Claude Code</span>
480
- </div>
481
- <div class="code-content">
482
- <pre><code><span class="code-comment"># Start the proxy server</span>
483
- npm start <span class="code-comment"># → Running at http://localhost:8081</span>
484
-
485
- <span class="code-comment"># Connect Claude Code CLI</span>
486
- <span class="code-keyword">export</span> <span class="code-variable">ANTHROPIC_BASE_URL</span>=<span class="code-string">http://localhost:8081</span>
487
- <span class="code-keyword">export</span> <span class="code-variable">ANTHROPIC_API_KEY</span>=<span class="code-string">dummy</span>
488
- claude</code></pre>
489
- </div>
490
- </div>
491
- </div>
492
- </div>
493
- </div>
494
- </div>
495
- </section>
496
-
497
- <!-- Architecture Section -->
498
- <section class="section">
499
- <div class="container">
500
- <div class="section-header">
501
- <div class="section-tag">How It Works</div>
502
- <h2 class="section-title">Architecture</h2>
503
- <p class="section-description">
504
- Lynkr sits between your tools and any LLM provider, handling format conversion, caching, and optimization transparently.
505
- </p>
506
- </div>
507
-
508
- <div class="architecture">
509
- <pre class="architecture-diagram">
510
- <span class="architecture-highlight">Claude Code</span> / <span class="architecture-highlight">Cursor</span> / <span class="architecture-highlight">Codex</span> / <span class="architecture-highlight">ClawdBot</span>
511
-
512
-
513
- ┌─────────────────────┐
514
- │ <span class="architecture-highlight">Lynkr Proxy</span> │
515
- │ localhost:8081 │
516
- │ │
517
- │ • Format Conversion│
518
- │ • Prompt Caching │
519
- │ • Token Optimization
520
- │ • Tool Calling │
521
- │ • Memory System │
522
- │ • Metrics & Logs │
523
- └──────────┬──────────┘
524
-
525
- ┌───────────────┼───────────────┐
526
- ▼ ▼ ▼
527
- ┌─────────┐ ┌─────────┐ ┌─────────┐
528
- │ <span class="architecture-highlight">Local</span> │ │ <span class="architecture-highlight">Cloud</span> │ │ <span class="architecture-highlight">Remote</span> │
529
- ├─────────┤ ├─────────┤ ├─────────┤
530
- │ Ollama │ │ Bedrock │ │GPU Server│
531
- │llama.cpp│ │OpenRouter │ (any IP)│
532
- │LM Studio│ │Databricks │ │
533
- │MLX Server │Azure/OpenAI │ │
534
- └─────────┘ └─────────┘ └─────────┘
535
- </pre>
536
- </div>
537
- </div>
538
- </section>
539
-
540
- <!-- CTA Section -->
541
- <section class="section">
542
- <div class="container">
543
- <div class="cta-section">
544
- <h2 class="cta-title">Ready to Get Started?</h2>
545
- <p class="cta-description">
546
- Join developers saving 60-80% on LLM costs while using their favorite coding tools with any provider.
547
- </p>
548
- <div class="cta-actions">
549
- <a href="https://github.com/vishalveerareddy123/Lynkr" class="btn btn-primary">
550
- <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
551
- <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
552
- </svg>
553
- Star on GitHub
554
- </a>
555
- <a href="https://www.npmjs.com/package/lynkr" class="btn btn-secondary">
556
- <svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
557
- <path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z"/>
558
- </svg>
559
- View on NPM
560
- </a>
561
- <a href="docs.html" class="btn btn-ghost">
562
- Read the Docs →
563
- </a>
564
- </div>
565
- </div>
566
- </div>
567
- </section>
568
-
569
- <!-- Footer -->
570
- <footer class="footer">
571
- <div class="footer-logo">Lynkr</div>
572
- <div class="footer-links">
573
- <a href="https://github.com/vishalveerareddy123/Lynkr">GitHub</a>
574
- <a href="https://www.npmjs.com/package/lynkr">NPM</a>
575
- <a href="docs.html">Documentation</a>
576
- <a href="https://github.com/vishalveerareddy123/Lynkr/issues">Issues</a>
577
- <a href="https://github.com/vishalveerareddy123/Lynkr/discussions">Discussions</a>
578
- </div>
579
- <div class="footer-meta">
580
- Apache 2.0 License · Built by <a href="https://github.com/vishalveerareddy123">Vishal Veera Reddy</a>
581
- </div>
582
- </footer>
583
- </body>
584
- </html>
package/docs/robots.txt DELETED
@@ -1,4 +0,0 @@
1
- User-agent: *
2
- Allow: /
3
-
4
- Sitemap: https://vishalveerareddy123.github.io/Lynkr/sitemap.xml
package/docs/sitemap.xml DELETED
@@ -1,44 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
- <url>
4
- <loc>https://vishalveerareddy123.github.io/Lynkr/</loc>
5
- <lastmod>2026-02-01</lastmod>
6
- <changefreq>weekly</changefreq>
7
- <priority>1.0</priority>
8
- </url>
9
- <url>
10
- <loc>https://github.com/vishalveerareddy123/Lynkr</loc>
11
- <changefreq>daily</changefreq>
12
- <priority>0.9</priority>
13
- </url>
14
- <url>
15
- <loc>https://www.npmjs.com/package/lynkr</loc>
16
- <changefreq>weekly</changefreq>
17
- <priority>0.8</priority>
18
- </url>
19
- <url>
20
- <loc>https://vishalveerareddy123.github.io/Lynkr/docs.html</loc>
21
- <changefreq>weekly</changefreq>
22
- <priority>0.9</priority>
23
- </url>
24
- <url>
25
- <loc>https://vishalveerareddy123.github.io/Lynkr/docs.html?doc=installation</loc>
26
- <changefreq>weekly</changefreq>
27
- <priority>0.8</priority>
28
- </url>
29
- <url>
30
- <loc>https://vishalveerareddy123.github.io/Lynkr/docs.html?doc=providers</loc>
31
- <changefreq>weekly</changefreq>
32
- <priority>0.8</priority>
33
- </url>
34
- <url>
35
- <loc>https://vishalveerareddy123.github.io/Lynkr/docs.html?doc=claude-code-cli</loc>
36
- <changefreq>weekly</changefreq>
37
- <priority>0.8</priority>
38
- </url>
39
- <url>
40
- <loc>https://vishalveerareddy123.github.io/Lynkr/docs.html?doc=cursor-integration</loc>
41
- <changefreq>weekly</changefreq>
42
- <priority>0.8</priority>
43
- </url>
44
- </urlset>