Step-by-step guide for building the Claude Code CLI from the alesha-pro/claude-code repository — leaked Anthropic Claude Code source code.
- Linux (Ubuntu 22.04+) or macOS
- 4GB RAM, 4 CPU cores, 30GB disk
- Bun >= 1.3
- Git
Step-by-step guide for building the Claude Code CLI from the alesha-pro/claude-code repository — leaked Anthropic Claude Code source code.
| load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_binary") | |
| load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") | |
| ########## | |
| # Common # | |
| ########## | |
| proto_library( | |
| name = "project_proto", | |
| srcs = [ | |
| "project.proto", |
| #!/bin/sh | |
| # best-mirror.sh | |
| # | |
| # Domesticaed for FreeBSD by Babak Farrokhi (farrokhi@FreeBSD.org) | |
| # | |
| # This script finds the fastest freebsd-update mirror based on | |
| # data transfer rates from cURL. | |
| # | |
| # Note: I used a static list of mirrors, which is not the best way to |
| package org.keycloak.authentication.authenticators.browser; | |
| import org.keycloak.authentication.AuthenticationFlowContext; | |
| import org.keycloak.models.RoleModel; | |
| import org.keycloak.models.UserModel; | |
| import javax.ws.rs.core.MultivaluedMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.regex.Pattern; |
| #include <stdio.h> | |
| #include <gtk/gtk.h> | |
| void hello(GtkWidget* widget, gpointer data) | |
| { | |
| printf("Hello World!\n"); | |
| } | |
| int main(int argc, char* argv[]) | |
| { |
| #!/usr/bin/env python | |
| """ | |
| Prerequisites: | |
| - keyring ( optional ) | |
| - argh | |
| - beautifulsoup4 | |
| - requests-ntlm | |
| This scripts authenticates you to your SAML provider and writes the |