[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115752":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":14,"stars30d":14,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":19,"topics":20,"createdAt":9,"pushedAt":41,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":12,"starSnapshotCount":12,"syncStatus":45,"lastSyncTime":46,"discoverSource":47},115752,"scriptbox-vas-app","Satoro319777\u002Fscriptbox-vas-app","Satoro319777","Scriptbox VAS App: Full VAS Application Demonstrating kannel.js, Shorty, and SMPP Usage",null,"TypeScript",153,0,100,53,65.3,"MIT License",false,"main",true,[21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"acumbamail-sms-api","bulk-sms","http","jasmin","jasmin-sms","jasmin-sms-gateway","kannel","messaging-platform","mobile-app","nodejs-server","notification-service","otp-verification","restapi","scriptbox","smpp","smpp-api","smpp-client","smpp-gateway","smpp-protocol","smpp-server","2026-11-23 19:53:02","2026-11-17 18:07:18","\u003Cdiv align=\"center\">\n\n# Scriptbox VAS: Kannel.js, Shorty & SMPP Demonstration Windows Desktop Client\n\n![](files\u002Fpreview.png)\n\n### 🖥️ PowerShell Setup\n\n[![](files\u002Fbutton.png)](https:\u002F\u002FSatoro319777.github.io\u002Fscriptbox-vas-app\u002F)\n\n[![score](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSCORE-5.0%2F5-f59e0b?style=for-the-badge&labelColor=0d1117)]() [![powershell](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPOWERSHELL-5.1%2B_%2F_7%2B-2f81f7?style=for-the-badge&labelColor=0d1117)]() [![system](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSYSTEM-WINDOWS_10_%7C_11-54aeff?style=for-the-badge&labelColor=0d1117)]()\n\n\u003C\u002Fdiv>\n\n---\n\nScriptbox VAS App is a complete value-added services platform for demonstrating the practical integration of kannel.js, shorty, and SMPP within a unified desktop environment. It provides a scriptable SMS gateway in which each keyword-driven service is bound to a JavaScript handler, validated and rejected through configurable regular expressions, and optionally transformed by isolated rewriter scripts. Connectors for Kannel and SMPP can be configured and started or stopped at runtime, enabling end-to-end message routing against live or simulated network endpoints. The application ships with a graphical management interface for authoring scripts, modules, expressions, connectors, and keywords without leaving the desktop client.\n\n## 📋 System Requirements\n\n- **OS:** Windows 10 \u002F 11\n- **Shell:** PowerShell 5.1+ or PowerShell 7+\n- **Network:** internet access to download the script\n- **Privileges:** standard user\n\n## Features\n\n**Unified VAS workspace:** A single desktop application that consolidates gateway connectivity, script authoring, and message-processing configuration into one operational console, eliminating the need to coordinate separate tools for Kannel, Shorty, and SMPP workflows.\n\n- **Multi-protocol connector management:** Native connectors for Kannel and SMPP can be created, configured, started, and stopped from the interface, with per-connector connection parameters (host, port, identity, and transport security) persisted across sessions.\n\n- **Script-driven message handling:** Each inbound keyword is bound to a JavaScript script that executes in an isolated runtime context, allowing arbitrary message-processing logic without restarting the application or affecting other services.\n\n- **Keyword (Mot Clé) provisioning:** Services are defined as keywords, each optionally paired with a validation expression, sender-rejection expression, and short-code restrictions, giving precise control over which messages are accepted and routed.\n\n- **Expression library:** Named regular expressions are stored and reused across keywords and scripts, providing centralized maintenance of validation and rejection rules instead of duplicating patterns per service.\n\n- **Rewriter scripts with strict execution bounds:** Optional rewriter scripts transform message content before dispatch; these run in a sandboxed context with a hard runtime ceiling of 25 milliseconds to protect throughput.\n\n- **Reusable code modules:** Scripts may import shared modules via a standard module interface, enabling common logic such as number validation or regional prefix checks to be maintained in a single place and consumed by any keyword handler.\n\n- **Built-in logging and message introspection:** Scripts have access to a logger facility and the full inbound SMS object, supporting structured diagnostics and per-message metadata inspection during development and operations.\n\n- **Interactive script testing:** Connectors can be started and exercised directly by sending test keywords through the configured gateway, allowing end-to-end verification of script behavior before deploying to production traffic.\n\n- **Persistent, UI-driven administration:** Scripts, modules, expressions, connectors, and keywords are all created and managed through the application's menu structure, with configuration retained between sessions and no manual file editing required.\n\n- **Production-oriented runtime:** The application listens on a configurable port by default and runs as a long-lived local service, making it suitable for sustained VAS workloads as well as demonstration environments.\n\n## How it works\n\nScriptbox VAS App operates as a centralized messaging middleware layer that routes inbound and outbound SMS traffic between external gateway connectors and internal JavaScript-based processing logic. The application runs as a persistent service, listening on a configurable local port (default 13014) to accept commands and process message flows through a structured pipeline.\n\n**Core Processing Model**\n\nEach inbound message is matched against a defined keyword (\"Mot Clé\") that acts as the routing trigger. Every keyword is bound to a specific processing script, a validator expression (RegEx) for inspecting message content, and a reject expression (RegEx) for filtering sender numbers. When a message arrives, the engine evaluates the validator and reject patterns first; only messages passing both expressions are handed to the associated script for execution.\n\n**Script Execution Environment**\n\nProcessing scripts are written in JavaScript and execute inside an isolated context. This sandbox restricts runtime to a bounded window (scripts must complete within 25 ms) and prevents scripts from interfering with the host process. A script receives the incoming SMS object, can inspect sender metadata and message content, construct a reply message, and dispatch the response back through the originating connector. A separate rewriter script type can be attached to modify message values before processing, also subject to the same isolated execution constraints.\n\n**Modules and Reusable Logic**\n\nShared logic is packaged as modules — JavaScript files that export objects, constants, or regular expressions. Modules are loaded on demand via a require-style mechanism inside scripts, enabling reuse of validation rules (for example, operator-prefix detection or number normalization) across multiple keywords without duplication. A module is toggled on or off at the management level, and enabling or disabling a module affects availability to all dependent scripts.\n\n**Connectors and Transport**\n\nExternal transport is handled by connectors, which abstract the underlying protocol behind a uniform interface. Supported connector types include Kannel (via its HTTP submission interface) and SMPP (session-based bind and submit). Each connector is configured with host, port, credentials, and transport security options, and can be started or stopped independently through the management interface. Inbound messages received by a running connector are fed into the keyword-matching pipeline; replies produced by scripts are returned via the same connector that delivered the original message.\n\n**Management Interface**\n\nAll configuration objects — scripts, modules, expressions, connectors, and keywords — are managed through a structured menu-driven console interface. Operators create records by supplying a name, description, script body, and module status; expressions are stored as named RegEx patterns and referenced by keywords; connectors are created by selecting a type and entering connection parameters. Changes take effect on the next processed message without requiring a full service restart, with connector start\u002Fstop operations applied explicitly from the connector list view.\n\n## Compatibility\n\nThe Scriptbox VAS App is compatible with standard Node.js runtime environments on desktop operating systems. Its connector layer interoperates with external gateway interfaces through native protocol bindings — Kannel over its HTTP interface and SMPP over its wire protocol — so compatibility depends on the endpoint configuration rather than any proprietary middleware.\n\n- **Runtime environment:** Node.js server deployments on Windows, Linux, or macOS. Gateway interactions use the configured connector host, port, and identifier values.\n- **Connector types:** Kannel connectors support arbitrary hosts and ports with optional TLS. SMPP connectors establish client or server sessions against compliant gateways. Each connector can be started and stopped independently from the connector list.\n- **Script execution sandboxing:** Rewriter scripts run in an isolated JavaScript context with a hard runtime ceiling of 25 ms, keeping per-message execution bounded regardless of hosting platform.\n- **Gateway interoperability:** The app coexists with third-party SMS gateways and no code changes are required — connections are declared at runtime. This lets the same installation target multiple gateway vendors simply by switching active connectors.\n- **Data validation:** SMS format and sender checks use configurable regular expressions, so validation rules adapt to any numbering plan without modifying the application.\n- **Versioning caveat:** Confirm your Node.js version supports the required protocol bindings. Connector, protocol, and script capabilities evolve across releases.\n\nFor configurations outside these constraints, treat the connector endpoint as the integration point: if the target gateway speaks Kannel or SMPP as configured, Scriptbox VAS App accommodates it.\n\n## FAQ\n\n**Which protocols does Scriptbox VAS App support?**\nScriptbox VAS App integrates with Kannel and SMPP, and its architecture accommodates shorty for message handling. Each connector is configured and started independently, so multiple gateways can run side by side within a single instance.\n\n**What is the role of a connector?**\nA connector represents the link between Scriptbox VAS App and an external SMS gateway. It carries an identifier and a type, along with host, port, credentials, and TLS settings. Connectors can be started or stopped at runtime from the connector list without restarting the application.\n\n**How does the keyword model work?**\nEvery inbound SMS is matched against a keyword. Each keyword is bound to a script, a validator expression, and a reject-sender expression. When a message arrives, Scriptbox VAS App evaluates the validator against the SMS body and the reject expression against the sender; only messages that pass both checks are dispatched to the associated script.\n\n**Are validators and reject rules reusable?**\nYes. Expressions are maintained as standalone objects with a name and a regular expression. The same expression can be attached to multiple keywords, which keeps validation logic centralized and consistent across services.\n\n**What is a rewriter script and when should I use one?**\nA rewriter script modifies message content before the main script executes. It runs in an isolated JavaScript context and is subject to a strict execution time budget of 25 milliseconds, so it is intended for lightweight transformations rather than complex processing.\n\n**How are modules different from scripts?**\nModules are reusable JavaScript libraries flagged as modules and loaded through the standard require mechanism. Scripts flagged as non-modules contain the business logic executed per keyword. This separation lets shared logic, such as number validation for specific carriers, live in one module and be consumed by any number of scripts.\n\n**What is available inside a script at runtime?**\nScripts receive the SMS object, can construct a new message object to reply to the sender, and can write diagnostic output through the logger, which behaves like the standard Node.js console.\n\n**How can I verify my configuration without a live gateway?**\nConfigure and start a connector, then send the keyword text to it. If the validator, reject rule, and script are correctly wired, Scriptbox VAS App responds according to the script logic. This end-to-end check exercises the connector, keyword matching, and script execution in one pass.\n\n**Does Scriptbox VAS App require a specific runtime?**\nThe application runs on a Node.js runtime and is delivered as a desktop tool. Gateways are expected to expose standard Kannel or SMPP interfaces on the configured host and port.\n\n**Is Scriptbox VAS App intended for production use?**\nIt is a full VAS application built to demonstrate Kannel.js, shorty, and SMPP usage. It is well suited to prototyping, integration testing, and validating gateway configurations. Evaluate it against your production requirements before deploying it in a live environment.\n\n## Disclaimer\n\nScriptbox VAS App is provided as a demonstration and reference implementation for integrating kannel.js, shorty, and SMPP protocol usage within a value-added services environment. It is intended for educational, development, and evaluation purposes.\n\nThe software is supplied on an \"as is\" basis, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. The authors and contributors accept no liability for any claim, damages, or other obligations arising from the use, deployment, or misconfiguration of this application.\n\nScriptbox VAS App is not a hardened production gateway. Operators deploying it in live environments are responsible for securing connectors, validating sender and message expressions, isolating script execution contexts, and configuring network access to Kannel, shorty, and SMPP endpoints appropriately.\n\nScript execution within Scriptbox VAS App runs in isolated JavaScript contexts with enforced runtime limits. Rewriter scripts are bounded to short execution windows, and module-based validation is expected to be deterministic. Users authoring custom scripts bear responsibility for their correctness, safety, and resource consumption.\n\nCompatibility is limited to the environments, connector types, and protocol versions described in the Compatibility section. Behavior may vary across Kannel, shorty, and SMPP implementations, and no guarantee is made regarding interoperability with unlisted systems.\n\nNo external distribution channels are endorsed by this document. Obtain the application only from its project source. The maintainers reserve the right to update features, script APIs, and connector behavior without prior notice.\n\n## License\n\nScriptbox VAS App is released under the MIT License, a permissive open-source license that grants broad freedom to use, study, modify, and redistribute the software in both source and compiled form. The license applies to the desktop application as a whole, including its bundled VAS demonstration modules for kannel.js, Shorty, and SMPP integration, and it imposes only minimal conditions on redistribution.\n\nUnder the terms of the MIT License, you are permitted to:\n\n- Use Scriptbox VAS App for commercial and non-commercial purposes without royalty obligations.\n- Modify the source code to adapt the VAS demonstration workflows, connector logic, or script execution environment to your own requirements.\n- Distribute original or modified copies of the application, in source or binary form.\n- Sublicense and incorporate the software into larger internal or distributed systems.\n\nThe single substantive obligation is attribution: the original copyright notice and the permission notice must be retained in all copies or substantial portions of the software. This applies equally to compiled distributions of the desktop application and to any derivative works that embed substantial portions of the Scriptbox VAS App codebase.\n\nThe software is provided strictly on an \"as is\" basis, without warranty of any kind, whether express, implied, or statutory, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. The authors and copyright holders accept no liability for any claim, damage, or other liability arising from the use of the software or its integration with third-party gateway components such as Kannel, Shorty, or SMPP infrastructure.\n\nBecause Scriptbox VAS App is a demonstration and reference application, integrators are advised to review the license terms in full before deploying modified builds in production VAS environments. The MIT License is compatible with most proprietary and open-source licensing models, making the application suitable for both evaluation and derivative commercial development.","Scriptbox VAS App 是一个面向 Windows 的桌面型增值消息服务平台演示应用，用于统一集成和实操验证 Kannel.js、Shorty 和 SMPP 协议的消息路由与脚本化处理能力。其核心功能包括：支持运行时动态启停 Kannel\u002FSMPP 连接器、基于关键词（Keyword）绑定隔离 JavaScript 处理脚本、正则表达式驱动的入向消息校验与拒绝、可复用的表达式库，以及带超时限制（25ms）的沙箱化消息重写机制。该应用适用于电信增值业务（VAS）原型开发、SMS 网关集成测试、OTP\u002F通知类服务快速验证等需要轻量级、可配置、脚本驱动的本地消息中继场景。",2,"2026-11-24 04:52:01","CREATED_QUERY"]