open-index/open-npm huggingface dataset:
npm package: @neutralinojs/appify
Description: Convert any SPA to a lightweight desktop app - Appify plugin for Neutralinojs CLI
Latest version: 3.1.1

# neutralinojs-cli-appify
![npm](https://img.shields.io/npm/v/@neutralinojs/appify)
![npm](https://img.shields.io/npm/dt/@neutralinojs/appify)

Convert any SPA to a lightweight desktop app - Appify plugin for neu-cli


### How to install

Install neu-cli

```bash
npm install -g @neutralinojs/neu
```

Add appify plugin

```bash
neu plugins --add @neutralinojs/appify
```

Appify any web application

```bash
neu appify --title "MoviesZri" https://codezri.org/movieszri
```

### How to uninstall

Remove appify plugin

```bash
neu plugins --remove @neutralinojs/appify
```

### Appify is a plugin for neu

Check neu CLI plugin documentation [here](https://neutralino.js.org/docs/cli/neu-cli/#plugins) for more information about neu plugins.
npm package: @neutralinojs/lib
Description: JavaScript API for Neutralinojs
Author: Neutralinojs
Latest version: 6.7.0

# neutralino.js

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/neutralinojs/neutralino.js)](https://github.com/neutralinojs/neutralino.js/releases)
![npm](https://img.shields.io/npm/v/@neutralinojs/lib)
![npm](https://img.shields.io/npm/dt/@neutralinojs/lib)
[![GitHub last commit](https://img.shields.io/github/last-commit/neutralinojs/neutralino.js.svg)](https://github.com/neutralinojs/neutralino.js/commits/main)
![Build status](https://github.com/neutralinojs/neutralino.js/actions/workflows/ci.yml/badge.svg)

The official JavaScript client for [Neutralinojs](https://github.com/neutralinojs/neutralinojs). Neutralinojs CLI automatically downloads a minified version of `neutralino.js` and lets you use the Neutralinojs native API via the global `Neutralino` JavaScript object (aka `window.Neutralino`). Also, you can download this client from the NPM registry via a Node package manager and bundle with your application:

```bash
npm install @neutralinojs/lib
# --- or ---
yarn add @neutralinojs/lib
```

See Neutralinojs JavaScript API [documentation](https://neutralino.js.org/docs/api/overview) for more details. Release notes are available at [this page](https://neutralino.js.org/docs/release-notes/client-library/). This repository doesn't host the entire Neutralinojs codebase — this is the JavaScript client that Neutralinojs C++ server codebase loads. Browse the Neutralinojs server source code from [this repository](https://github.com/neutralinojs/neutralinojs).

## Developer's FAQ

How to build `neutralino.js` from this repository?

```bash
git clone https://github.com/neutralinojs/neutralino.js.git
cd neutralino.js
npm install
npm run build
```

How to test with the Neutralinojs server?

```bash
cd ../neutralinojs
bash ./bin/script_update_client.sh
./bin/neutralino-{platform}_{arch} --load-dir-res # Eg: ./bin/neutralino-linux_x64 --load-dir-res
```

### License

[MIT](LICENSE)

### Contributing to Neutralinojs

We really appreciate your code contributions. Please read [this contribution guide](https://neutralino.js.org/docs/contributing/framework-developer-guide#contribution-guidelines) before sending a pull request. Thanks for your contributions.

### Contributors

<a href="https://github.com/neutralinojs/neutralino.js/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=neutralinojs/neutralino.js" />
</a>

Made with [contributors-img](https://contrib.rocks).
npm package: @neutralinojs/neu
Description: neu CLI for Neutralinojs
Author: Neutralinojs and contributors
Latest version: 11.7.1

<div align="center"><img src="images/logo.png"/></div>

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/neutralinojs/neutralinojs-cli)](https://github.com/neutralinojs/neutralinojs-cli/releases)
![npm](https://img.shields.io/npm/v/@neutralinojs/neu)
![npm](https://img.shields.io/npm/dt/@neutralinojs/neu)
[![GitHub last commit](https://img.shields.io/github/last-commit/neutralinojs/neutralinojs-cli.svg)](https://github.com/neutralinojs/neutralinojs-cli/commits/main)
![Build status](https://github.com/neutralinojs/neutralinojs-cli/actions/workflows/test_suite.yml/badge.svg)

The official CLI of Neutralinojs. See neu CLI [documentation](https://neutralino.js.org/docs/cli/neu-cli/) for more details. Release notes are available at [this page](https://neutralino.js.org/docs/release-notes/cli).

```bash
npm i -g @neutralinojs/neu
```
### Requirements

- Node.js v12 or later version.
- npm, yarn, or any Node.js package manager.

### License

[MIT](LICENSE)

### Contributing to Neutralinojs

We really appreciate your code contributions. Please read [this contribution guide](https://neutralino.js.org/docs/contributing/framework-developer-guide#contribution-guidelines) before sending a pull request. Thank you for your contributions.

#### ⚠️ Notice for contributors
Please note that we would like to keep this project's dependencies list minimal as possible. Make sure that you don't add new dependencies (external `npm` modules) with your pull requests. Also, don't use latest Node/JavaScript features that won't work on older Node.js versions. Thank you :tada:

### Contributors

<a href="https://github.com/neutralinojs/neutralinojs-cli/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=neutralinojs/neutralinojs-cli" />
</a>

Made with [contributors-img](https://contrib.rocks).
npm package: @neutrino-io/platform
Description: RDS Postgres
Latest version: 0.1.29

## Usage Examples

RDS Postgres

```typescript
const infraDbBaas = new RdsPostgres(`${stackName}`, {
  vpcId: vpc.vpcId,
  subnetIds: vpc.privateSubnetIds,
  dbName: infraDbName,
  dbUser: infraDbUser,
  dbPassword: infraDbPassword,
});
```

Deploying Directus to ECS Cluster

```typescript
const ecsCluster = new aws.ecs.Cluster(`${stackName}-ecs`, {});

const systemBaas = new Neutrino(`${stackName}-baas`, {
  clusterArn: ecsCluster.arn,
  vpcId: vpc.vpcId,
  subnetIds: vpc.privateSubnetIds,
  securityGroupIds: vpc.appSecGrpIds,
  dbHost: infraDbBaas.dbAddress,
  dbPort: "5432",
  dbName: infraDbBaas.dbName,
  dbUser: infraDbBaas.dbUser,
  dbPassword: infraDbBaas.dbPassword.apply((p) => p || ""),
  s3BucketId: infraBucketFiles.id,
  s3Key: infraS3Key,
  s3Secret: infraS3Secret,
});
```

CF S3 Auth info
```shell
ID : 213016cbe4657a7dff10f7ef174c63df
Key : d6079213ce60fa0c6048fee8ea776a73e4b87820a26e3aa75776ce65960b46e2
```

Add following AWS profile credential

```
[cf-neutrino]
aws_access_key_id=213016cbe4657a7dff10f7ef174c63df
aws_secret_access_key=d6079213ce60fa0c6048fee8ea776a73e4b87820a26e3aa75776ce65960b46e2
```

CF API Token
```shell
SdN6QI4OWtUoGBTTcivzzCYnm8Mma4dhY1WItsOx
```

Login to Neutrino
```shell
export ORG_NAME=neutrino
export WORKSPACE=neutrino-infra
export STATE_ENDPOINT=endpoint=203a605533f37eb35da80dcf03a7bed6.r2.cloudflarestorage.com

pulumi login "s3://neutrino-states/$ORG_NAME/$WORKSPACE?$STATE_ENDPOINT?s3ForcePathStyle=true&region=auto&profile=cf-neutrino"
```

```shell
export PULUMI_CONFIG_PASSPHRASE=n3utr1n0

pulumi preview
```

Creating a new stack for current org

```shell
pulumi stack init organization/foundry360-infra/staging
```


# ARC Design

## Terminologies

**Organization** is top level organization of the stack represent the registered account.

**Workspace** is a logical grouping of the stack that can be a project name or application name.

**Stack** is a collection of infra or platform resources that are deployed together. A stack consist of its logical 'name' 
and 'environment' which will hold the state of the deployed stack.

**Stack Name** is a logical grouping that can be a project name or a group infra resource as 'hello-infra' or 'project-app'.

**Stack Environment** is a final state information of the deployed stack. Typically it can be 'dev', 'staging', 'prod' or 'test'.

## State backend management
<org>/<workspace>/.pulumi/stacks/<stack-name>/<stack-env>.json