Skip to main content

Project scaffolding tool

Project description

Scaffold-AI

Scaffold-AI is a powerful CLI tool that leverages AI to generate new project scaffolds quickly and efficiently. Powered by the OpenAI API, it allows you to create projects with customizable templates, supporting both Vite and vanilla setups.

Features

  • AI-powered scaffolding: Generate project structures using advanced AI models.
  • Flexible model selection: Choose your preferred OpenAI model for generation.
  • Multiple templates: Scaffold projects with Vite or vanilla code.
  • Standalone operation: Functions independently through the command line without requiring specific editors or plugins.

Getting Started

Prerequisites

  • Python installed on your system
  • An OpenAI API key

Installation & Usage

Option 1: Install as a package (recommended)

Install Scaffold-AI globally using pip:

pip install scaffold-ai

Set your OpenAI API key and run the CLI:

export OPENAI_API_KEY=<api_key> && scaffold-ai

Follow the prompts to scaffold your new project.

Option 2: Build and run from source

Clone the repository and navigate to the project directory:

git clone https://github.com/vjtvalero/scaffold-ai.git
cd scaffold-ai

It is recommended to use a virtual environment for dependency management. You can use either uv or Python's built-in venv:

Using uv:

uv venv
source .venv/bin/activate

Or using venv:

python -m venv .venv
source .venv/bin/activate

Install the required Python packages:

pip install -r requirements.txt

or if you used uv:

uv add -r requirements.txt

Set your OpenAI API key and run the CLI:

export OPENAI_API_KEY=<api_key> && py main.py

Follow the prompts to scaffold your new project.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scaffold_ai-0.1.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scaffold_ai-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file scaffold_ai-0.1.4.tar.gz.

File metadata

  • Download URL: scaffold_ai-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for scaffold_ai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f16bdbbc7107febbf0cda8ebb4786e5b4f05232bc81cff68341cfae88c637a7f
MD5 124b3fd877ffa0bdcacded5fd803169f
BLAKE2b-256 99b2f97353d171581f975671c6d45e340ff0b3d2e62fd01e0f2e078ac44ff323

See more details on using hashes here.

File details

Details for the file scaffold_ai-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for scaffold_ai-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 32994225a22335e5f40a6a24bbddd319bce2e80a96283820acf57f2760a00cf4
MD5 4bd211596bb1ff047ecddd67812fb84d
BLAKE2b-256 dc50b14d098ccb48f865a8f941c81d09a414cb041d40b8e94e7a53604c340310

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page