open-index/open-npm huggingface dataset:
npm package: @liuyinlin/upload-server
Description: 上传本地文件夹到 Linux 服务器
Author: liuyinlin
Latest version: 1.0.13

# 上传本地文件到 Linux 服务器

使用场景：将打包的产物上传到部署服务器

## 安装

```sh
npm i @liuyinlin/upload-server -g
```

安装完成后，会提供 `upload [command] [options]` 命令

## 配置文件

### 生成配置文件

在当前目录下生成 `upload-server.config.mjs` 文件

```sh
upload init
```

### 支持以下配置文件的文件名

- `upload-server.config.json`
- `upload-server.config.js`
- `upload-server.config.ts`
- `upload-server.config.mjs`
- `upload-server.config.cjs`


### 配置文件选项

```ts
export declare type Config = {
    /**
     * 服务器 ip
     */
    host: string;
    /**
     * 端口
     * @default 22
     */
    port?: number;
    /**
     * 用户名
     * @default 'root'
     */
    username?: string;
    /**
     * 密码
     */
    password: string;
    /**
     * 上传到服务器的路径
     */
    serverPath: string;
    /**
     * 本地目录
     * @default 'dist'
     */
    localDir?: string;
    /**
     * 上传成功后是否删除本地文件
     * @default true
     */
    deleteLocalFile?: boolean;
    /**
     * 在删除服务器文件前，是否需要确认文件路径，如果为 `false` 则不会提示
     * @default true
     */
    confirmServerFilePath?: boolean;
};
```

## 上传文件

在上传文件之前，会先删除服务器的文件，命令行会提示你是否要删除，选择 `y` 即可，若发现文件路径不正确，选择 `n` 即可取消删除，也会取消上传

```sh
upload [-m, --mode mode]
```

-   -m, --mode：指定 `.env` 的 mode

    例如：`upload -m dev` 将会读取 `.env.dev` 和 `.env` 文件，前者会覆盖后者同名属性

## 配置文件使用环境变量

执行 `upload` 会默认读取 `.env` 文件（如果存在）

```properties
# .env
SERVER_USERNAME=root
SERVER_PASSWORD=123456
```

使用环境变量替换，语法 `%ENV_NAME%`

```js
/**
 * @type {import('@liuyinlin/upload-server').Config}
 */
export default {
    host: '127.0.0.1',
    port: 22,
    username: '%SERVER_USERNAME%',
    password: '%SERVER_PASSWORD%',
    serverPath: '/usr/local/nginx/html/dist',
    localDir: 'dist',
    deleteLocalFile: true
};
```

如果你的配置文件是 `js`，也可以直接使用 `process.env` 来读取环境变量

```js
/**
 * @type {import('@liuyinlin/upload-server').Config}
 */
export default {
    host: '127.0.0.1',
    port: 22,
    username: process.env.SERVER_USERNAME,
    password: process.env.SERVER_PASSWORD',
    serverPath: '/usr/local/nginx/html/dist',
    localDir: 'dist',
    deleteLocalFile: true
}
```
npm package: @liuyong25/create-egg
Description: Alias for egg-init, so you could use `npm init egg showcase`.
Author: TZ
Latest version: 0.0.0

# create-egg

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![NPM download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/create-egg.svg?style=flat-square
[npm-url]: https://npmjs.org/package/create-egg
[travis-image]: https://img.shields.io/travis/eggjs/create-egg.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/create-egg
[codecov-image]: https://codecov.io/gh/eggjs/create-egg/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/eggjs/create-egg
[david-image]: https://img.shields.io/david/eggjs/create-egg.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/create-egg
[snyk-image]: https://snyk.io/test/npm/create-egg/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/create-egg
[download-image]: https://img.shields.io/npm/dm/create-egg.svg?style=flat-square
[download-url]: https://npmjs.org/package/create-egg

Alias for [egg-init](https://github.com/eggjs/egg-init), so you could use `npm init egg showcase`.

Thanks to `npm init` feature introduced at npm@6, see [npm-init](https://docs.npmjs.com/cli/init) for more details.

## Usage

```bash
$ npm init egg showcase
$ npm init egg showcase --type=simple
```

[MIT](LICENSE)
npm package: @liuyong25/monorepo-test-foo
Author: TZ
Latest version: 0.0.4

# @liuyong25/monorepo-test-foo



[![NPM version](https://img.shields.io/npm/v/@liuyong25/monorepo-test-foo.svg?style=flat-square)](https://npmjs.org/package/@liuyong25/monorepo-test-foo)
[![NPM quality](http://npm.packagequality.com/shield/@liuyong25/monorepo-test-foo.svg?style=flat-square)](http://packagequality.com/#?package=@liuyong25/monorepo-test-foo)
[![NPM download](https://img.shields.io/npm/dm/@liuyong25/monorepo-test-foo.svg?style=flat-square)](https://npmjs.org/package/@liuyong25/monorepo-test-foo)

[![Continuous Integration](https://github.com/atian25/@liuyong25/monorepo-test-foo/actions/workflows/nodejs.yml/badge.svg)](https://github.com/atian25/@liuyong25/monorepo-test-foo/actions/workflows/nodejs.yml)
[![Test coverage](https://img.shields.io/codecov/c/github/atian25/@liuyong25/monorepo-test-foo.svg?style=flat-square)](https://codecov.io/gh/atian25/@liuyong25/monorepo-test-foo)

## Usage

```bash
npm i @liuyong25/monorepo-test-foo --save
```
npm package: @liuyong25/monorepo-test-utils
Author: TZ
Latest version: 0.0.2

# @liuyong25/monorepo-test-utils



[![NPM version](https://img.shields.io/npm/v/@liuyong25/monorepo-test-utils.svg?style=flat-square)](https://npmjs.org/package/@liuyong25/monorepo-test-utils)
[![NPM quality](http://npm.packagequality.com/shield/@liuyong25/monorepo-test-utils.svg?style=flat-square)](http://packagequality.com/#?package=@liuyong25/monorepo-test-utils)
[![NPM download](https://img.shields.io/npm/dm/@liuyong25/monorepo-test-utils.svg?style=flat-square)](https://npmjs.org/package/@liuyong25/monorepo-test-utils)

[![Continuous Integration](https://github.com/atian25/@liuyong25/monorepo-test-utils/actions/workflows/nodejs.yml/badge.svg)](https://github.com/atian25/@liuyong25/monorepo-test-utils/actions/workflows/nodejs.yml)
[![Test coverage](https://img.shields.io/codecov/c/github/atian25/@liuyong25/monorepo-test-utils.svg?style=flat-square)](https://codecov.io/gh/atian25/@liuyong25/monorepo-test-utils)

## Usage

```bash
npm i @liuyong25/monorepo-test-utils --save
```
npm package: @liuyoshio/mcp-compass
Description: MCP Discovery & Recommendation Service - Find the right MCP server for your needs
Author: Yoshio Liu
Latest version: 1.0.7

# MCP Compass 🧭

[![Model Context Protocol](https://img.shields.io/badge/Model%20Context%20Protocol-purple)](https://modelcontextprotocol.org)

## MCP Discovery & Recommendation

## What is this? 🤔

MCP Compass is a discovery & recommendation service that helps you explore Model Context Protocol servers. It acts as a smart guide that helps AI assistants find and understand available MCP services out there based on **natural language queries**, making it easier to discover and utilize the right tools for specific tasks.

### Quick Example
<div align="center">
  <img src="assets/demo.png" alt="MCP Compass Demo - Airtable Server Search" width="800"/>
</div>

## Features 🌟

- 🔍 **Smart Search**: Find MCP services using natural language queries
- 📚 **Rich Metadata**: Get detailed information about each service
- 🔄 **Real-time Updates**: Always up-to-date with the latest MCP services [![MCP Servers](https://img.shields.io/badge/MCP-Servers-red?logo=github)](https://github.com/modelcontextprotocol/servers)
- 🤝 **Easy Integration**: Simple to integrate with any MCP-compatible AI assistant

## Quick Start 🚀

### Usage

1. Clone the repository

or 

2. Use `npx`


### Installation

For Claude Desktop, edit your `claude_desktop_config.json` file:

#### MacOS/Linux
``` bash
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
```

#### Windows
``` bash
code $env:AppData\Claude\claude_desktop_config.json
```

1. **As an MCP Service**:

   Add to your AI assistant's MCP configuration to enable service discovery capabilities.


   ``` json
   {
   "mcpServers": {
      "mcp-compass": {
         "command": "node",
         "args": [
            "/path/to/repo/build/index.js"
         ]
      }
   }
   }
   ```



## License 📝

MIT License - See [LICENSE](LICENSE) file for details.

## Support 💬

- 🐛 [Report issues](https://github.com/liuyoshio/mcp-compass/issues)
- 💡 [Feature requests](https://github.com/liuyoshio/mcp-compass/issues)
- 📖 [Documentation](https://github.com/liuyoshio/mcp-compass)