diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 346b53e..b64b8ea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,9 @@ on: push: branches: - main + pull_request: + branches: + - main workflow_dispatch: permissions: @@ -31,7 +34,10 @@ jobs: cache: npm - name: Setup Pages + if: github.event_name != 'pull_request' uses: actions/configure-pages@v5 + with: + enablement: true - name: Install dependencies run: npm ci @@ -40,11 +46,13 @@ jobs: run: npm run docs:build - name: Upload artifact + if: github.event_name != 'pull_request' uses: actions/upload-pages-artifact@v3 with: path: .vitepress/dist deploy: + if: github.event_name == 'push' && github.ref == 'refs/heads/main' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 2f0506a..f8425d8 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -1,16 +1,63 @@ import { defineConfig } from 'vitepress' export default defineConfig({ + srcDir: 'src', title: 'DevDeskApp Docs', description: 'Official Documentation for DevDeskApp suite, developer utilities, and n8n-nodes-devdeskapp community node.', cleanUrls: true, + sitemap: { + hostname: 'https://docs.devdeskapp.com' + }, + transformHead({ pageData }) { + const cleanPath = pageData.relativePath + .replace(/index\.md$/, '') + .replace(/\.md$/, '') + const canonical = cleanPath ? `https://docs.devdeskapp.com/${cleanPath}` : 'https://docs.devdeskapp.com/' + return [ + ['link', { rel: 'canonical', href: canonical }] + ] + }, head: [ ['link', { rel: 'icon', href: '/logo.svg' }], - ['meta', { name: 'theme-color', content: '#8b5cf6' }], - ['meta', { name: 'og:site_name', content: 'DevDeskApp Docs' }], - ['meta', { name: 'og:type', content: 'website' }], - ['meta', { name: 'og:title', content: 'DevDeskApp Documentation & Automation Suite' }], - ['meta', { name: 'og:description', content: 'Zero-API privacy developer tools and high-performance n8n automation node for developers, HR, and DevOps.' }] + ['meta', { name: 'theme-color', content: '#6366f1' }], + ['meta', { name: 'robots', content: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' }], + ['meta', { property: 'og:site_name', content: 'DevDeskApp Docs' }], + ['meta', { property: 'og:type', content: 'website' }], + ['meta', { property: 'og:locale', content: 'en_US' }], + ['meta', { property: 'og:image', content: 'https://docs.devdeskapp.com/logo-dark.jpg' }], + ['meta', { property: 'og:image:width', content: '1200' }], + ['meta', { property: 'og:image:height', content: '630' }], + ['meta', { name: 'twitter:card', content: 'summary_large_image' }], + ['meta', { name: 'twitter:site', content: '@devdeskapp' }], + ['meta', { name: 'twitter:image', content: 'https://docs.devdeskapp.com/logo-dark.jpg' }], + [ + 'script', + { type: 'application/ld+json' }, + JSON.stringify({ + '@context': 'https://schema.org', + '@graph': [ + { + '@type': 'WebSite', + name: 'DevDeskApp Documentation', + url: 'https://docs.devdeskapp.com', + description: 'Official documentation for DevDeskApp developer utilities, tools, and n8n-nodes-devdeskapp community node.' + }, + { + '@type': 'SoftwareApplication', + name: 'DevDeskApp n8n Community Node', + applicationCategory: 'DeveloperApplication, AutomationTool, AIAgentTool', + operatingSystem: 'Cross-platform, Node.js, Docker, Linux, macOS, Windows', + description: 'In-memory deterministic utility suite and AI Agent function calling tool for n8n workflows.', + url: 'https://docs.devdeskapp.com', + offers: { + '@type': 'Offer', + price: '0', + priceCurrency: 'USD' + } + } + ] + }) + ] ], themeConfig: { logo: { @@ -21,6 +68,7 @@ export default defineConfig({ nav: [ { text: 'DevDeskApp Suite', link: '/about/' }, { text: 'n8n Node Guide', link: '/n8n/' }, + { text: '๐ค AI Agents & LLMs', link: '/solutions/ai-agents' }, { text: 'Operations Reference', link: '/n8n/operations' }, { text: 'Workflow Templates', link: '/n8n/workflow-templates' }, { text: 'Architecture', link: '/solutions/' }, @@ -57,8 +105,9 @@ export default defineConfig({ ], '/solutions/': [ { - text: 'Solutions & Production', + text: 'Solutions & AI', items: [ + { text: '๐ค AI Agents & LLM Calling', link: '/solutions/ai-agents' }, { text: 'Local Node vs Cloud APIs', link: '/solutions/' }, { text: 'Production Best Practices', link: '/solutions/best-practices' } ] diff --git a/.vitepress/theme/components/QuickNavGrid.vue b/.vitepress/theme/components/QuickNavGrid.vue index dc5efc1..539a9ed 100644 --- a/.vitepress/theme/components/QuickNavGrid.vue +++ b/.vitepress/theme/components/QuickNavGrid.vue @@ -53,11 +53,22 @@ const cards: NavCard[] = [ icon: '๐', highlight: true }, + { + title: 'AI Agents & LLMs', + category: 'Function Calling & Tools', + badge: 'LangChain & OpenAI', + badgeType: 'purple', + description: 'Wire DevDeskApp into n8n AI Agents as zero-latency deterministic tools for payroll, hashing, and JSON compression.', + link: '/solutions/ai-agents', + linkText: 'AI Agent Guide', + icon: '๐ค', + highlight: true + }, { title: 'Enterprise Architecture', category: 'Security & Benchmarks', badge: 'Zero-Leak Audit', - badgeType: 'purple', + badgeType: 'indigo', description: 'Deep-dive security benchmarks comparing local native Node execution vs external cloud REST APIs.', link: '/solutions/', linkText: 'Architecture & Solutions', diff --git a/README.md b/README.md index 176130f..7794f74 100644 --- a/README.md +++ b/README.md @@ -1,54 +1,45 @@ -# ๐ DevDeskApp Official Documentation +# ๐ DevDeskApp Docs -> Modern Automation & High-Performance Developer Suite โข Zero Cloud Data Leaks โข 330+ Tools & Official n8n Community Node. +> Official Documentation Portal for DevDeskApp & `n8n-nodes-devdeskapp` Community Node. -[](https://docs.devdeskapp.com) -[](https://www.npmjs.com/package/n8n-nodes-devdeskapp) -[](https://n8n.io/workflows/21017-format-json-and-secure-hr-payloads-with-devdeskapp-utilities) -[](LICENSE) +[](https://docs.devdeskapp.com) +[](https://www.npmjs.com/package/n8n-nodes-devdeskapp) +[](https://n8n.io/workflows/21017-format-json-and-secure-hr-payloads-with-devdeskapp-utilities) +[](LICENSE) --- -## ๐ Overview +## โก Quick Install -This repository powers the official documentation portal at **[docs.devdeskapp.com](https://docs.devdeskapp.com)**. - -DevDeskApp provides 330+ client-side developer utilities and an official community node (`n8n-nodes-devdeskapp`) that runs formatters, financial calculation engines, and cryptographic algorithms natively in-memory inside n8n workflows with: -- **Sub-millisecond execution** (< 0.2ms) -- **Zero cloud API data leaks** (100% in-process Node.js execution) -- **Zero API keys or external quotas required** - ---- - -## ๐ Quick Links +### n8n Community Node (UI) +In n8n: **Settings** → **Community Nodes** → **Install**: +```text +n8n-nodes-devdeskapp +``` -- ๐ **Documentation Portal**: [https://docs.devdeskapp.com](https://docs.devdeskapp.com) -- ๐ฆ **NPM Package**: [`n8n-nodes-devdeskapp`](https://www.npmjs.com/package/n8n-nodes-devdeskapp) -- ๐ **n8n Official Template #21017**: [Format JSON & Secure HR Payloads with DevDeskApp](https://n8n.io/workflows/21017-format-json-and-secure-hr-payloads-with-devdeskapp-utilities) -- ๐ป **Main Web App**: [https://www.devdeskapp.com](https://www.devdeskapp.com) +### Docker / CLI +```bash +npm install n8n-nodes-devdeskapp +``` --- -## ๐ ๏ธ Local Development +## ๐ ๏ธ Run Docs Locally -### 1. Install Dependencies ```bash npm install +npm run docs:dev # http://localhost:5173 ``` -### 2. Start Development Server -```bash -npm run docs:dev -``` -Local preview will be available at `http://localhost:5173/`. +--- -### 3. Build for Production -```bash -npm run docs:build -``` +## ๐ Links + +- **Documentation**: [https://docs.devdeskapp.com](https://docs.devdeskapp.com) +- **Official n8n Template #21017**: [https://n8n.io/workflows/21017](https://n8n.io/workflows/21017-format-json-and-secure-hr-payloads-with-devdeskapp-utilities) +- **Web App**: [https://www.devdeskapp.com](https://www.devdeskapp.com) --- ## ๐ License - -Released under the [MIT License](LICENSE). Copyright ยฉ 2026 DevDeskApp Community. +MIT ยฉ 2026 DevDeskApp Community diff --git a/about/architecture.md b/src/about/architecture.md similarity index 100% rename from about/architecture.md rename to src/about/architecture.md diff --git a/about/index.md b/src/about/index.md similarity index 100% rename from about/index.md rename to src/about/index.md diff --git a/index.md b/src/index.md similarity index 100% rename from index.md rename to src/index.md diff --git a/n8n/index.md b/src/n8n/index.md similarity index 100% rename from n8n/index.md rename to src/n8n/index.md diff --git a/n8n/installation.md b/src/n8n/installation.md similarity index 100% rename from n8n/installation.md rename to src/n8n/installation.md diff --git a/n8n/operations.md b/src/n8n/operations.md similarity index 100% rename from n8n/operations.md rename to src/n8n/operations.md diff --git a/n8n/workflow-templates.md b/src/n8n/workflow-templates.md similarity index 100% rename from n8n/workflow-templates.md rename to src/n8n/workflow-templates.md diff --git a/public/CNAME b/src/public/CNAME similarity index 100% rename from public/CNAME rename to src/public/CNAME diff --git a/public/images/dashboard_final_status.png b/src/public/images/dashboard_final_status.png similarity index 100% rename from public/images/dashboard_final_status.png rename to src/public/images/dashboard_final_status.png diff --git a/public/images/nodes_tab_status.png b/src/public/images/nodes_tab_status.png similarity index 100% rename from public/images/nodes_tab_status.png rename to src/public/images/nodes_tab_status.png diff --git a/public/images/screen_1_community_nodes.png b/src/public/images/screen_1_community_nodes.png similarity index 100% rename from public/images/screen_1_community_nodes.png rename to src/public/images/screen_1_community_nodes.png diff --git a/public/images/screen_1b_install_modal.png b/src/public/images/screen_1b_install_modal.png similarity index 100% rename from public/images/screen_1b_install_modal.png rename to src/public/images/screen_1b_install_modal.png diff --git a/public/images/screen_2_workflow_canvas.png b/src/public/images/screen_2_workflow_canvas.png similarity index 100% rename from public/images/screen_2_workflow_canvas.png rename to src/public/images/screen_2_workflow_canvas.png diff --git a/public/images/screen_3_node_drawer.png b/src/public/images/screen_3_node_drawer.png similarity index 100% rename from public/images/screen_3_node_drawer.png rename to src/public/images/screen_3_node_drawer.png diff --git a/public/images/screen_4_workflow_executed.png b/src/public/images/screen_4_workflow_executed.png similarity index 100% rename from public/images/screen_4_workflow_executed.png rename to src/public/images/screen_4_workflow_executed.png diff --git a/public/images/screen_5_ai_agent_canvas.png b/src/public/images/screen_5_ai_agent_canvas.png similarity index 100% rename from public/images/screen_5_ai_agent_canvas.png rename to src/public/images/screen_5_ai_agent_canvas.png diff --git a/public/images/screen_ctc_canvas.png b/src/public/images/screen_ctc_canvas.png similarity index 100% rename from public/images/screen_ctc_canvas.png rename to src/public/images/screen_ctc_canvas.png diff --git a/public/images/screen_ctc_drawer.png b/src/public/images/screen_ctc_drawer.png similarity index 100% rename from public/images/screen_ctc_drawer.png rename to src/public/images/screen_ctc_drawer.png diff --git a/public/images/screen_ctc_executed.png b/src/public/images/screen_ctc_executed.png similarity index 100% rename from public/images/screen_ctc_executed.png rename to src/public/images/screen_ctc_executed.png diff --git a/public/images/template_test_result.png b/src/public/images/template_test_result.png similarity index 100% rename from public/images/template_test_result.png rename to src/public/images/template_test_result.png diff --git a/src/public/llms-full.txt b/src/public/llms-full.txt new file mode 100644 index 0000000..0de9d12 --- /dev/null +++ b/src/public/llms-full.txt @@ -0,0 +1,304 @@ +# DevDeskApp Comprehensive Documentation (llms-full.txt) + +> The Complete Knowledge Base & Machine-Readable Reference for AI Agents, LLM Function Calling, and Automation Engineers. +> Canonical URL: https://docs.devdeskapp.com/llms-full.txt +> Documentation Portal: https://docs.devdeskapp.com +> Main Web Application: https://www.devdeskapp.com +> NPM Package: https://www.npmjs.com/package/n8n-nodes-devdeskapp +> Official n8n Workflow Template: https://n8n.io/workflows/21017-format-json-and-secure-hr-payloads-with-devdeskapp-utilities +> GitHub Organization: https://github.com/DevdeskApp + +--- + +## 1. Executive Summary & Value Proposition + +DevDeskApp is a dual-ecosystem developer productivity platform: +1. **Web Suite**: 330+ client-side developer utilities, formatters, financial calculators, and converters running 100% in the browser with zero cloud storage or tracking at https://www.devdeskapp.com. +2. **n8n Automation Node (`n8n-nodes-devdeskapp`)**: An official community node for n8n that brings 10 core developer utilities directly onto the visual automation canvas. + +### The Problem with Cloud Utility APIs +Traditional workflow automations (Zapier, Make, default REST nodes) rely on third-party SaaS APIs to format JSON, hash secrets, or calculate payroll. This introduces: +- **Severe Latency Overhead**: 150ms to 450ms network round-trip time per HTTP request. +- **Data Privacy Violations**: Sensitive HR payrolls, employee IDs, customer PII, and webhook secrets leave corporate servers and traverse external clouds. +- **Fragile Cloud Dependencies**: Rate limits, API quota exhaustion, and vendor downtime break critical production pipelines. + +### The DevDeskApp Solution +- **Sub-Millisecond Execution**: Runs synchronously in-process inside Node.js memory in < 0.2ms per item. +- **Zero Cloud Data Leaks**: 0 KB external network egress. Payloads never touch an external server or third-party cloud. +- **Zero Configuration & Quotas**: No API keys, credentials, or paid subscriptions required. + +--- + +## 2. Complete Operations Reference (10 Native Engines) + +### 2.1 JSON Prettifier & Minifier (`jsonPrettifier`) +- **Purpose**: Cleans, parses, formats, or minifies raw JSON payloads from webhooks, AI agents, or databases. +- **Execution Speed**: 0.08ms โ 0.15ms. +- **Parameters**: + - `mode`: `"prettify"` (human-readable) | `"minify"` (single-line token saver). + - `indent`: `2` | `4` | `tab` (applicable when mode is prettify). + - `inputJson`: String or incoming JSON object. +- **Sample Input**: + ```json + {"service":"payment","status":"success","empId":1042,"traceId":"8f2a1b9c-4e3d-4c8a-9f1e-2b3c4d5e6f7a"} + ``` +- **Minified Output (Context Saver)**: + `{"service":"payment","status":"success","empId":1042,"traceId":"8f2a1b9c-4e3d-4c8a-9f1e-2b3c4d5e6f7a"}` +- **Prettified Output**: + ```json + { + "service": "payment", + "status": "success", + "empId": 1042, + "traceId": "8f2a1b9c-4e3d-4c8a-9f1e-2b3c4d5e6f7a" + } + ``` + +--- + +### 2.2 Hash Generator (`hashGenerator`) +- **Purpose**: Computes one-way cryptographic digests for webhook verification, password storage, and data integrity verification. +- **Execution Speed**: 0.05ms โ 0.12ms. +- **Supported Algorithms**: `sha256`, `sha512`, `md5`, `sha1`. +- **Parameters**: + - `algorithm`: Cryptographic hashing algorithm. + - `text`: Plaintext input string. + - `encoding`: `"hex"` (default) | `"base64"`. +- **Sample Input**: + `text`: `"devdeskapp_production_webhook_secret_key"`, `algorithm`: `"sha256"` +- **Sample Output**: + ```json + { + "algorithm": "sha256", + "hash": "c0053e1a0673f4e3c35b80a1846b0a034f78de1f74075f782c5890772714041b", + "tamperProof": true, + "length": 64 + } + ``` + +--- + +### 2.3 CTC & Indian Payroll Calculator (`ctcCalculator`) +- **Purpose**: Deterministic Indian compensation calculation engine compliant with New & Old Tax Regimes, calculating monthly gross, basic salary, HRA, employee PF, employer PF, professional tax, and net take-home salary. +- **Execution Speed**: 0.18ms. +- **Parameters**: + - `annualCtc`: Number (e.g., `2400000`). + - `basicPercentage`: Percentage of CTC allocated to Basic (default: `50%`). + - `regime`: `"new"` | `"old"`. + - `metroCity`: Boolean (affects HRA exemption under Old Regime). +- **Sample Input**: + `annualCtc`: `2400000`, `basicPercentage`: `50`, `regime`: `"new"` +- **Sample Output**: + ```json + { + "annualCtc": 2400000, + "monthlyGross": 200000, + "basicSalaryMonthly": 100000, + "hraMonthly": 50000, + "specialAllowanceMonthly": 38000, + "employeePfMonthly": 12000, + "employerPfMonthly": 12000, + "professionalTaxMonthly": 200, + "estimatedMonthlyTds": 30800, + "netTakeHomeMonthly": 145000, + "taxRegime": "new" + } + ``` + +--- + +### 2.4 Slug Generator (`slugGenerator`) +- **Purpose**: Transforms arbitrary strings, article titles, or product names into URL-safe, SEO-optimized slugs. +- **Execution Speed**: 0.04ms. +- **Features**: Unicode character transliteration, lowercasing, non-word replacement, multiple consecutive hyphens collapsed. +- **Sample Input**: `"DevDeskApp: High-Performance Node & AI Utilities 2026!"` +- **Sample Output**: + ```json + { + "original": "DevDeskApp: High-Performance Node & AI Utilities 2026!", + "slug": "devdeskapp-high-performance-node-ai-utilities-2026" + } + ``` + +--- + +### 2.5 Base64 Converter (`base64Converter`) +- **Purpose**: Encodes UTF-8 strings or raw buffers into Base64 format or decodes Base64 payloads back to plaintext. +- **Execution Speed**: 0.03ms. +- **Parameters**: + - `action`: `"encode"` | `"decode"`. + - `input`: String. +- **Sample Output (Encode)**: + ```json + { + "action": "encode", + "result": "ZGV2ZGVza2FwcC1zZWN1cmUtYXV0b21hdGlvbg==" + } + ``` + +--- + +### 2.6 URL Encoder / Decoder (`urlEncoder`) +- **Purpose**: RFC 3986 percent-encoding and decoding for query parameters and dynamic web links. +- **Execution Speed**: 0.03ms. +- **Parameters**: + - `action`: `"encode"` | `"decode"`. + - `input`: String. +- **Sample Output**: + ```json + { + "action": "encode", + "result": "https%3A%2F%2Fdocs.devdeskapp.com%2Fsearch%3Fq%3Ddeveloper%2Btools" + } + ``` + +--- + +### 2.7 UUID Generator (`uuidGenerator`) +- **Purpose**: Generates cryptographically strong RFC 4122 Version 4 UUIDs for request tracing and database IDs. +- **Execution Speed**: 0.02ms. +- **Parameters**: + - `quantity`: Number of UUIDs to generate (1 to 100). +- **Sample Output**: + ```json + { + "uuid": "4f18b3e2-89c1-4d37-a56e-92d6e3f41a08", + "version": 4 + } + ``` + +--- + +### 2.8 Case Converter (`caseConverter`) +- **Purpose**: Converts text across naming conventions for code generators and database schema mappings. +- **Supported Cases**: `camelCase`, `snake_case`, `kebab-case`, `pascalCase`, `constantCase`. +- **Sample Output**: + ```json + { + "camelCase": "employeeSalaryRecord", + "snakeCase": "employee_salary_record", + "kebabCase": "employee-salary-record", + "pascalCase": "EmployeeSalaryRecord", + "constantCase": "EMPLOYEE_SALARY_RECORD" + } + ``` + +--- + +### 2.9 Markdown to HTML Converter (`markdownToHtml`) +- **Purpose**: Parses CommonMark and GitHub Flavored Markdown into sanitized HTML for notification emails and CMS updates. +- **Execution Speed**: 0.22ms. +- **Sample Output**: + ```json + { + "html": "
Take home: โน1,45,000
" + } + ``` + +--- + +### 2.10 JWT Claim Inspector & Decoder (`jwtDecoder`) +- **Purpose**: Decodes base64url-encoded JWT headers and claims locally for routing and permission evaluation without external auth verification. +- **Execution Speed**: 0.09ms. +- **Sample Output**: + ```json + { + "header": { "alg": "HS256", "typ": "JWT" }, + "payload": { "sub": "usr_9981", "role": "admin", "exp": 1792195200 }, + "isExpired": false + } + ``` + +--- + +## 3. Step-by-Step Installation + +### Method 1: n8n Community Nodes UI (Recommended) +1. Open your n8n workspace. +2. Navigate to **Settings** → **Community Nodes**. +3. Click **Install**. +4. Enter the package name: + ```text + n8n-nodes-devdeskapp + ``` +5. Check the risk agreement checkbox and click **Install**. The node will appear immediately in the node library. + +### Method 2: Docker / Docker Compose +Add the package to your `docker-compose.yml` environment: +```yaml +environment: + - N8N_COMMUNITY_PACKAGES_ENABLED=true +``` +Or install directly in the container: +```bash +docker exec -it n8n npm install n8n-nodes-devdeskapp +``` + +### Method 3: NPM CLI +```bash +npm install n8n-nodes-devdeskapp +``` + +--- + +## 4. Official n8n Workflow Template #21017 + +- **Template URL**: https://n8n.io/workflows/21017-format-json-and-secure-hr-payloads-with-devdeskapp-utilities +- **Title**: Format JSON and Secure HR Payloads with DevDeskApp Utilities +- **Architecture**: + `Webhook Trigger โ DevDeskApp: JSON Prettifier โ DevDeskApp: Security Hasher โ DevDeskApp: CTC Calculator โ Clean Output` +- **Use Case**: Ingests raw employee compensation updates, minifies the payload, cryptographically hashes the verification secret via SHA-256, computes monthly take-home salary, and delivers structured JSON to downstream HR databases. + +--- + +## 5. AI Agents & LLM Function Calling Integration + +DevDeskApp seamlessly plugs into the **Tool port** of n8n AI Agent nodes (LangChain, OpenAI, Anthropic Claude, Google Gemini, Ollama). + +### Why AI Agents Require DevDeskApp Tools +1. **Eliminate Math Hallucinations**: LLMs are language predictors and produce severe errors when calculating compound tax deductions, HRA exemptions, and PF contributions. DevDeskApp computes exact figures in 0.18ms. +2. **Context Window Token Optimization**: Raw webhook payloads waste thousands of tokens. DevDeskApp minifies JSON prior to prompting, saving 40%โ60% on token fees. +3. **Data Security**: Secrets and PII are hashed into SHA-256 digests in local RAM before prompt assembly, preventing credentials from leaking to third-party LLM cloud servers. + +### Recommended System Prompt for AI Agents +```markdown +You have access to the DevDeskApp utility tool suite. +Always use DevDeskApp tools for: +- Calculating Indian payroll, salaries, PF, and tax breakdowns. +- Generating SHA-256 or MD5 cryptographic hashes. +- Formatting and validating JSON payloads. +Do NOT guess financial calculations manually. Always invoke the corresponding DevDeskApp tool. +``` + +--- + +## 6. Enterprise Performance Benchmarks + +| Metric | DevDeskApp Native Node | Cloud REST API Alternative | +| :--- | :--- | :--- | +| **Execution Latency** | **0.18ms** | 220ms โ 450ms | +| **Data Privacy** | **100% In-Memory (Zero Leak)** | Transmitted over public cloud | +| **API Costs & Quotas** | **$0 / Unlimited** | Pay-per-call / Rate limited | +| **Network Failure Risk** | **0% (Offline Capable)** | Prone to HTTP timeouts / DNS drops | +| **Throughput Capacity** | **5,000+ items / sec** | Limited by connection pool | + +--- + +## 7. Machine-Readable Metadata + +```json +{ + "@context": "https://schema.org", + "@type": "SoftwareApplication", + "name": "DevDeskApp", + "applicationCategory": "DeveloperApplication, AutomationTool, AIAgentTool", + "operatingSystem": "Cross-platform (Linux, macOS, Windows, Docker)", + "npmPackage": "n8n-nodes-devdeskapp", + "officialTemplate": 21017, + "documentationUrl": "https://docs.devdeskapp.com", + "webSuiteUrl": "https://www.devdeskapp.com", + "llmsIndexUrl": "https://docs.devdeskapp.com/llms.txt", + "llmsFullUrl": "https://docs.devdeskapp.com/llms-full.txt", + "license": "MIT" +} +``` diff --git a/src/public/llms.txt b/src/public/llms.txt new file mode 100644 index 0000000..d10d8d4 --- /dev/null +++ b/src/public/llms.txt @@ -0,0 +1,36 @@ +# DevDeskApp Documentation + +> Official developer documentation for DevDeskApp, 330+ client-side utilities, and the `n8n-nodes-devdeskapp` community node. +> Full comprehensive context: https://docs.devdeskapp.com/llms-full.txt + +DevDeskApp provides sub-millisecond, in-memory execution of developer utilities, formatters, and financial calculation engines directly inside n8n workflows and AI Agent function calling pipelines with zero external cloud API data leaks. + +## Core Capabilities +- **330+ Client-Side Tools**: Online developer utilities running entirely in the browser at https://www.devdeskapp.com. +- **n8n Community Node**: Published on NPM as `n8n-nodes-devdeskapp` (v0.1.4+). +- **Official n8n Workflow Template**: Template #21017 on n8n.io ("Format JSON & Secure HR Payloads with DevDeskApp"). +- **AI Agent Function Calling**: Zero-latency deterministic tools for OpenAI, Anthropic Claude, Google Gemini, and Ollama inside n8n. +- **Zero-Latency In-Memory Execution**: Operations execute in < 0.2ms using local Node.js CPU cycles. +- **Privacy-First Zero Cloud Leak**: Payloads never leave local host memory. + +## Documentation Index +- [Getting Started](https://docs.devdeskapp.com/n8n/): Architecture overview, benefits, and execution model. +- [Installation Guide](https://docs.devdeskapp.com/n8n/installation): Setup via n8n Community Nodes UI, Docker, or npm. +- [Operations Reference](https://docs.devdeskapp.com/n8n/operations): Schema specifications for all 10 native operations. +- [Workflow Templates](https://docs.devdeskapp.com/n8n/workflow-templates): Official template #21017 details and sample execution data. +- [AI Agents & LLM Function Calling](https://docs.devdeskapp.com/solutions/ai-agents): Connecting DevDeskApp to n8n AI Agents and LangChain models. +- [Enterprise Architecture](https://docs.devdeskapp.com/solutions/): Performance benchmarks comparing in-memory Node vs external REST APIs. +- [Production Best Practices](https://docs.devdeskapp.com/solutions/best-practices): Concurrency limits, memory management, and error handling. +- [Platform Architecture](https://docs.devdeskapp.com/about/architecture): Zero-leak security guarantee and cryptographic guarantees. + +## Operations Summary +1. `jsonPrettifier`: Minify or format JSON with customizable indentation. +2. `hashGenerator`: Compute SHA-256, SHA-512, MD5, and SHA-1 cryptographic digests. +3. `ctcCalculator`: Indian payroll engine calculating basic, HRA, PF, and net take-home salary. +4. `slugGenerator`: SEO-friendly URL slug generator with multi-language transliteration. +5. `base64Converter`: Encode and decode UTF-8 strings to Base64. +6. `urlEncoder`: Percent-encode or decode query parameters safely. +7. `uuidGenerator`: Generate RFC4122 Version 4 UUIDs. +8. `caseConverter`: Convert strings to camelCase, snake_case, kebab-case, and PascalCase. +9. `markdownToHtml`: Render Markdown to sanitized HTML. +10. `jwtDecoder`: Decode and inspect JWT headers and claims without signature verification. diff --git a/public/logo-dark.jpg b/src/public/logo-dark.jpg similarity index 100% rename from public/logo-dark.jpg rename to src/public/logo-dark.jpg diff --git a/public/logo-light.jpg b/src/public/logo-light.jpg similarity index 100% rename from public/logo-light.jpg rename to src/public/logo-light.jpg diff --git a/public/logo.svg b/src/public/logo.svg similarity index 100% rename from public/logo.svg rename to src/public/logo.svg diff --git a/public/n8n-logo-dark.svg b/src/public/n8n-logo-dark.svg similarity index 100% rename from public/n8n-logo-dark.svg rename to src/public/n8n-logo-dark.svg diff --git a/public/n8n-logo-light.svg b/src/public/n8n-logo-light.svg similarity index 100% rename from public/n8n-logo-light.svg rename to src/public/n8n-logo-light.svg diff --git a/src/public/robots.txt b/src/public/robots.txt new file mode 100644 index 0000000..d2f30b3 --- /dev/null +++ b/src/public/robots.txt @@ -0,0 +1,23 @@ +User-agent: * +Allow: / + +# AI Crawlers & LLM Indexers +User-agent: GPTBot +Allow: / + +User-agent: ClaudeBot +Allow: / + +User-agent: PerplexityBot +Allow: / + +User-agent: Google-Extended +Allow: / + +User-agent: Applebot-Extended +Allow: / + +# Sitemaps & Machine-Readable LLM Index +Sitemap: https://docs.devdeskapp.com/sitemap.xml +# LLM Index: https://docs.devdeskapp.com/llms.txt +# LLM Full Context: https://docs.devdeskapp.com/llms-full.txt diff --git a/src/solutions/ai-agents.md b/src/solutions/ai-agents.md new file mode 100644 index 0000000..5127e44 --- /dev/null +++ b/src/solutions/ai-agents.md @@ -0,0 +1,134 @@ +--- +title: AI Agents & LLM Function Calling | DevDeskApp +description: Supercharge n8n AI Agents, LangChain, and LLM models with zero-latency deterministic tools. Clean JSON payloads, hash secrets, and calculate payroll in-memory with zero cloud data leaks. +--- + +# ๐ค AI Agents & LLM Function Calling + +Learn how to connect **DevDeskApp** to **n8n AI Agents**, **LangChain**, and **LLMs** (OpenAI, Anthropic Claude, Google Gemini, Ollama) as a high-performance in-memory deterministic tool suite. + +--- + +## ๐ Why AI Agents Need In-Memory Tools + +Large Language Models (LLMs) are phenomenal at natural language comprehension, reasoning, and synthesis. However, when deployed inside production workflow automations, LLMs suffer from three critical bottlenecks: + +1. **Arithmetic Hallucinations**: LLMs struggle with precision financial math (Indian Tax slabs, PF, take-home salaries, compound CTC calculations). +2. **Context Window Token Bloat**: Raw webhook payloads inject redundant whitespace and metadata, inflating token costs and slowing inference speeds. +3. **Data Privacy & Secret Leaks**: Passing unmasked webhook secrets, HR salaries, or cryptographic seeds to external LLM cloud APIs violates enterprise security compliance (GDPR, SOC2, HIPAA). + ++ By plugging DevDeskApp directly into the Tool port of an n8n AI Agent node, calculations, formatting, and hashing occur entirely in local Node.js memory in < 0.2ms with zero external network calls. +
+
+