Skip to main content

Official CLI tool for managing prompts on gitizi.com

Project description

Gitizi CLI (izi)

The official Python command-line interface for gitizi.com - manage your AI prompts like a pro!

Features

  • Authentication - Secure token-based authentication with gitizi.com
  • Search Prompts - Find prompts from the community
  • Create Prompts - Create prompts from markdown files with frontmatter
  • Push Prompts - Upload and update prompts to gitizi.com
  • Clone Prompts - Download existing prompts to edit locally
  • Beautiful Output - Rich terminal experience with tables and colors

Installation

Install from PyPI:

pip install izi

Or install from source:

git clone https://github.com/cpaka/izi-py.git
cd izi-py
pip install -e .

Quick Start

1. Authenticate

izi auth

Or provide token directly:

izi auth --token YOUR_API_TOKEN

Get your API token from: https://gitizi.com/settings/tokens

2. Search for Prompts

izi search "code review"
izi search "typescript" --limit 20

3. Clone an Existing Prompt

izi clone abc123 -o my-prompt.md

4. Create a New Prompt

Create a markdown file with frontmatter:

---
name: My Awesome Prompt
description: A prompt that does amazing things
tags: [coding, typescript, assistant]
---

You are an expert TypeScript developer...

Then validate it:

izi create my-prompt.md

5. Push Your Prompt

izi push my-prompt.md

Update an existing prompt:

izi push my-prompt.md --id abc123

Commands

izi auth [options]

Authenticate with gitizi.com

Options:

  • -t, --token <token> - API token

izi search <query> [options]

Search for prompts on gitizi.com

Arguments:

  • query - Search query

Options:

  • -l, --limit <number> - Limit results (default: 10)

izi create <file> [options]

Create a new prompt from markdown file

Arguments:

  • file - Markdown file path

Options:

  • -n, --name <name> - Prompt name
  • -d, --description <desc> - Prompt description
  • --tags <tags> - Comma-separated tags

izi push <file> [options]

Push a prompt to gitizi.com

Arguments:

  • file - Markdown file path

Options:

  • --id <id> - Prompt ID (for updates)

izi clone <prompt-id> [options]

Clone an existing prompt

Arguments:

  • prompt-id - Prompt ID to clone

Options:

  • -o, --output <path> - Output file path (default: ./prompt.md)

izi list [options]

List your prompts

Options:

  • -l, --limit <number> - Limit results (default: 10)

izi whoami

Show current user

izi logout

Clear stored credentials

izi config <action> [key] [value]

Manage configuration

Actions:

  • get - Get a configuration value
  • set - Set a configuration value
  • list - List all configuration

Prompt Format

Prompts should be markdown files with YAML frontmatter:

---
name: Prompt Name
description: Brief description of what this prompt does
tags: [tag1, tag2, tag3]
---

Your actual prompt content goes here...

Configuration

Configuration is stored in:

  • Linux/Mac: ~/.config/izi/config.json
  • Windows: %APPDATA%\izi\config.json

Development

# Clone the repository
git clone https://github.com/cpaka/izi-py.git
cd izi-py

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black src/

# Type check
mypy src/

Requirements

  • Python 3.8 or higher
  • pip

License

MIT

Support


Made with love by the Gitizi team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

izi-1.0.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

izi-1.0.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file izi-1.0.0.tar.gz.

File metadata

  • Download URL: izi-1.0.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for izi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 816dcc47425a4abc2312d8b55d40a66b37a5e7b295d3d40668a7ea0d2179687c
MD5 aa7e48cef294579338dd495461dffd9b
BLAKE2b-256 1acd9ec145ce83ab987d785639a87b95408b15d1f464deb0b5655ee91f96221d

See more details on using hashes here.

File details

Details for the file izi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: izi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for izi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c25f3e92854df325b147ebc82dcf20608095380bc1636cf7c749c6c4a350763
MD5 2cdc823f60578961f3c4e36bb7de4eb2
BLAKE2b-256 76a738bfe5ca0486fe54d3255b35bcb31a15dcfa110bdb811f40ac0372197518

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page