Skip to content

edengilbertus/claude-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code

A sophisticated CLI application for interacting with Claude AI models and managing development workflows.

Overview

Claude Code is a TypeScript-based command-line interface that provides powerful tools for developers to interact with Claude AI models, manage sessions, handle authentication, and automate various development tasks.

Features

  • AI Integration: Seamless interaction with Claude AI models
  • Session Management: Create, manage, and resume coding sessions
  • Authentication: OAuth and API key management
  • Plugin System: Extensible architecture with plugin support
  • Context Management: Handle project context and suggestions
  • Analytics: GrowthBook integration for feature flagging and analytics
  • Cross-platform: Works on macOS, Linux, and Windows

Installation

# Clone the repository
git clone https://github.com/edengilbertus/claude-code.git
cd claude-code

# Install dependencies
bun install

# Build the project
bun run build

Usage

# Start the CLI
bun run start

# Common commands
claude-code login          # Authenticate with your account
claude-code session        # Manage coding sessions
claude-code plugin         # Manage plugins
claude-code config         # Configure settings

Architecture

The application is built with:

  • TypeScript/React: Core UI and logic
  • Commander.js: CLI argument parsing
  • Ink: React-based CLI components
  • Lodash: Utility functions
  • GrowthBook: Feature flagging and analytics

Key Components

  • main.tsx: Entry point and CLI setup
  • commands/: Command implementations
  • services/: Core services (API, analytics, etc.)
  • tools/: AI tools and integrations
  • utils/: Utility functions and helpers

Development

# Run in development mode
bun run dev

# Run tests
bun test

# Build for production
bun run build

Configuration

Configuration files are stored in ~/.claude/ directory:

  • config.json: Main configuration
  • history.jsonl: Session history
  • plugins/: Plugin configurations

License

MIT License - see LICENSE file for details.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Support

For issues and feature requests, please use the GitHub issue tracker.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors