# Project Indexer

A project to index local projects to server.

## Installation

You can install this package globally:

```bash
npm install -g project-indexer
```

Or use it directly with npx:

```bash
npx project-indexer
```

## Usage

### Running in the Terminal

1. Install the package globally:
   ```bash
   npm install -g project-indexer
   ```

2. Install as a service:
   ```bash
   indexer install
   ```

#### Service Management Commands

- Check service status:
  ```bash
  indexer status
  ```

- Start the service:
  ```bash
  indexer start
  ```

- Stop the service:
  ```bash
  indexer stop
  ```

- Uninstall the service:
  ```bash
  indexer uninstall
  ```

### API Endpoints

- `GET /status`: Check indexing status
  - Response:
    ```json
    {
      "indexing": true|false
    }
    ```

## License

ISC
