doge-code  by HELPMEEADICE

A highly customizable Claude Code variant for flexible LLM interaction

Created 6 days ago

New!

480 stars

Top 63.8% on SourcePulse

GitHubView on GitHub
Project Summary

A fork of Claude Code, Doge Code addresses the need for a more flexible and self-hostable AI chat interface. It targets developers and power users seeking to customize their Claude Code experience, enabling custom endpoints, proxying, and integration with various models beyond official Anthropic services. The primary benefit is an adaptable, configurable Claude Code variant that decouples from official login flows and supports advanced use cases.

How It Works

Doge Code is built upon a reverse-engineered Claude Code source tree, reconstructed from source maps with missing modules filled in. This fork introduces modifications aimed at enhancing adaptability, particularly for proxying and custom model integration. Key architectural choices include supporting custom Anthropic-compatible API endpoints, implementing a transfer layer for OpenAI Chat Completions to Anthropic Messages conversion, and managing custom API keys and models. Configurations and cache are isolated to the ~/.doge directory to prevent conflicts with the original Claude Code.

Quick Start & Requirements

  • Primary Install/Run: Install dependencies with bun install. Register globally using bun link in the repository root to create the @doge-code/cli package and doge command. Run via bun run dev or the global doge command.
  • Prerequisites: Bun 1.3.5+ or Node.js 24+.
  • Update Workflow: git pull, bun install, bun link.
  • Links: No external quick-start or demo links are provided; development is intended via direct source code usage.

Highlighted Details

  • Supports custom Anthropic-compatible API endpoint configuration.
  • Features an OpenAI Chat Completions <-> Anthropic Messages transfer layer (currently in development).
  • Enables custom API key management and model list customization.
  • Isolates user data (config, cache) to ~/.doge.
  • Includes an interactive "Buddy" pet system with commands like /buddy pet and /buddy mute.

Maintenance & Community

This repository is presented as a personal learning and research project, not an official or community-driven effort. No specific contributors, sponsorships, or community channels (e.g., Discord, Slack) are mentioned.

Licensing & Compatibility

The project is explicitly for personal learning and technical research only and must not be used for commercial or illegal purposes. Original source code copyright belongs to Anthropic. This restrictive licensing prohibits commercial use and may impose limitations on integration with closed-source projects.

Limitations & Caveats

Doge Code is derived from reverse-engineered code and is not an official Claude Code release, incorporating both restoration artifacts and custom modifications. The OpenAI API format transfer functionality is experimental and may exhibit instability, such as incomplete streaming or message mapping errors. The project's non-commercial license restricts its application in business contexts.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
23
Star History
492 stars in the last 6 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Yaowei Zheng Yaowei Zheng(Author of LLaMA-Factory).

AstrBot by AstrBotDevs

2.8%
29k
LLM chatbot/framework for multiple platforms
Created 3 years ago
Updated 19 hours ago
Feedback? Help us improve.