
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@teipublisher/jinks-cli
Advanced tools
A command-line interface tool for managing TEI Publisher applications with Jinks
A command-line interface tool for managing TEI Publisher applications with Jinks.
npm install -g @teipublisher/jinks-cli
After installation, you can use the jinks command from anywhere in your terminal.
jinks -h or jinks --helpDisplay help information for the jinks CLI tool or for a specific command.
jinks -h
jinks create --help
jinks -v or jinks --versionDisplay the version number of the jinks CLI tool.
jinks -v
jinks listList all installed applications on the server.
jinks list
jinks create [abbrev]Create a new application. If no abbreviation is provided, you'll be prompted to enter one.
jinks create my-app
Options:
-s, --server <address> - Server address (default: http://localhost:8080/exist/apps/jinks)-u, --user <username> - Username (default: tei)-p, --password <password> - Password (default: simple)-e, --edit - Use text editor rather than interactive mode-q, --quiet - Do not print banner-c, --config <file> - Use the given configuration file rather than interactive mode to create the application.jinks edit [abbrev]Edit an existing application configuration. If no application is provided, you'll be prompted to select from installed applications.
jinks edit my-app
Options:
-s, --server <address> - Server address-u, --user <username> - Username-p, --password <password> - Password-e, --edit - Use text editor rather than interactive mode-q, --quiet - Do not print banner-r, --reinstall - Fully reinstall application, overwriting existing files-a, --all - Ignore last modified date and check every file for changesjinks update [abbrev]Update an existing application. If no application is provided, you'll be prompted to select from installed applications.
jinks update my-app
Options:
-s, --server <address> - Server address-u, --user <username> - Username-p, --password <password> - Password-q, --quiet - Do not print banner-r, --reinstall - Fully reinstall application, overwriting existing files-a, --all - Ignore last modified date and check every file for changes--sync - Sync updated files to the local directory (also always syncs .jinks.json and context.json)jinks config [abbrev]Get configuration for an application.
jinks config my-app
Options:
-x, --expand - Show the expanded configuration-s, --server <address> - Server address-u, --user <username> - Username-p, --password <password> - Passwordjinks run [abbrev] [action]Run an action on an installed application. If no action is provided, you'll be prompted to select from available actions.
jinks run my-app reindex
Options:
-U, --update - Perform an update of the application before running the action-s, --server <address> - Server address-u, --user <username> - Username-p, --password <password> - Passwordjinks create-profile [abbrev]Create a new profile (blueprint, feature, or theme) and save it to a directory. If the resulting package is built (with ant) and installed into the database, it will appear within jinks as a profile users can select to extend.
jinks create-profile my-feature
Options:
-s, --server <address> - Server address-u, --user <username> - Username-p, --password <password> - Password-o, --out <file> - Directory to save the profile configuration to-q, --quiet - Do not print bannerjinks edit-profile <dir>Edit an existing profile configuration.
jinks edit-profile ./my-feature
Options:
-s, --server <address> - Server address-u, --user <username> - Username-p, --password <password> - Password-q, --quiet - Do not print bannerjinks watch [dir]Watch a local directory for file changes and automatically synchronize them to the corresponding eXist-db collection. Reads the target collection and credentials from repo.xml in the watched directory.
jinks watch
jinks watch ./my-app
The target collection (/db/apps/<target>) and database credentials are taken from the <target> and <permissions> elements in repo.xml. The -u and -p options override the credentials from repo.xml when needed.
Synchronized events:
| Event | Action |
|---|---|
| File added or changed | Upload to database |
| File deleted | Remove from database |
| Directory added | Create collection in database |
| Directory deleted | Remove collection from database |
The following paths are never synchronized: .git, build, node_modules, *.xar, .DS_Store.
Options:
-s, --server <address> - Server address (default: http://localhost:8080/exist/apps/jinks)-u, --user <username> - Override the username from repo.xml-p, --password <password> - Override the password from repo.xmljinks create
jinks create my-tei-app
jinks edit
jinks edit my-tei-app
jinks update my-tei-app --all
jinks update my-tei-app --sync
jinks run my-tei-app
jinks run my-tei-app reindex
jinks create-profile my-feature --out ./my-feature
jinks edit-profile ./my-feature
jinks watch
jinks watch ./my-tei-app
jinks list --server http://my-server:8080/exist/apps/jinks
The CLI provides rich interactive features:
The CLI connects to a Jinks server running on eXist-db. By default, it connects to:
http://localhost:8080/exist/apps/jinksteisimpleYou can override these defaults using command-line options.
When creating profiles, you can choose from three types:
GPL-3.0-or-later
FAQs
A command-line interface tool for managing TEI Publisher applications with Jinks
We found that @teipublisher/jinks-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.