# Rina CLI - Marketing Companion for Developers

A command-line tool that helps developers understand and market their projects through AI-powered insights and guidance.

## Installation & Setup

```bash
# Install dependencies
npm install

# Link for local development
npm link

# Now you can use rina from anywhere
rina --help
```

## Usage

### Initialize your project
```bash
rina init
```
This will ask you questions about your project and generate a `rina.md` file with your marketing profile.

### Start interactive chat
```bash
rina chat
```
Get personalized marketing guidance through an interactive chat interface.

### Preset commands
```bash
rina insights    # Get marketing insights
rina community   # Community building strategies  
rina seo         # SEO recommendations
rina today       # Daily marketing tasks
```

## Environment Setup

Copy `.env.example` to `.env` and add your API keys:

```bash
cp .env.example .env
```

Add your OpenAI API key to enable AI-powered responses:
```
OPENAI_API_KEY=your_openai_api_key_here
```

## Project Structure

```
src/
├── commands/          # Command handlers
│   ├── init.js       # Project initialization
│   └── chat.js       # Interactive chat mode
├── services/         # Core services
│   ├── fileManager.js    # rina.md file operations
│   └── mockAnalysis.js   # AI-powered analysis
└── utils/
    └── formatter.js      # CLI output formatting
```

## Development

```bash
# Run in development mode
npm run dev

# Run tests
npm test

# Lint code
npm run lint
```