Find a file
Max Sveshnikov 6917bdc0b0 WIP
2025-01-23 09:56:02 +01:00
.github/workflows Update ci-cd.yaml 2024-08-25 15:27:32 +02:00
docs WIP 2025-01-23 09:56:02 +01:00
server WIP 2025-01-16 16:33:12 +01:00
.gitignore Minor 2024-09-04 07:44:18 +02:00
AppStorePublisherAgent.js WIP 2024-09-08 10:06:36 +02:00
AppStorePublisherAgent.md WIP 2024-11-04 20:08:57 +01:00
BusinessAnalystAgent.js WIP 2025-01-22 20:56:17 +01:00
BusinessAnalystAgent.md WIP 2024-11-04 20:08:57 +01:00
codeAnalyzer.js WIP 2025-01-22 21:27:36 +01:00
codeAnalyzer.md WIP 2024-09-11 07:19:21 +02:00
codeGenerator.js WIP 2025-01-22 21:27:36 +01:00
codeGenerator.md WIP 2024-09-11 07:19:21 +02:00
config.js WIP 2024-10-22 20:37:09 +02:00
config.md WIP 2024-08-21 23:11:07 +02:00
copy.cmd Revert "WIP" 2024-10-21 07:26:28 +02:00
deepseek.js WIP 2025-01-22 21:27:36 +01:00
deepseek.md WIP 2025-01-22 21:27:36 +01:00
DevOpsAgent.js WIP 2024-08-30 21:54:17 +02:00
DOCUMENTATION.md Minor 2024-08-29 20:20:54 +02:00
documentationGenerator.js WIP 2025-01-22 21:27:36 +01:00
documentationGenerator.md docs 2024-08-19 21:23:43 +02:00
eslint.config.js Progress 2024-08-17 20:03:54 +02:00
fileManager.js Python and C# support 2024-08-20 09:01:39 +02:00
fileManager.md Actual self-split 2024-08-18 21:20:47 +02:00
image.png WIP 2024-10-16 07:54:26 +02:00
index.js Revert "Revert "Local trial back"" 2024-10-15 22:36:52 +02:00
index.md WIP 2024-08-21 23:11:07 +02:00
InternationalizationAgent.js New agents 2024-09-04 07:38:41 +02:00
InternationalizationAgent.md WIP 2024-11-04 20:08:57 +01:00
LICENSE.md Minor 2024-08-25 19:48:47 +02:00
licenseManager.js Revert "Revert "Local trial back"" 2024-10-15 22:36:52 +02:00
licenseManager.md Token Stats 2024-08-29 16:07:11 +02:00
MarketingAgent.js WIP 2025-01-22 20:56:17 +01:00
model.js WIP 2025-01-22 21:27:36 +01:00
model.md WIP 2025-01-22 21:27:36 +01:00
package-lock.json WIP 2025-01-22 20:56:17 +01:00
package.json WIP 2025-01-22 20:56:17 +01:00
package.md Rebrand 2024-08-21 19:39:40 +02:00
ProductOwnerAgent.js WIP 2025-01-23 09:56:02 +01:00
ProductOwnerAgent.md WIP 2024-11-04 20:08:57 +01:00
ProjectManagerAgent.js Minor 2024-09-07 10:45:29 +02:00
ProjectManagerAgent.md WIP 2024-11-04 20:08:57 +01:00
README.md WIP 2024-11-16 19:17:55 +01:00
TesterAgent.js WIP 2025-01-22 20:56:17 +01:00
TesterAgent.md WIP 2024-11-04 20:08:57 +01:00
userInterface.js WIP 2025-01-22 21:27:36 +01:00
userInterface.md Model selector 2024-11-03 18:02:33 +01:00

AutoCode

AutoCode is an innovative automatic coding tool designed to bootstrap any software project incrementally, transforming README.md instructions into a fully functional software project using Claude 3.5 Sonnet API. AutoCode was bootstrapped by itself from one simple prompt.

AutoCode Logo

Features

  • NodeJS-based console application
  • Automatic code generation based on README.md instructions
  • Utilizes Claude 3.5 Sonnet API for intelligent code generation
  • Incremental project building
  • Creates and modifies source files in the current folder and subfolders
  • Self-updating README.md with new design ideas and considerations
  • Code quality checks and suggestions/auto fixes
  • Automatic dependency management and creation of missing files
  • Adherence to DRY, KISS, and SRP principles
  • Intelligent code analysis and refactoring suggestions
  • Automated documentation generation
  • User-friendly command-line interface
  • Support for multiple programming languages
  • AI-powered agents for specialized tasks
  • Pricing tiers with license management
  • Cross-platform compatibility (Windows, macOS, Linux)
  • Syntax checking and auto-fixing

Installation

No installation is required. AutoCode can be run directly using npx.

Usage

  1. Create CLAUDE_KEY environment variable (get your key here https://console.anthropic.com/settings/keys)
  2. Navigate to your project folder in the terminal.
  3. Run the following command:
npx autocode-ai
  1. Follow the prompts and watch as your project comes to life!

How It Works

AutoCode reads your README.md file and your sources and sends the instructions to the Claude 3.5 Sonnet API. The API interprets the instructions and generates the necessary code structure, files, and content. AutoCode then saves the generated code back to your project directory. It can now generate code for different languages based on the project requirements and applies language-specific linting and formatting.

Requirements

  • Node.js (version 20.0.0 or higher)
  • Claude 3.5 Sonnet API (model: "claude-3-5-sonnet-20241022", max_tokens: 8192)
  • Use async/await, ES6 modules, and fetch (no axios please)

Project Structure

  • codeAnalyzer.js: Analyzes existing code for quality and improvement opportunities
  • codeGenerator.js: Generates new code based on instructions and API responses
  • config.js: Manages configuration settings for the application, including language-specific configs
  • documentationGenerator.js: Automatically generates documentation for the project
  • fileManager.js: Handles file operations and project structure management
  • index.js: Main entry point of the application
  • userInterface.js: Manages user interactions and command-line interface
  • landing.html: Template for generating project landing pages
  • licenseManager.js: Handles license management and validation
  • server/index.js: Express.js backend main point
  • server/license-server.js: Route for license management

Supported Languages

AutoCode currently supports the following programming languages:

  • JavaScript (including TypeScript)
  • Python
  • C#
  • Java
  • Ruby
  • Go
  • Rust
  • PHP
  • Swift
  • Kotlin
  • Dart

Each language has its own configuration for file extensions, recommended linter, formatter, and package manager.

TODO