OTUI Editor is licensed for personal, non-commercial use only. Commercial use, resale, or closed-source redistribution is strictly prohibited. Contributions are welcome via pull requests.
Visual editor for OTClient UI files. Example: https://otui.otveterans.net/
# Install server dependencies
cd server
npm install
cd ..Or use the convenience script:
npm run install-depsFrom the root directory:
npm startOr from the server directory:
cd server
npm startThe server will start on port 3000 by default.
- Local:
http://localhost:3000 - Production:
http://otveterans.net(if configured with reverse proxy)
otui/
├── server/ # Express server
│ ├── server.js # Main server file
│ ├── package.json # Server dependencies
│ ├── lib/ # Server-side modules
│ └── data/ # User data and sessions
├── OBJS/ # Client-side JavaScript
├── otui_builder.html # Main HTML file
├── otui_builder.css # Styles
├── otui_builder.js # Script loader
└── package.json # Root package.json (for convenience)
- Always run
npm installin theserver/directory first - The server serves both the frontend files and API endpoints
- Authentication is required to use the application
- See
server/AUTH_SETUP.mdfor authentication setup - See
server/DEPLOYMENT.mdfor deployment instructions
If you get "ENOENT" errors:
- Make sure you're in the correct directory
- Run
npm installin theserver/directory - Check that all files are present
If port 3000 is in use:
PORT=3001 npm start