npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@teipublisher/jinks-cli

v1.1.0

Published

A command-line interface tool for managing TEI Publisher applications with Jinks

Readme

@teipublisher/jinks-cli

A command-line interface tool for managing TEI Publisher applications with (https://github.com/eeditiones/jinks)[Jinks].

Installation

npm install -g @teipublisher/jinks-cli

Usage

After installation, you can use the jinks command from anywhere in your terminal.

Commands

jinks list

List 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

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
  • -f, --force - Ignore last modified date and check every file for changes

jinks 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
  • -f, --force - Ignore last modified date and check every file for changes

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> - Password

jinks 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> - Password

jinks 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 banner

jinks 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 banner

Examples

Create a new application interactively

jinks create

Create a new application with specific abbreviation

jinks create my-tei-app

Edit an existing application (with interactive selection)

jinks edit

Edit a specific application

jinks edit my-tei-app

Update an application with force flag

jinks update my-tei-app --force

Run a reindex action (with interactive action selection)

jinks run my-tei-app

Run a specific action

jinks run my-tei-app reindex

Create a new feature profile

jinks create-profile my-feature --out ./my-feature

Edit an existing profile

jinks edit-profile ./my-feature

Connect to a different server

jinks list --server http://my-server:8080/exist/apps/jinks

Interactive Features

The CLI provides rich interactive features:

  • Application Selection: When no application abbreviation is provided, you'll be presented with a list of installed applications to choose from
  • Action Selection: When running actions, you can select from available actions if none is specified
  • Profile Selection: Interactive checkboxes for selecting features and dependencies
  • Conflict Resolution: Automatic detection and resolution of file conflicts during updates
  • Dependency Management: Automatic detection and addition of missing dependencies

Configuration

The CLI connects to a Jinks server running on eXist-db. By default, it connects to:

  • Server: http://localhost:8080/exist/apps/jinks
  • Username: tei
  • Password: simple

You can override these defaults using command-line options.

Profile Types

When creating profiles, you can choose from three types:

  • Blueprint: Base configuration for an application
  • Feature: Reusable functionality module
  • Theme: Styling and appearance configuration

Requirements

  • Node.js 18.0.0 or higher
  • A running eXist-db instance with Jinks installed

License

GPL-3.0-or-later

Repository

https://github.com/eeditiones/jinks