|
Download .github/contribution.md from SaylorTwift/forgecode: direct link, hf CLI and curl.
- Browser
- Download file 2.25 kB
-
https://huggingface.co/SaylorTwift/forgecode/resolve/main/.github/contribution.md
- Command line
-
hf download hf://SaylorTwift/forgecode/.github/contribution.md
-
curl -L -o contribution.md https://huggingface.co/SaylorTwift/forgecode/resolve/main/.github/contribution.md
2.25 kB
| # Code-Forge π οΈ | |
| A sophisticated AI-powered coding assistant platform built in Rust, designed to provide intelligent code generation, manipulation, and analysis capabilities through a modular and extensible architecture. | |
| ## β¨ Features | |
| - π€ **AI-Powered Code Generation** - Advanced code generation and manipulation using modern AI models | |
| - π **Smart Code Analysis** - Language-aware parsing and analysis for multiple programming languages | |
| - π οΈ **Extensive Tool System** - Rich set of development tools including file operations, shell commands, and code outline generation | |
| - πΎ **Persistent Conversations** - Maintain context and history across coding sessions | |
| - π **Secure Operations** - Built-in security measures for file system and shell operations | |
| - π **Extensible Architecture** - Modular design supporting easy addition of new features and languages | |
| ## π Setup | |
| ### Prerequisites | |
| - Rust toolchain (1.75+) | |
| - SQLite | |
| - Tree-sitter (for code analysis) | |
| ### Installation | |
| ```bash | |
| # Build the project | |
| cargo build --release | |
| # Run the server | |
| cargo run --release | |
| ``` | |
| ## ποΈ Project Structure | |
| ``` | |
| code-forge/ | |
| βββ crates/ | |
| β βββ forge_main/ # CLI and main application logic | |
| β βββ forge_domain/ # Core domain models and interfaces | |
| β βββ forge_services/ # HTTP API and database management | |
| β βββ forge_tool/ # Tool implementations | |
| β βββ forge_walker/ # File system operations | |
| ``` | |
| ## π οΈ Core Components | |
| - **Domain Layer** (`forge_domain`) - Core business logic and interfaces | |
| - **Tool Layer** (`forge_tool`) - Development tools implementation | |
| - **Server Layer** (`forge_services`) - API endpoints and persistence | |
| - **Main Application** (`forge_main`) - CLI and application coordination | |
| ## π§ Configuration | |
| The application requires several environment variables for proper operation: | |
| ```bash | |
| # Required environment variables | |
| DATABASE_URL="sqlite:path/to/database.db" | |
| OPENROUTER_API_KEY="your-api-key" | |
| ``` | |
| ## π Documentation | |
| Internal documentation: | |
| - [Onboarding Guide](docs/onboarding.md) | |
| - [Architecture Overview](docs/architecture.md) | |
| ## π Proprietary Software | |
| This is proprietary software. All rights reserved. |