open-index/open-npm huggingface dataset:
npm package: @reality.hk/sqliteproxy
Description: HTTP JSON Proxy for SQLite
Author: siuying
Latest version: 0.5.2

# SQLiteProxy + Mozilla Porter stemmer for CJK FTS

My fork on [SQLiteProxy](https://github.com/assafmo/SQLiteProxy) with additional Mozilla Porter stemmer for CJK FTS.

A simple HTTP JSON proxy for SQLite.  
This probably should not be exposed to end users. :-)

[![npm version](https://badge.fury.io/js/sqliteproxy.svg)](https://badge.fury.io/js/sqliteproxy)

# Installation

```
npm install -g @reality.hk/sqliteproxy
```

# Options

```
Usage: sqliteproxy [options]

Options:
  --db: DB File path
    (default: "")
  --[no]readonly: Open the database for readonly
    (default: false)
  --port: TCP Port to listen on
    (default: 2048)
    (a number)
```

# Usage examples

## Existing DB

```
$ sqliteproxy --db ./examples/vt.db
^Z
[1]  + 23436 suspended sqliteproxy --db ./examples/vt.db
$ bg
[1]  + 23436 continued sqliteproxy --db ./examples/vt.db
$ curl 'http://localhost:2048' \
-d sql='select * from vt where md5 = "0060cc2e24f259545558ebd8834dc345"' -L | jq . # POST /
[
  {
    "md5": "0060cc2e24f259545558ebd8834dc345",
    "av_score": "7/61"
  }
]
$ curl 'http://localhost:2048' -G \
--data-urlencode sql='select * from vt where md5 = "0060cc2e24f259545558ebd8834dc345"' -L | jq . # GET /
[
  {
    "md5": "0060cc2e24f259545558ebd8834dc345",
    "av_score": "7/61"
  }
]
$ curl 'http://localhost:2048' -d sql='create table x(a)' -L
[]
$ curl 'http://localhost:2048' -d sql='drop table x' -L
[]
$ fg
[1]  + 23436 running    sqliteproxy --db ./examples/vt.db
^C
```

## Read only

```
$ sqliteproxy --db ./examples/vt.db --readonly
^Z
[1]  + 23447 suspended sqliteproxy --db ./examples/vt.db --readonly
$ bg
[1]  + 23447 continued sqliteproxy --db ./examples/vt.db --readonly
$ curl 'http://localhost:2048' -d sql='create table x(a)' -L
SQLITE_READONLY: attempt to write a readonly database
$ fg
[1]  + 23447 running    sqliteproxy --db ./examples/vt.db --readonly
^C
```

## New DB

```
$ sqliteproxy --db myNewDb.sqlite
^Z
[1]  + 23453 suspended sqliteproxy --db myNewDb.sqlite
$ bg
[1]  + 23453 continued sqliteproxy --db myNewDb.sqlite
$ curl 'http://localhost:2048' -d sql='create table x(a)' -L
[]
$ curl 'http://localhost:2048' -d sql='insert into x values (1),(2),(3)' -L
[]
$ curl 'http://localhost:2048' -d sql='select * from x' -L
[
  {
    "a": 1
  },
  {
    "a": 2
  },
  {
    "a": 3
  }
]
$ fg
[1]  + 23453 running    sqliteproxy --db myNewDb.sqlite
^C
```

# Docker

[https://hub.docker.com/r/siuying/sqliteproxy](https://hub.docker.com/r/siuying/sqliteproxy/)

```
docker run -d -p 2048:2048 -v /path/to/my/db/dir/:/data/ siuying/sqliteproxy --db /data/my.db
```

```
docker run -d -p 2048:2048 -v /path/to/my/db/dir/:/data/ siuying/sqliteproxy --readonly --db /data/my.db
```

# License

[MIT](/LICENSE)
npm package: @realize-it/eslint-config
Description: Набор общих правил и плагинов eslint для фронтенд-проектов компании Realize
Latest version: 0.1.2

# eslint-config

В данный пакет входит набор рекомендуемых правил и плагинов для фронтенд-проектов компании Realize.

## Установка пакета

Самостоятельно установить `eslint` версии 7 или выше:

`npm i eslint`

Установить данный набор правил и конфигов:

`npm install @realize-it/eslint-config`

Расширить свой конфиг `.eslintrc.js` или аналогичный:

```
extends: [
    '@realize-it/eslint-config',
],
```

### Обновление пакета

`npm update @realize-it/eslint-config`

## Плагины и готовые конфиги правил

| Плагин/конфиг | Версия | Используется для extends |
| ------ | ------ | ------ |
| eslint | (peer) | eslint:recommended  |
| [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb) | 18.2.1 | eslint-config-airbnb <br /> eslint-config-airbnb/hooks |
| [eslint-plugin-jest](https://www.npmjs.com/package/eslint-plugin-jest) | 24.1.3 | plugin:jest/all |
| [eslint-plugin-unicorn](https://www.npmjs.com/package/eslint-plugin-unicorn) | 26.0.1 | ➖ |
| [eslint-plugin-eslint-comments](https://www.npmjs.com/package/eslint-plugin-eslint-comments) | 3.2.0 | plugin:eslint-comments/recommended |
| [eslint-plugin-sonarjs](https://www.npmjs.com/package/eslint-plugin-sonarjs) | 0.5.0 | plugin:sonarjs/recommended |
| [eslint-plugin-jsdoc](https://www.npmjs.com/package/eslint-plugin-jsdoc) | 31.0.8 | plugin:jsdoc/recommended |
| [eslint-plugin-unused-imports](https://www.npmjs.com/package/eslint-plugin-unused-imports) | 1.0.1 | ➖ |
| [@typescript-eslint/eslint-plugin](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin) | 4.14.0 | plugin:@typescript-eslint/recommended |

### no-console

По умолчанию `no-console` настроен на `warn`. Вместо этого рекомендуется отключить это правило,
заменив его на [babel-plugin-transform-remove-console](https://www.npmjs.com/package/babel-plugin-transform-remove-console).

### Особенности использования без TypeScript (JavaScript-only проекты)

Переопределить правила:

```
'unused-imports/no-unused-imports-ts': 'off',
'unused-imports/no-unused-vars-ts': 'off',
```

Вместо этого включить:

```
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': ['error', {
    vars: 'all',
    args: 'after-used',
    ignoreRestSiblings: true,
    argsIgnorePattern: '^_',
}],
```

### Прочие инструменты

[eslint-import-resolver-typescript](https://www.npmjs.com/package/eslint-import-resolver-typescript)

### Про не включенные рекомендуемые наборы правил

Набор рекомендуемых правил `unicorn` отключен по умолчанию по причине чрезмерной жесткости.
При желании можно расширить свой конфиг, добавив в него `plugin:unicorn/recommended`.

### Прочие плагины

Также вы можете найти полезными следующие плагины и инструменты:

* [eslint-plugin-boundaries](https://www.npmjs.com/package/eslint-plugin-boundaries)
* [eslint-import-resolver-alias](https://www.npmjs.com/package/eslint-import-resolver-alias)
npm package: @realize-os/cli
Description: RealizeOS CLI — Deploy and manage your AI operations system with Docker
Author: RealizeOS Team
Latest version: 5.0.6

# @realize-os/cli

Deploy and manage your **RealizeOS** AI operations system with Docker — from a single command.

## Quick Start

```bash
# Create a new project
npx realize-os init my-project
cd my-project

# Add your API keys
nano .env

# Start the system
npx realize-os start

# Check status
npx realize-os status
```

## Commands

| Command | Description |
|---------|-------------|
| `realize-os init [dir]` | Scaffold a new project (docker-compose, .env, config) |
| `realize-os start [dir]` | Start Docker containers |
| `realize-os stop [dir]` | Stop Docker containers |
| `realize-os status [dir]` | Check system health and container status |
| `realize-os logs [dir]` | Tail container logs |
| `realize-os upgrade [dir]` | Pull latest image and restart |
| `realize-os venture list` | List all configured ventures |
| `realize-os venture create` | Create a new venture |
| `realize-os venture export` | Export a venture |
| `realize-os venture import` | Import a venture |

## Init Options

```bash
npx realize-os init my-project \
  --port 9090 \
  --with-telegram \
  --with-gws \
  --image ghcr.io/sufzen/realizeos:v5.0.0
```

| Option | Default | Description |
|--------|---------|-------------|
| `--name` | `realize-os` | Project name |
| `--port` | `8080` | API port |
| `--image` | `ghcr.io/sufzen/realizeos:latest` | Docker image |
| `--with-telegram` | `false` | Include Telegram bot service |
| `--with-gws` | `false` | Include Google Workspace support |
| `--force` | `false` | Overwrite existing files |

## Requirements

- **Node.js** 18+ (for `npx`)
- **Docker** with Compose v2

## Development

```bash
cd realize-os-cli
npm install
npm run dev -- --help    # Run from source
npm run build            # Compile TypeScript
npm test                 # Run tests
```

## License

MIT
npm package: @reall3d/reall3dviewer
Description: reall3dviewer
Latest version: 2.5.2

# @reall3d/reall3dviewer

Install
```shell
npm i @reall3d/reall3dviewer
```

Use Reall3dViewer
```js
const viewer = new Reall3dViewer({ root: '#viewer2' });
viewer.addModel(`https://reall3d.com/demo-models/yz.spx`);
```

Use Reall3dMapViewer
```js
const mapViewer = new Reall3dMapViewer({ root: '#viewer4' });
mapViewer.addScenes('https://reall3d.com/demo-models/map/00.scenes.json');
```

# Links

- https://github.com/reall3d-com/Reall3dViewer
- https://github.com/reall3d-com/reall3dviewer-samples-use-npm-package
- https://github.com/gotoeasy/gsbox