# mattn/anko

Scriptable interpreter written in golang

Repository: https://github.com/mattn/anko
Canonical: https://ross.abutalabs.com/products/mattn-anko
Language: Go
License: MIT
License Family: permissive
Topics: go, programming-language
Last push: 2026-07-10T01:32:16+00:00

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

## Adoption (not part of the score)
Stars 1580, forks 134 (observed 2026-08-28T04:05:06.860712+00:00)

## What it is
Anko is a scriptable interpreter written in Go that provides its own JavaScript-like scripting language. It can be embedded in Go applications to run user-defined scripts or used as a standalone command-line interpreter.

## Use cases
- embed a scripting language in my Go application
- let users write custom scripts to extend my Go program
- run dynamic configuration or automation scripts from Go
- evaluate simple expressions or logic at runtime in Go
- execute .ank script files from the command line
- add a lightweight DSL interpreter to my Go service

## When to choose
- you need an embeddable scripting language in a Go application
- you want a simple, Go-like syntax for user scripts
- you need to expose Go functions to a sandboxed script environment

## When to avoid
- you need a mature, widely-adopted scripting language with a large ecosystem
- you need high-performance execution of complex scripts
- you need strict stability guarantees, since the master branch API and language may change

## Facets
- artifact type: library
- maturity: active
- function: interpreter, programming-language
- domain: programming-languages, developer-tools
- platform: go, cross-platform, cli
- tags: scripting-language, embedded-interpreter, golang-library, scripting, automation

## Member repositories
- mattn/anko (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:06.860712+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-30T03:56:37.177703+00:00, confidence not recorded.
  - readme: https://github.com/mattn/anko (fetched 2026-08-28T04:05:06.860712+00:00, sha 8f20ef2851c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
