project-indexer
Version:
Local project indexer with browser trigger support
68 lines (48 loc) • 827 B
Markdown
# 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