open-index/open-npm huggingface dataset:
npm package: @jotx-labs/cli
Description: jotx command-line interface
Author: Aba Techlabs LLC
Latest version: 2.4.253

# @jotx-labs/cli

Command-line interface for jotx - demonstrates platform independence.

## Installation

```bash
npm install -g @jotx-labs/cli
```

## Usage

### Parse a file

```bash
jotx parse notes.jot
```

Shows the AST (Abstract Syntax Tree) of the document.

### Validate a file

```bash
jotx validate notes.jot
```

Checks if the file is valid jotx syntax.

### Convert to HTML

```bash
# Output to stdout
jotx convert notes.jot

# Output to file
jotx convert notes.jot -o notes.html
```

Converts a `.jot` file to HTML.

### Show info

```bash
jotx info notes.jot
```

Shows document metadata and statistics.

## Examples

```bash
# Validate all .jot files in current directory
for file in *.jot; do jotx validate "$file"; done

# Convert all .jot files to HTML
for file in *.jot; do jotx convert "$file" -o "${file%.jot}.html"; done

# Parse and pretty-print
jotx parse notes.jot | jq .
```

## Architecture

The CLI demonstrates jotx's platform independence:

- Uses `@jotx-labs/core` for parsing/validation
- Uses `NodePlatform` from `@jotx-labs/adapters` for file I/O
- Uses `HTMLRenderer` from `@jotx-labs/adapters` for output
- **Zero** VS Code dependencies
- **Zero** browser dependencies

Same core logic, different platform!

## Development

```bash
# Build
npm run build

# Test locally
node dist/cli.js parse test.jot
```
npm package: @jotx-labs/core
Description: jotx core - modular parser, blocks, and document system
Author: Aba Techlabs LLC
Latest version: 2.4.253

# @jotx-labs/core

Platform-agnostic core package for jotx note parsing and serialization.

## Installation

```bash
npm install
npm test
```

## Usage

```typescript
import { Tokenizer } from '@jotx-labs/core';

const tokenizer = new Tokenizer('hdef page MyNote');
const tokens = tokenizer.tokenize();
```

## Development

```bash
# Run tests
npm test

# Run tests in watch mode
npm run test:watch

# Build
npm run build
```

## Status

Week 1 - Tokenizer complete ✅
npm package: @jotx-labs/editor
Description: Shared Tiptap editor for jotx - works in VS Code, web, and Electron
Author: Aba Techlabs LLC
Latest version: 2.4.253

# @jotx-labs/editor

A powerful, schema-driven Tiptap editor for the Jotx ecosystem. Designed for use in VS Code, web applications, and Electron environments.

## Features

- **Rich Text Editing**: Built on top of Tiptap and Prosemirror.
- **Math Support**: KaTeX-powered LaTeX equation rendering with inline/block support and resize capabilities.
- **Diagrams**: Integrated Mermaid.js support for flowcharts, sequence diagrams, and more.
- **Media**: Image and video blocks with resizing and caption support.
- **Structured Content**: Support for tables, task lists, code blocks, and callouts.
- **Theming**: Fully themeable via CSS variables.

## Installation

```bash
npm install @jotx-labs/editor
```

## Usage

```tsx
import { JotxEditor } from '@jotx-labs/editor';
import '@jotx-labs/editor/dist/styles/JotxEditor.css';

function App() {
  return (
    <JotxEditor 
      content="Hello World" 
      onChange={(content) => console.log(content)} 
    />
  );
}
```

## License

Apache-2.0