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.1.0.tar.gz (6.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.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: janexai-0.1.0.tar.gz
  • Upload date:
  • Size: 6.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.1.0.tar.gz
Algorithm Hash digest
SHA256 e73fa9b0e10f531ee81ed6d081ecc31ed004e7bf982f77c519ed1273eab37150
MD5 bd6a3f3afa66f7d3e591bc5378a2c9ff
BLAKE2b-256 2e89e143d9b40516e5d3fc88cdf63dcf7928e5deed379aa6f4ccea1c080f6750

See more details on using hashes here.

File details

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

File metadata

  • Download URL: janexai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d893c53381e90384a49eadf80fa002f7338a344b0549ddb5fe8a51ebaa1badde
MD5 5d8de47e7bc4dcc254f017db854593e6
BLAKE2b-256 0a9385df486b06dbfbbb6e34ad426c09238f34abd1a1c0e6a687559b763649cc

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