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 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-one-terminal

v0.0.1-rc

Published

Scaffold and upgrade OneTerminal workspaces — a Tauri 2 + FDC3 window-manager framework for financial desktop applications

Readme

create-one-terminal

Scaffold and upgrade OneTerminal workspaces — a Tauri 2 + FDC3 window-manager framework for financial desktop applications.

npm create one-terminal@latest

Requirements


Creating a new workspace

npm create one-terminal@latest
# or
npx create-one-terminal

The CLI walks you through a short set of prompts:

| Prompt | Example | Notes | |---|---|---| | Workspace name | acme-trading | kebab-case, used as the npm scope and Cargo workspace name | | Output folder | ./acme-trading | defaults to ./<workspace-name> | | Tauri bundle identifier | com.acme.trading | reverse-domain, dot-separated lowercase segments | | Include FDC3 integration | Yes | adds ot-fdc3, fdc3-client, and fdc3-plugin | | Customize default ports | No | optional — see port table below |

After confirming, the CLI renders the full monorepo and prints next steps.

Default ports

| Service | Default | Notes | |---|---|---| | App Directory | 3005 | Express AppD API + management UI | | TCP Broker | 7890 | OT_TCP_PORT | | FDC3 Bus WebSocket | 7891 | OT_FDC3_BUS_PORT | | DACP Bridge | 4475 | OT_DACP_PORT | | Terminal Vite dev | 1422 | | | Desktop Agent Vite dev | 1421 | |

All ports can be customized during scaffolding or overridden at runtime via OT_* environment variables.

Scaffolded layout

<workspace>/
├── Cargo.toml                    # Rust workspace
├── package.json                  # npm workspace
├── apps/
│   ├── one-terminal/             # Tauri 2 window manager (the Terminal)
│   ├── desktop-agent/            # Tauri 2 FDC3 broker + engine launcher
│   ├── app-directory/            # Express AppD API + React management UI
│   ├── tauri-webview-host/       # thin host for pinned WKWebView/WebView2
│   ├── electron-host/            # thin Electron host for Electron-engine apps
│   ├── sample-ticker/            # demo app (port 3010)
│   └── sample-chart/             # demo app (port 3011)
└── packages/
    ├── ot-core/                  # shared Rust crate (no Tauri deps)
    ├── ot-fdc3/                  # shared Tauri plugin: FDC3 2.2 TCP spoke client  *
    ├── fdc3-client/              # TypeScript FDC3 types + Fdc3Agent               *
    └── fdc3-plugin/              # browser FDC3 agent (fdc3-plugin.js)             *

* Only included when FDC3 integration is enabled.

Starting the workspace

cd <workspace>
npm install
npm run dev:app-directory   # start first
npm run dev:desktop-agent   # start second
npm run dev:terminal        # start last

Upgrading an existing workspace

npx create-one-terminal upgrade

Run this inside an existing OneTerminal workspace. The CLI:

  1. Reads the current framework version from package.json (oneTerminal.version)
  2. Builds the migration chain from your version to the latest
  3. Shows a summary of each migration and asks for confirmation
  4. Creates a snapshot of all affected files (used for rollback on failure)
  5. Applies migrations in order — three migration types are supported:
    • dep-bump — updates dependency versions in package.json or Cargo.toml
    • config-merge — deep-merges a JSON patch into a config file
    • structural — adds new files, or inserts/replaces lines in existing files by pattern
  6. Writes upgrade-report.md listing every migration's outcome (applied / skipped / needs-manual-review)
  7. Updates oneTerminal.version in package.json

If any migration fails, all changes are rolled back atomically from the snapshot.


Version tracking

After scaffolding, your workspace package.json contains a metadata block that the upgrade command reads:

{
  "oneTerminal": {
    "version": "0.1.2",
    "scaffoldedAt": "2026-05-04"
  }
}

Do not remove or edit this block manually.


License

MIT