open-index/open-npm huggingface dataset:
npm package: @lance0/punt
Description: Share terminal output via punt.sh - quick, colorful, ephemeral
Author: lance0
Latest version: 0.5.1

# @lance0/punt

Share terminal output instantly via [punt.sh](https://punt.sh) - quick, colorful, ephemeral.

## Install

```bash
# npm
npm install -g @lance0/punt

# bun
bun install -g @lance0/punt

# or run without installing
npx @lance0/punt
bunx @lance0/punt
```

## Usage

```bash
# Share a file (auto-detects language from extension)
punt src/index.ts
punt script.py --burn

# Pipe any command output
npm test 2>&1 | punt
docker logs myapp | punt
kubectl describe pod mypod | punt

# Set custom expiry
punt file.ts --ttl 1h    # 1 hour
command | punt --ttl 7d  # 7 days

# Burn after read (auto-delete after first view)
punt secret.txt --burn

# Private paste (requires view key)
echo "secret" | punt --private

# Syntax highlighting (auto-detected for files, manual for pipes)
punt src/index.ts              # Auto-detects TypeScript
cat script.py | punt --lang py # Manual for piped content

# View a paste
punt --show abc123
punt --cat abc123

# Delete a paste
punt --delete abc123 deletekey
```

## Authentication

Sign in with GitHub for extended limits (30 day TTL, 1000 pastes/day):

```bash
punt login     # Sign in with GitHub
punt whoami    # Show current user
punt logout    # Sign out
```

## Features

- **File support** - `punt file.ts` with auto language detection
- **ANSI colors** - Terminal output looks exactly as intended
- **Syntax highlighting** - 66 languages, auto-detected from file extension
- **Flexible expiry** - Default 24h, up to 7 days (30 days if logged in)
- **Burn after read** - Self-destructing pastes for sensitive content
- **Private pastes** - Require view key to access

## Links

- Website: https://punt.sh
- Docs: https://punt.sh/docs
- GitHub: https://github.com/lance0/punt
npm package: @lance2026/ai-git-commit
Description: Generate intelligent git commit messages using AI
Latest version: 1.0.0

# git-commit-ai

基于 AI 的 Git commit message 自动生成工具，支持所有兼容 OpenAI API 格式的服务商（OpenAI、DeepSeek、Azure OpenAI、OpenRouter、Ollama 等）。

## 安装

```bash
npm install -g git-commit-ai
```

## 使用

### 1. 初始化配置

首次使用需要配置 API 信息：

```bash
git-commit-ai init
```

交互式询问：
- **API Base URL**: API 地址（默认 `https://api.openai.com/v1`）
- **API Key**: 必填，你的 API 密钥
- **Model**: 使用的模型（默认 `gpt-4o-mini`）
- **System Message**: 可选，自定义生成提示

### 2. 生成 commit message

```bash
git-commit-ai
# 或短命令
gcai
```

工具会自动：
1. 检测 git 变更（优先使用已暂存的变更）
2. 调用 AI 生成 commit message
3. 让你确认/编辑后提交

### 3. 查看配置

```bash
git-commit-ai config
```

## 命令行选项

| 选项 | 说明 |
|------|------|
| `-e, --edit` | 生成后打开编辑器修改 |
| `-y, --yes` | 跳过确认直接 commit |
| `--auto-stage` | 自动暂存所有变更 |
| `--init` | 初始化配置 |

## 配置文件

配置文件保存在 `~/.git-commit-ai/config.json`：

```json
{
  "baseUrl": "https://api.openai.com/v1",
  "apiKey": "sk-xxx",
  "model": "gpt-4o-mini",
  "systemMessage": "你是一个专业的 Git 提交信息生成助手...",
  "autoStage": false,
  "diffOptions": "--no-color"
}
```

### 使用 DeepSeek

```json
{
  "baseUrl": "https://api.deepseek.com/v1",
  "apiKey": "your-deepseek-api-key",
  "model": "deepseek-chat"
}
```

### 使用 Ollama（本地模型）

```json
{
  "baseUrl": "http://localhost:11434/v1",
  "apiKey": "ollama",
  "model": "llama3"
}
```

## 项目配置

也可以在项目根目录创建 `.git-commit-ai.json` 使用项目专属配置（优先级高于全局配置）。

## License

MIT