Skip to main content

AI-powered code security and quality analysis CLI

Project description

JanexAI CLI

AI-powered code security and quality analysis from your terminal.

Installation

pip install janexai

Quick Start

# Scan a public repository
janex scan https://github.com/user/repo

# Or use owner/repo format
janex scan user/repo

# Save report to file
janex scan user/repo -o report.json

Authentication

For private repositories or higher rate limits, authenticate with your API token:

janex login --token YOUR_API_TOKEN

Get your token at janex.ai/settings

Commands

janex scan

Scan a repository for security and quality issues.

janex scan <repo> [OPTIONS]

Arguments:
  repo              GitHub repo URL or owner/repo format

Options:
  -o, --output      Save report to JSON file
  --no-claude       Skip Claude AI analysis (faster)
  -v, --verbose     Verbose output

janex login

Authenticate with your API token.

janex login --token YOUR_TOKEN

janex config

Configure CLI settings.

# Show current config
janex config --show

# Set custom API URL (for self-hosted)
janex config --api-url https://your-server.com

janex version

Show CLI version.

Environment Variables

  • JANEX_API_TOKEN - API token (alternative to janex login)
  • JANEX_API_URL - Custom API URL (for self-hosted instances)

Example Output

╭──────────────── JanexAI ─────────────────╮
│ Scanning repository: vercel/next.js      │
╰──────────────────────────────────────────╯

✓ Repository ingested (2,847 files)
✓ Analysis complete!

        Scores
┏━━━━━━━━━━┳━━━━━━━━┓
┃ Category ┃  Score ┃
┡━━━━━━━━━━╇━━━━━━━━┩
│ Security │ 85/100 │
│ Quality  │ 78/100 │
└──────────┴────────┘

    Security Findings
┏━━━━━━━━━━┳━━━━━━━┓
┃ Severity ┃ Count ┃
┡━━━━━━━━━━╇━━━━━━━┩
│ Medium   │     3 │
│ Low      │    12 │
└──────────┴───────┘

✓ No critical security issues found

╭─────────── Architecture Summary ───────────╮
│ Next.js app with App Router architecture.  │
│ Uses React Server Components with proper   │
│ data fetching patterns...                  │
╰────────────────────────────────────────────╯

License

MIT

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

janexai-0.2.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

janexai-0.2.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file janexai-0.2.0.tar.gz.

File metadata

  • Download URL: janexai-0.2.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for janexai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a9362425948590ff93f082a1ca03982079b5ddc5244587e8dd61148919d6965c
MD5 dea9f1f28c346a6248e125d43a2e5327
BLAKE2b-256 376ea4517bc7fef1edcab5584ef6590338ce69220670d16976e33f14c44455f0

See more details on using hashes here.

File details

Details for the file janexai-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: janexai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for janexai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27fb9e02ab8ef344281c55fbbb625d144a579760b0e600398282adaf3eb52454
MD5 d8c64d73ec4958150e9bef63c1fc04da
BLAKE2b-256 0a5fe86ec330b5ffcb9826e383c96cbb667d4dc00480766632d32349aeda046e

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