tally-local-server
v1.2.5
Published
Local client/agent server bridging the cloud relay server (`tally-cloud-server`) with local Tally ERP/Prime instances.
Readme
tally-local-server
Local client/agent server bridging the cloud relay server (tally-cloud-server) with local Tally ERP/Prime instances.
Features
- WebSocket Client: Connects to the central WebSocket relay server (
ws://localhost:8080). - Tally Integration: Interacts directly with Tally using
tally-xml-tdlto query transactions and company data. - Command Handling: Processes dispatched actions (e.g.,
LASTtransaction queries).
Getting Started
Prerequisites
- Node.js (v18 or higher recommended)
- npm
- Tally ERP 9 / TallyPrime running locally with ODBC/XML server enabled
Installation
npm installRunning the Client
npm start
# or
node app.jsProject Structure
app.js- Main entry point; establishes WebSocket connectionws/connect.js- WebSocket client connection and lifecycle managementhandleMessage.js- Incoming message parser and dispatcherhandleCommand.js- Tally command execution viatally-xml-tdl
