Skip to main content

Installation

npm install -g @hkonda/loco-translate
loco

Or run without installing:

npx @hkonda/loco-translate

From source

git clone https://github.mieweb.com/webchart/loco.git
cd loco
npm install
npm run dev

This starts two processes:

  • Vite dev server on port 6100 (dashboard + proxy)
  • Fastify API on port 6101 (backend)

Production build

npm run build # build the dashboard
npm start # serve on :6101

System requirements

  • Node.js 20 or higher
  • npm 9 or higher

Data storage

Loco stores all data in a SQLite database (loco.db). By default it lives in .loco/ in the current working directory. You can change this with --data-dir or the LOCO_DATA_DIR environment variable.

The database is created automatically on first run. No setup or migrations needed.