# pksunkara/alpaca

Given a web API, Generate client libraries in node, php, python, ruby

Repository: https://github.com/pksunkara/alpaca
Canonical: https://ross.abutalabs.com/products/alpaca
Language: Go
License: MPL-2.0
License Family: copyleft
Topics: alpaca, api, client-library, api-client, apis, golang, go
Archived: true
Last push: 2019-12-19T21:31:23+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4811, "days_push": 2449, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2448, forks 82 (observed 2026-08-28T04:06:52.763219+00:00)

## What it is
Alpaca is a Go-based CLI tool that generates client libraries (SDKs) for a web API in multiple languages including Node.js, PHP, Python, and Ruby, along with their documentation. Developers describe their API in a specification format and Alpaca produces publishable packages for each language's package manager.

## Use cases
- generate client libraries for my REST API in multiple languages
- create SDKs for node, php, python and ruby from one API definition
- stop maintaining separate API wrappers for each language
- generate API client code and documentation automatically
- build official API libraries for my website's API

## When to choose
- you maintain a web API and want consistent client libraries across several languages
- you want generated documentation bundled with your API SDKs
- you prefer defining your API in Alpaca's own specification format

## When to avoid
- you need an actively maintained tool - the last release was in 2019
- you want OpenAPI/Swagger-based code generation instead of a custom format
- you need client languages beyond node, php, python, and ruby

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: http-client, sdk, developer-tools
- domain: apis, developer-tools, web-development
- platform: windows, bsd, go, cli
- tags: client-library-generator, multi-language, api-sdk, code-generation, linux, macos

## Member repositories
- pksunkara/alpaca (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:52.763219+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:30:29.532329+00:00, confidence not recorded.
  - readme: https://github.com/pksunkara/alpaca (fetched 2026-08-28T04:06:52.763219+00:00, sha b72a2ab2acb5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
